Closed dariogriffo closed 1 day ago
Pinging code owners:
exporter/datadog: @mx-psi @dineshg13 @liustanley @songy23 @mackjmr @ankitpatel96
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Hey @dariogriffo, did you set resource_attributes_as_tags
(https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/datadogexporter/examples/collector.yaml#L260-L267) to true ?
Resolved with the comment by @mackjmr
Component(s)
exporter/datadog
What happened?
Description
When exporting metrics from a .net API to datadog via the collector, custom resource attributes, are not visible in datadog
Steps to Reproduce
Use the following code to export
Resource of the attributes are present in the collector (attached image with environment and team.name attributes
Expected Result
The 2 custom attributes set at resource level appear in datadog
Actual Result
The custom attributes won't appear in datadog. The metrics with service and version attributes appear
Collector version
0.114.0
Environment information
Environment
OS: (e.g., "Docker via debian bookworm")
OpenTelemetry Collector configuration
Log output
Additional context
No response