-
Notifications
You must be signed in to change notification settings - Fork 7
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
Using resource attributes as tags in the dimensions #156
Comments
Where does this actually take effect? I've traced to this repo, where it's set as:
That sets
So how does it have any effect? |
It looks like the work is really done by https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/pkg/resourcetotelemetry via so the code in this repo for |
Datadog does have docs on these mappings, albeit outdated and incomplete:
They aren't easily found though, they're only linked in a "see also" down the bottom of a few of the other otel exporter articles. They're not linked in any of the tagging docs like:
so it's hard to figure out how the datadog exporter for the opentelemetry collector maps the attribute There is a mapping in this repo at https://github.com/DataDog/opentelemetry-mapping-go/tree/main/pkg/otlp/attributes/attributes.go ; it has a bunch of mappings not covered in the above docs, but that's where it's done. |
The particular config is removed in #219. |
Summary
The metric translator has the option to use ResourceAttributesAsTags, but it is not using that option at all when converting metrics. Is that expected?
If it is a bug, would you be open to a PR?
The text was updated successfully, but these errors were encountered: