Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[exporter/datadog]: improve mappings for span kind dd span type #3368

Merged

Conversation

ericmustin
Copy link
Contributor

Description:

This PR Adds some additional mappings between opentelemetry span kind and datadog span type, that allow users to see more specialized UIs and representation of traces properly marked db or cache whereas previously they were all custom

Link to tracking Issue:

Testing: updated unit tests

Documentation:

@ericmustin ericmustin requested a review from mx-psi as a code owner May 11, 2021 08:59
@ericmustin ericmustin requested a review from a team May 11, 2021 08:59
@mx-psi mx-psi self-assigned this May 11, 2021
@ericmustin
Copy link
Contributor Author

not sure what's going on w/the failing build, failing tests look unrelated

exporter/datadogexporter/translate_traces.go Outdated Show resolved Hide resolved
kindWeb string = "web"
kindCustom string = "custom"
kindCache string = "cache"
kindMemcached string = "memcached"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exporter/datadogexporter/translate_traces_test.go Outdated Show resolved Hide resolved
@ericmustin ericmustin requested a review from mx-psi May 12, 2021 13:54
@bogdandrutu bogdandrutu merged commit 3ea9f85 into open-telemetry:main May 12, 2021
@mx-psi mx-psi deleted the datadog_update_span_type_mapping branch May 12, 2021 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants