-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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]: Add container tags to attributes package #6086
[exporter/datadog]: Add container tags to attributes package #6086
Conversation
f938986
to
1d99888
Compare
1d99888
to
a9f3878
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR, and thanks for adding the test, this is great! I left a few comments.
exporter/datadogexporter/internal/attributes/attributes_test.go
Outdated
Show resolved
Hide resolved
…elemetry-collector-contrib into datadog_add_container_tags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Much less code! Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mackjmr you need to fix the lint
issues. Running make fmt
should work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do! |
Description:
This PR moves the logic for mapping Otel conventions to Datadog conventions for tag _dd.tags.container in the attributes package and adds a more extensive list of container attributes to be mapped.
Link to tracking Issue:
Testing:
Added a couple unit tests.
Documentation: