Library instrumentation stays as Datadog in operation name (or Primary Operation). #30812
Labels
bug
Something isn't working
data:traces
Trace related issues
exporter/datadog
Datadog components
needs triage
New item requiring triage
receiver/datadog
Component(s)
exporter/datadog, receiver/datadog
What happened?
Description
Traces receiver comes with InstrumentationScope Datadog 4.20.0 causing that datadog exporter create traces with Datadog instead of original library (like express, http, netty, etc). This change causes that backend recognize as original operation name.
And this happen in datadog traces view:
Metrics created in datadog are called with Datadog.server too
** span_name_as_resource_name on the exporter side seems to fix this behaviour on the traces, but metrics generated (like trace.express.request.hits) stay with the name trace.Datadog.server.hits, which is wrong.
Steps to Reproduce
Instrument app with datadog sdk and otlp collector with datadog receiver, any export to datadog will cause this
Expected Result
Instrumentation Scope should be the same as origin and not one created by datadog receiver or a config to keep the same behaviour of traces.span_name_as_resource_name in metrics.
Actual Result
Collector version
0.93.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: