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
fix(otel): add /v1/logs endpoint to OTEL_EXPORTER_OTLP_ENDPOINT (#14791)
## Description
Fixes the OpenTelemetry logs endpoint configuration when
`OTEL_EXPORTER_OTLP_ENDPOINT` is used. Previously, log payloads could be
sent without the required `/v1/logs` path, causing the Agent to drop
them. The fix ensures the logs-specific endpoint with the correct path
is always used.
## Testing
Existing tests in `tests/opentelemetry/test_logs.py` verify endpoint
configuration scenarios and proper path handling.
## Risks
Low risk. Bug fix that only affects OpenTelemetry logs endpoint
configuration. Metrics and traces are unaffected.
## Additional Notes
None
---------
Co-authored-by: Zach Montoya <[email protected]>
fix(otel): Ensures the /v1/logs path is correctly added to prevent log payloads from being dropped by the Agent when using OTEL_EXPORTER_OTLP_ENDPOINT configuration. Metrics and traces are unaffected.
0 commit comments