Repository navigation
Conversation
BenchmarksBenchmark execution time: 2026-09-11 20:46:53 Comparing candidate commit 87a3869 in PR branch Found 0 performance improvements and 1 performance regressions! Performance is the same for 70 metrics, 1 unstable metrics, 66 known flaky benchmarks, 60 flaky benchmarks without significant changes.
|
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (9002) and master. ✅ No regressions detected |
b2caa13 to
d0cd8d9
Compare
## Summary Aligns .NET OTLP trace metrics with the cross-tracer contract in DataDog/system-tests#7466. - Emits OTLP metric attributes independently of `DD_TRACE_OTEL_SEMANTICS_ENABLED` while retaining that setting for its other consumers. - Emits core SMC attributes first in the order `service.name`, `status.code`, `span.kind`, and `span.name`; unknown span kinds default to `SPAN_KIND_INTERNAL`. - Always emits `datadog.operation.name`, emits known trace-root and top-level values as booleans, and emits `datadog.svc_src` when present. Process and peer-tag arrays remain intentionally deferred to #9002. ## Validation - Focused `OtlpSpanStatsSerializerTests`: 59 passed - Production and test `dotnet format --verify-no-changes`: passed - `Datadog.Trace.csproj -f netstandard2.0 --no-restore`: passed with no warnings or errors - `git diff --check`: passed
5444ae8 to
d2c36d2
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d2c36d2512
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
With this change, the following tests pass (link): Although this PR adds support for serializing peer tags in OTLP, the value is not set in the aggregator. The corresponding system test continues to fail. This is expected. |
andrewlock
left a comment
There was a problem hiding this comment.
I think fundamentally the design here is not sound. We're doing huge allocations to try to decode utf8 byte arrays, but given we have access to those sources further up the pipeline, we should be looking at how we can expose these values instead
This reverts commit dda45fb.
bouwkast
left a comment
There was a problem hiding this comment.
I think these are all @DataDog/apm-sdk-capabilities-dotnet files so they should have their ownership adjusted.
There was a problem hiding this comment.
This file should be owned by @DataDog/apm-sdk-capabilities-dotnet
There was a problem hiding this comment.
This file should be owned by @DataDog/apm-sdk-capabilities-dotnet
There was a problem hiding this comment.
This file should be owned by @DataDog/apm-sdk-capabilities-dotnet
Summary
datadog.process_tagsas a resource string arraydatadog.peer_tagsas a data-point string arrayThis keeps optional tag serialization separate from the core OTLP trace metrics implementation in #8992.
Test plan
OtlpSpanStatsSerializerTestspass on .NET 10