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

Remove call to metrics.WithResourceAttributesAsTags() #29770

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

mackjmr
Copy link
Member

@mackjmr mackjmr commented Dec 12, 2023

Description:
Removes call to metrics.WithResourceAttributesAsTags() which is a no-op. This option is picked up here: https://github.com/DataDog/datadog-agent/blob/main/comp/otelcol/otlp/internal/serializerexporter/factory.go#L60.

This option will been removed from pkg/otlp/metrics in this PR: DataDog/opentelemetry-mapping-go#219

Link to tracking Issue:
Closes #29702

Testing:

Documentation:

Removes call to `metrics.WithResourceAttributesAsTags()` which is a no-op. This option is picked up here: https://github.com/DataDog/datadog-agent/blob/main/comp/otelcol/otlp/internal/serializerexporter/factory.go#L60.

This option will been removed from `pkg/otlp/metrics` in this PR: DataDog/opentelemetry-mapping-go#219

This was flagged here: open-telemetry#29702
@mackjmr mackjmr requested review from mx-psi, songy23 and a team as code owners December 12, 2023 13:15
@github-actions github-actions bot added the exporter/datadog Datadog components label Dec 12, 2023
@mx-psi mx-psi added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Dec 12, 2023
@mx-psi mx-psi merged commit 78ab093 into open-telemetry:main Dec 12, 2023
88 of 89 checks passed
@github-actions github-actions bot added this to the next release milestone Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/datadog Datadog components Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

datadog: document resource_attributes_as_tags behaviour and tag mapping, link to docs for actual mappings
3 participants