Merged
Conversation
8d540d4 to
c72f21d
Compare
e48725d to
0bd7ee3
Compare
d7d8b75 to
98d1b8e
Compare
4cfcaac to
17c3a2a
Compare
17c3a2a to
b788439
Compare
mabdinur
commented
Dec 15, 2025
Contributor
Author
|
Shared tests covering edge cases: DataDog/system-tests#5863 |
be7a87d to
d90aad7
Compare
paullegranddc
approved these changes
Jan 13, 2026
bc088c7 to
9da527e
Compare
7ecdb1a to
06ddd45
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds OpenTelemetry Metrics SDK support with OTLP transport to
datadog-opentelemetry. Metrics can be exported via gRPC (default) or HTTP/protobuf, enabling Rust applications to export OpenTelemetry metrics to Datadog using the standard OpenTelemetry Metrics API.Key Features
ConfigBuilder, includingset_otel_resource_attributes()OTEL_RESOURCE_ATTRIBUTESenvironment variableMotivation
Enables Rust applications to export OpenTelemetry metrics to Datadog using the standard OpenTelemetry Metrics API, aligning with support in other languages and providing a consistent observability experience across the Datadog ecosystem.
Additional Notes
DD_METRICS_OTEL_ENABLED=trueFeature gating:
cargo add datadog-opentelemetry→ gRPC transportcargo add datadog-opentelemetry --no-default-features --features metrics-http→ HTTP/protobuf without gRPC dependenciescargo add datadog-opentelemetry --features metrics-grpc,metrics-http→ enables both protocolsTesting: