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
## 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.
(cherry picked from commit c426d0f)
0 commit comments