You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backport c426d0f from #14984 to 3.17.
## Description
Prevents OpenTelemetry OTLP exporters from being traced by ddtrace to
avoid circular instrumentation.
## Problem
When OpenTelemetry metrics/logs exporters send data, ddtrace was
instrumenting these internal connections, creating unwanted spans and
potential circular tracing issues.
## Solution
- Skip tracing gRPC channels with OpenTelemetry OTLP exporter user
agents
- Skip tracing HTTP requests from OpenTelemetry OTLP exporters
- Added detection logic for both gRPC metadata and HTTP headers
## Testing
Added tests verifying that OpenTelemetry exporters don't generate spans
when `DD_LOGS_OTEL_ENABLED` is enabled.
## Risks
Low - only affects OpenTelemetry integration when enabled.
Co-authored-by: Munir Abdinur <[email protected]>
0 commit comments