Skip to content

Conversation

mabdinur
Copy link
Contributor

@mabdinur mabdinur commented Oct 9, 2025

Description

Ensures ddtrace supports OTEL_{LOGS,METRICS}_EXPORTER=otlp, this should enable otlp logs support.
Also ensures the correct otel metrics is sent for this config, env hiding for when DD_{LOGS,METRICS}_OTEL_ENABLED is set, and sending env invalid for invalid values (ex: xray).

Testing

Adds unit tests

Risks

None

Additional Notes

Copy link
Contributor

github-actions bot commented Oct 9, 2025

CODEOWNERS have been resolved as:

ddtrace/internal/telemetry/__init__.py                                  @DataDog/apm-python
ddtrace/settings/_config.py                                             @DataDog/apm-core-python
tests/opentelemetry/test_config.py                                      @DataDog/apm-sdk-capabilities-python

@mabdinur mabdinur changed the title Munir/otel logs fix telemetry metrics chore(otel): adds support for enabling otel logs and metrics collection via OTEL_LOGS_EXPORTER Oct 9, 2025
Copy link
Contributor

github-actions bot commented Oct 9, 2025

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant