-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[exporter/datadog]: update resource naming and span naming (#1861)
This PR improves datadog trace translation in a few areas 1. Datadog Resource naming has improved to add more rich names for messaging spans (such a google pub sub) and grpc spans. GRPC spans will have resources sorted by `grpc.path` if possible, or `<rpc.method> <rpc.service>`, and messaging spans will have resources sorted by `<messaging.operation> <messaging.destination>`. 2. Datadog span operation names will be shortened to only display `<instrumentation_library.name>.<span_kind>`. previously they were `<instrumentation_library.name>.span_kind_<span_kind>`, which was not helpful extra info and was not displayed well in UI. 3. Datadog span operation names will coerce `-` to `_`. Previously the `-` was being coerced to `_` in some places in UI but not others, leading to an unusual experience, so just forcing it to `_` regardless will resolve this issue. **Testing:** Updated Unit Tests
- Loading branch information
1 parent
4ddaf62
commit 0e17f0e
Showing
3 changed files
with
166 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters