From ad9a9a00a7c79241bee562e3eafe2e9fd47a1637 Mon Sep 17 00:00:00 2001 From: Anna Date: Wed, 21 Oct 2026 17:13:18 +0200 Subject: [PATCH 01/17] [OTLP] Export the tracer's sampling decision in OTLP traces Emit _sampling_priority_v1, _dd.p.* trace tags and _dd.*_psr rates on OTLP spans with the same placement rules as the MessagePack formatter, and set the span sampled flag from the trace chunk's sampling priority. Co-Authored-By: Claude Opus 5.5 --- .../Datadog.Trace/OpenTelemetry/OtlpMapper.cs | 134 +++++++++++++++++- .../Traces/OtlpTracesJsonSerializer.cs | 3 +- .../Traces/OtlpTracesProtobufSerializer.cs | 5 +- .../OpenTelemetry/OtlpMapperTests.cs | 102 +++++++++++++ .../Traces/OtlpTracesJsonSerializerTests.cs | 24 ++++ .../OtlpTracesProtobufSerializerTests.cs | 33 +++++ 6 files changed, 291 insertions(+), 10 deletions(-) diff --git a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs index f39918290d56..c9af7f86017f 100644 --- a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs +++ b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs @@ -13,6 +13,7 @@ using Datadog.Trace.FeatureFlags; using Datadog.Trace.OpenTelemetry.Common; using Datadog.Trace.Processors; +using Datadog.Trace.Sampling; using Datadog.Trace.Tagging; using Datadog.Trace.Telemetry.Metrics; using Datadog.Trace.Vendors.Datadog.Sketches; @@ -237,6 +238,59 @@ public static int EmitAttributesFromSpan(in SpanModel spanModel, int lim } } + ITagProcessor[]? tagProcessors = null; + if (spanModel.Span.Context.TraceContext?.Tracer is Tracer tracer) + { + tagProcessors = tracer.TracerManager?.TagProcessors; + } + + // Sampling decision attributes (same tags and placement as the MessagePack path) let the Agent + // honor the tracer's decision instead of applying its own OTLP sampler. They are written before + // span tags so customer tags are dropped first when the attribute limit is reached. + if (spanModel.TraceChunk.Tags is { Count: > 0 } traceTags && + (spanModel.IsFirstSpanInChunk || spanModel.IsLocalRoot)) + { + var traceTagWriter = new TraceTagWriter(state, writeKeyValue, tagProcessors, spanModel.IsLocalRoot, spanModel.IsFirstSpanInChunk, count, limit); + traceTags.Enumerate(ref traceTagWriter); + count = traceTagWriter.Count; + droppedAttributesCount += traceTagWriter.DroppedCount; + state = traceTagWriter.State; + } + + if (spanModel.IsLocalRoot) + { + // add agent or rule sampling rate + if (spanModel.TraceChunk is { AppliedSamplingRate: { } samplingRate, SamplingMechanism: { } samplingMechanism }) + { + var samplingRateTagName = samplingMechanism switch + { + SamplingMechanism.AgentRate => Trace.Metrics.SamplingAgentDecision, // "_dd.agent_psr" + SamplingMechanism.LocalTraceSamplingRule => Trace.Metrics.SamplingRuleDecision, // "_dd.rule_psr" + SamplingMechanism.RemoteAdaptiveSamplingRule => Trace.Metrics.SamplingRuleDecision, // "_dd.rule_psr" + SamplingMechanism.RemoteUserSamplingRule => Trace.Metrics.SamplingRuleDecision, // "_dd.rule_psr" + _ => null + }; + + if (samplingRateTagName is not null) + { + WriteAttribute(ref state, writeKeyValue, new KeyValue(samplingRateTagName, samplingRate), limit, ref count, ref droppedAttributesCount); + } + } + + // add rate limiter rate + if (spanModel.TraceChunk.RateLimiterRate is { } limitSamplingRate) + { + WriteAttribute(ref state, writeKeyValue, new KeyValue(Trace.Metrics.SamplingLimitDecision, limitSamplingRate), limit, ref count, ref droppedAttributesCount); + } + } + + // add "_sampling_priority_v1" to all "chunk orphans" (spans whose parents are not found in the same chunk). + // Written as a double, like the MessagePack metric and other tracers' OTLP export. + if (spanModel is { IsChunkOrphan: true, TraceChunk.SamplingPriority: { } samplingPriority }) + { + WriteAttribute(ref state, writeKeyValue, new KeyValue(Trace.Metrics.SamplingPriority, (double)samplingPriority), limit, ref count, ref droppedAttributesCount); + } + // Notes for later: // - Do we actually need to add _dd.base_service tag even though the OTLP span shares the same service name? @@ -247,12 +301,6 @@ public static int EmitAttributesFromSpan(in SpanModel spanModel, int lim // AAS tags need to be set on any span for the backend to properly handle the billing. // Write span tags - ITagProcessor[]? tagProcessors = null; - if (spanModel.Span.Context.TraceContext?.Tracer is Tracer tracer) - { - tagProcessors = tracer.TracerManager?.TagProcessors; - } - var tagWriter = new TagWriter(state, writeKeyValue, tagProcessors, count, limit, openTelemetrySemanticsEnabled); spanModel.Span.Tags.EnumerateTags(ref tagWriter, openTelemetrySemanticsEnabled); count = tagWriter.Count; @@ -270,12 +318,84 @@ public static int EmitAttributesFromSpan(in SpanModel spanModel, int lim // if (model.IsLocalRoot) // add the "apm.enabled" tag with a value of 0 // if (Security.Instance.AppsecEnabled && model.IsLocalRoot && span.Context.TraceContext?.WafExecuted is true) - // add "_sampling_priority_v1" tag to all "chunk orphans" // add "_dd.top_level" to top-level spans (aka service-entry spans) return droppedAttributesCount; } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + private static void WriteAttribute(ref TState state, KeyValueWriter writeKeyValue, KeyValue keyValue, int limit, ref int count, ref int droppedCount) + { + if (count < limit) + { + writeKeyValue(ref state, keyValue); + count++; + } + else + { + droppedCount++; + } + } + + internal struct TraceTagWriter : TraceTagCollection.ITagEnumerator + { + private readonly KeyValueWriter _writeKeyValue; + private readonly ITagProcessor[]? _tagProcessors; + private readonly bool _isLocalRoot; + private readonly bool _isFirstSpanInChunk; + private readonly int _limit; + + public TState State; + public int Count; + public int DroppedCount; + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal TraceTagWriter(TState state, KeyValueWriter writeKeyValue, ITagProcessor[]? tagProcessors, bool isLocalRoot, bool isFirstSpanInChunk, int count, int limit) + { + State = state; + _writeKeyValue = writeKeyValue; + _tagProcessors = tagProcessors; + _isLocalRoot = isLocalRoot; + _isFirstSpanInChunk = isFirstSpanInChunk; + _limit = limit; + + Count = count; + DroppedCount = 0; + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public void Next(KeyValuePair item) + { + var isPropagatedTag = item.Key.StartsWith(TagPropagation.PropagatedTagPrefix, StringComparison.Ordinal); + + // add propagated trace tags to the first span in every chunk, + // add non-propagated trace tags to the root span + if ((isPropagatedTag && _isFirstSpanInChunk) || (!isPropagatedTag && _isLocalRoot)) + { + if (Count < _limit) + { + var key = item.Key; + var value = item.Value; + + if (_tagProcessors is not null) + { + for (var i = 0; i < _tagProcessors.Length; i++) + { + _tagProcessors[i]?.ProcessMeta(ref key, ref value); + } + } + + _writeKeyValue(ref State, new KeyValue(key, value)); + Count++; + } + else + { + DroppedCount++; + } + } + } + } + internal struct TagWriter : IItemProcessor, IItemProcessor, IItemProcessor, IItemProcessor { private readonly KeyValueWriter _writeKeyValue; diff --git a/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesJsonSerializer.cs b/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesJsonSerializer.cs index 250f01e5f0c7..1cd14d689105 100644 --- a/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesJsonSerializer.cs +++ b/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesJsonSerializer.cs @@ -489,7 +489,8 @@ static Action WriteKeyValue(JsonTextWriter writer) } // flags (optional) - if (spanModel.Span.Context.SamplingPriority is int samplingPriority) + // Local spans carry the sampling decision on the trace chunk, not on their own context. + if ((spanModel.TraceChunk.SamplingPriority ?? spanModel.Span.Context.SamplingPriority) is int samplingPriority) { writer.WritePropertyName("flags"); writer.WriteValue(SamplingPriorityValues.IsKeep(samplingPriority) ? 1 : 0); diff --git a/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesProtobufSerializer.cs b/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesProtobufSerializer.cs index 2f00af08f42c..830482b24a3d 100644 --- a/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesProtobufSerializer.cs +++ b/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesProtobufSerializer.cs @@ -555,8 +555,9 @@ private int WriteSpan(byte[] bytes, int writePosition, in SpanModel spanModel, s writePosition = WriteSpanStatus(bytes, writePosition, statusCode.Value, spanModel.Span.GetTag(Tags.ErrorMsg)); } - // flags (field 16, fixed32) — only when sampling priority is known - if (spanModel.Span.Context.SamplingPriority is int samplingPriority) + // flags (field 16, fixed32) — only when sampling priority is known. + // Local spans carry the sampling decision on the trace chunk, not on their own context. + if ((spanModel.TraceChunk.SamplingPriority ?? spanModel.Span.Context.SamplingPriority) is int samplingPriority) { // Bit 0: trace flag for "sampled" (set when priority keeps the trace) uint flags = SamplingPriorityValues.IsKeep(samplingPriority) ? 1u : 0u; diff --git a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs index cf647f40cc40..44987a4294b2 100644 --- a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs +++ b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs @@ -466,6 +466,108 @@ public async Task EmitAttributesFromSpan_ReservesEnrichmentSlots_WhenSpanTagsExc dropped.Should().BeGreaterOrEqualTo(5, "the five customer tags all spill once the three enrichment slots are taken"); } + [Theory] + [InlineData(SamplingPriorityValues.AutoKeep, SamplingMechanism.AgentRate, Trace.Metrics.SamplingAgentDecision)] + [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.LocalTraceSamplingRule, Trace.Metrics.SamplingRuleDecision)] + [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.RemoteUserSamplingRule, Trace.Metrics.SamplingRuleDecision)] + [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.RemoteAdaptiveSamplingRule, Trace.Metrics.SamplingRuleDecision)] + [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.Manual, null)] + public void EmitAttributesFromSpan_EmitsSamplingDecision_OnLocalRoot(int samplingPriority, string mechanism, string? expectedRateKey) + { + var span = CreateSpan(); + span.Context.TraceContext.SetSamplingPriority(samplingPriority, mechanism, rate: 0.5, limiterRate: 0.75f); + + var spanModel = new TraceChunkModel(new SpanCollection([span])).GetSpanModel(0); + spanModel.IsLocalRoot.Should().BeTrue(); + + var attributes = new List(); + OtlpMapper.EmitAttributesFromSpan(kv => attributes.Add(kv), spanModel, limit: 128); + + attributes.Should().ContainSingle(kv => kv.Key == Trace.Metrics.SamplingPriority).Which.Value.Should().Be((double)samplingPriority); + attributes.Should().ContainSingle(kv => kv.Key == Tags.Propagated.DecisionMaker).Which.Value.Should().Be(mechanism); + attributes.Should().ContainSingle(kv => kv.Key == Trace.Metrics.SamplingLimitDecision).Which.Value.Should().Be(0.75); + + if (expectedRateKey is null) + { + attributes.Should().NotContain(kv => kv.Key == Trace.Metrics.SamplingAgentDecision || kv.Key == Trace.Metrics.SamplingRuleDecision); + attributes.Should().NotContain(kv => kv.Key == Tags.Propagated.KnuthSamplingRate); + } + else + { + attributes.Should().ContainSingle(kv => kv.Key == expectedRateKey).Which.Value.Should().Be(0.5); + attributes.Should().ContainSingle(kv => kv.Key == Tags.Propagated.KnuthSamplingRate).Which.Value.Should().Be("0.5"); + } + } + + [Fact] + public void EmitAttributesFromSpan_OmitsSamplingDecision_WhenNoDecision() + { + var span = CreateSpan(); + var spanModel = new TraceChunkModel(new SpanCollection([span])).GetSpanModel(0); + + var attributes = new List(); + OtlpMapper.EmitAttributesFromSpan(kv => attributes.Add(kv), spanModel, limit: 128); + + attributes.Should().NotContain(kv => kv.Key == Trace.Metrics.SamplingPriority || kv.Key == Tags.Propagated.DecisionMaker); + } + + [Theory] + [CombinatorialData] + public void EmitAttributesFromSpan_PlacesTraceTagsLikeMessagePackFormatter(bool childIsFirstInChunk) + { + var root = CreateSpan(); + var traceContext = root.Context.TraceContext; + var child = new Span(new SpanContext(root.Context, traceContext, serviceName: null), DateTimeOffset.UtcNow); + traceContext.SetSamplingPriority(SamplingPriorityValues.UserKeep, SamplingMechanism.RemoteAdaptiveSamplingRule, rate: 0.1); + traceContext.Tags.SetTag("_dd.non_propagated", "value"); + + Span[] spans = childIsFirstInChunk ? [child, root] : [root, child]; + var chunk = new TraceChunkModel(new SpanCollection(spans)); + var rootModel = chunk.GetSpanModel(childIsFirstInChunk ? 1 : 0); + var childModel = chunk.GetSpanModel(childIsFirstInChunk ? 0 : 1); + childModel.IsChunkOrphan.Should().BeFalse(); + + var rootAttributes = new List(); + OtlpMapper.EmitAttributesFromSpan(kv => rootAttributes.Add(kv), rootModel, limit: 128); + var childAttributes = new List(); + OtlpMapper.EmitAttributesFromSpan(kv => childAttributes.Add(kv), childModel, limit: 128); + + // local root: priority, sampling rates and non-propagated trace tags + rootAttributes.Should().Contain(kv => kv.Key == Trace.Metrics.SamplingPriority); + rootAttributes.Should().Contain(kv => kv.Key == Trace.Metrics.SamplingRuleDecision); + rootAttributes.Should().Contain(kv => kv.Key == "_dd.non_propagated"); + childAttributes.Should().NotContain(kv => kv.Key == Trace.Metrics.SamplingPriority || kv.Key == Trace.Metrics.SamplingRuleDecision || kv.Key == "_dd.non_propagated"); + + // first span in chunk: propagated ("_dd.p.*") trace tags + var first = childIsFirstInChunk ? childAttributes : rootAttributes; + var other = childIsFirstInChunk ? rootAttributes : childAttributes; + first.Should().ContainSingle(kv => kv.Key == Tags.Propagated.DecisionMaker).Which.Value.Should().Be(SamplingMechanism.RemoteAdaptiveSamplingRule); + other.Should().NotContain(kv => kv.Key == Tags.Propagated.DecisionMaker); + } + + [Fact] + public void EmitAttributesFromSpan_SamplingDecisionIsWrittenBeforeSpanTags() + { + // OTel semantics skips the service/operation/etc. block, so the sampling attributes are emitted first + // and are not the ones dropped when the attribute limit is reached. + var span = CreateSpan(openTelemetrySemanticsEnabled: true); + span.SetTag("customer.tag", "v"); + span.Context.TraceContext.SetSamplingPriority(SamplingPriorityValues.UserKeep, SamplingMechanism.Manual); + var spanModel = new TraceChunkModel(new SpanCollection([span])).GetSpanModel(0); + + // exactly enough slots for the trace tags and "_sampling_priority_v1": the span tag must spill. + var limit = spanModel.TraceChunk.Tags!.Count + 1; + + var attributes = new List(); + var dropped = OtlpMapper.EmitAttributesFromSpan(kv => attributes.Add(kv), spanModel, limit); + + attributes.Should().HaveCount(limit); + attributes.Should().Contain(kv => kv.Key == Tags.Propagated.DecisionMaker); + attributes.Should().Contain(kv => kv.Key == Trace.Metrics.SamplingPriority); + attributes.Should().NotContain(kv => kv.Key == "customer.tag"); + dropped.Should().BeGreaterOrEqualTo(1); + } + private static Span CreateSpan(string? origin = null, bool openTelemetrySemanticsEnabled = false) { var traceContext = new TraceContext(new StubDatadogTracer()); diff --git a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs index 5a90a51b7e9d..0bfe1e165539 100644 --- a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs +++ b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs @@ -10,6 +10,7 @@ using Datadog.Trace.Configuration; using Datadog.Trace.ExtensionMethods; using Datadog.Trace.OpenTelemetry.Traces; +using Datadog.Trace.Sampling; using Datadog.Trace.Tests.Util; using FluentAssertions; using Newtonsoft.Json.Linq; @@ -220,6 +221,29 @@ public void WriteSpan_HttpSpanWithErrorStatusCode_EmitsErrorStatus(bool openTele actualMessage.Should().Be(expectedMessage); } + [Theory] + [InlineData(2, 1)] // user-keep + [InlineData(1, 1)] // auto-keep + [InlineData(0, 0)] // auto-reject + [InlineData(-1, 0)] // user-reject + public void WriteSpan_LocalSpanSamplingPriority_EmitsFlagsFromTraceChunk(int samplingPriority, int expectedFlags) + { + var ddSpan = CreateSpan(); + ddSpan.Context.TraceContext.SetSamplingPriority(samplingPriority, SamplingMechanism.Manual); + + var json = WriteSpan(ddSpan); + + json["flags"]!.Value().Should().Be(expectedFlags); + } + + [Fact] + public void WriteSpan_WithoutSamplingPriority_OmitsFlags() + { + var json = WriteSpan(CreateSpan()); + + json["flags"].Should().BeNull(); + } + private static Span CreateSpan(bool openTelemetrySemanticsEnabled = false) { var context = new SpanContext(parent: null, new TraceContext(new StubDatadogTracer()), serviceName: "service_name"); diff --git a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesProtobufSerializerTests.cs b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesProtobufSerializerTests.cs index 2adb43c01801..86d89d0bd754 100644 --- a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesProtobufSerializerTests.cs +++ b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesProtobufSerializerTests.cs @@ -10,6 +10,7 @@ using Datadog.Trace.Configuration; using Datadog.Trace.ExtensionMethods; using Datadog.Trace.OpenTelemetry.Traces; +using Datadog.Trace.Sampling; using Datadog.Trace.Tests.Util; using FluentAssertions; using Google.Protobuf; @@ -574,6 +575,38 @@ public void SerializeSpans_SamplingPriority_EmitsSpanFlagsBit0(int samplingPrior span.Flags.Should().Be(expectedFlags); } + [Theory] + [InlineData(2, 1u)] // user-keep + [InlineData(1, 1u)] // auto-keep + [InlineData(0, 0u)] // auto-reject + [InlineData(-1, 0u)] // user-reject + public void SerializeSpans_LocalSpanSamplingPriority_EmitsSpanFlagsFromTraceChunk(int samplingPriority, uint expectedFlags) + { + // Local spans don't carry the sampling priority on their own context; it lives on the TraceContext. + var ddSpan = CreateSpan(); + ddSpan.Context.SamplingPriority.Should().BeNull(); + ddSpan.Context.TraceContext.SetSamplingPriority(samplingPriority, SamplingMechanism.Manual); + + var span = SerializeAndParse(CreateChunk(ddSpan)); + + span.Flags.Should().Be(expectedFlags); + } + + [Fact] + public void SerializeSpans_LocalRoot_EmitsSamplingDecisionAttributes() + { + var ddSpan = CreateSpan(); + ddSpan.Context.TraceContext.SetSamplingPriority(SamplingPriorityValues.UserKeep, SamplingMechanism.RemoteAdaptiveSamplingRule, rate: 0.25, limiterRate: 1f); + + var span = SerializeAndParse(CreateChunk(ddSpan)); + + span.Attributes.Should().ContainSingle(a => a.Key == "_sampling_priority_v1").Which.Value.DoubleValue.Should().Be(2); + span.Attributes.Should().ContainSingle(a => a.Key == "_dd.p.dm").Which.Value.StringValue.Should().Be("-12"); + span.Attributes.Should().ContainSingle(a => a.Key == "_dd.p.ksr").Which.Value.StringValue.Should().Be("0.25"); + span.Attributes.Should().ContainSingle(a => a.Key == "_dd.rule_psr").Which.Value.DoubleValue.Should().Be(0.25); + span.Attributes.Should().ContainSingle(a => a.Key == "_dd.limit_psr").Which.Value.DoubleValue.Should().Be(1); + } + [Theory] [InlineData(2, 0x80000001u)] // keep: bit 0 + bit 31 [InlineData(1, 0x80000001u)] From 6556b27ee895c8e7b08ad10f17e4d6cfccc47412 Mon Sep 17 00:00:00 2001 From: Anna Date: Wed, 21 Oct 2026 17:43:37 +0200 Subject: [PATCH 02/17] Use or-pattern for rule sampling mechanisms in OtlpMapper Co-Authored-By: Claude Opus 5.5 --- tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs index c9af7f86017f..5796e5398ac8 100644 --- a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs +++ b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs @@ -264,10 +264,10 @@ public static int EmitAttributesFromSpan(in SpanModel spanModel, int lim { var samplingRateTagName = samplingMechanism switch { - SamplingMechanism.AgentRate => Trace.Metrics.SamplingAgentDecision, // "_dd.agent_psr" - SamplingMechanism.LocalTraceSamplingRule => Trace.Metrics.SamplingRuleDecision, // "_dd.rule_psr" - SamplingMechanism.RemoteAdaptiveSamplingRule => Trace.Metrics.SamplingRuleDecision, // "_dd.rule_psr" - SamplingMechanism.RemoteUserSamplingRule => Trace.Metrics.SamplingRuleDecision, // "_dd.rule_psr" + SamplingMechanism.AgentRate => Trace.Metrics.SamplingAgentDecision, // "_dd.agent_psr" + SamplingMechanism.LocalTraceSamplingRule + or SamplingMechanism.RemoteAdaptiveSamplingRule + or SamplingMechanism.RemoteUserSamplingRule => Trace.Metrics.SamplingRuleDecision, // "_dd.rule_psr" _ => null }; From 4a87a4944b41ddc9385c9eca11a85d88c3bb03b6 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 22 Oct 2026 12:39:40 +0200 Subject: [PATCH 03/17] Update OTLP snapshots with exported sampling decision Co-Authored-By: Claude Opus 5.5 --- ...SdkTests.SubmitsOtlpTraces_DD.verified.txt | 294 ++++++++++++++--- ...tsOtlpTraces_DD_OtelSemantics.verified.txt | 306 +++++++++++++++--- ....NoFF.__method=FOO_path=_ping.verified.txt | 33 +- ...tics.NoFF.__method=GET_path=_.verified.txt | 33 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 33 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 33 +- ..._method=GET_path=_api_delay_0.verified.txt | 33 +- ..._method=GET_path=_bad-request.verified.txt | 33 +- ...T_path=_path-base_api_delay_0.verified.txt | 33 +- ....NoFF.__method=GET_path=_ping.verified.txt | 33 +- ...__method=GET_path=_rewrite-me.verified.txt | 33 +- ...hod=GET_path=_status-code_302.verified.txt | 33 +- ...hod=GET_path=_status-code_400.verified.txt | 33 +- ...hod=GET_path=_status-code_500.verified.txt | 33 +- ...eSpan.__method=FOO_path=_ping.verified.txt | 33 +- ...ingleSpan.__method=GET_path=_.verified.txt | 33 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 33 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 33 +- ..._method=GET_path=_api_delay_0.verified.txt | 33 +- ..._method=GET_path=_bad-request.verified.txt | 33 +- ...T_path=_path-base_api_delay_0.verified.txt | 33 +- ...eSpan.__method=GET_path=_ping.verified.txt | 33 +- ...__method=GET_path=_rewrite-me.verified.txt | 33 +- ...hod=GET_path=_status-code_302.verified.txt | 33 +- ...hod=GET_path=_status-code_400.verified.txt | 33 +- ...hod=GET_path=_status-code_500.verified.txt | 33 +- ...ithFF.__method=FOO_path=_ping.verified.txt | 33 +- ...cs.WithFF.__method=GET_path=_.verified.txt | 36 ++- ...od=GET_path=_api_delay_0-id=1.verified.txt | 33 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 33 +- ..._method=GET_path=_api_delay_0.verified.txt | 33 +- ..._method=GET_path=_bad-request.verified.txt | 36 ++- ...T_path=_path-base_api_delay_0.verified.txt | 33 +- ...ithFF.__method=GET_path=_ping.verified.txt | 33 +- ...__method=GET_path=_rewrite-me.verified.txt | 36 ++- ...hod=GET_path=_status-code_302.verified.txt | 36 ++- ...hod=GET_path=_status-code_400.verified.txt | 36 ++- ...hod=GET_path=_status-code_500.verified.txt | 36 ++- ...ntics.__method=FOO_path=_ping.verified.txt | 33 +- ...Semantics.__method=GET_path=_.verified.txt | 33 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 33 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 33 +- ..._method=GET_path=_api_delay_0.verified.txt | 33 +- ..._method=GET_path=_bad-request.verified.txt | 33 +- ...T_path=_path-base_api_delay_0.verified.txt | 33 +- ...ntics.__method=GET_path=_ping.verified.txt | 33 +- ...__method=GET_path=_rewrite-me.verified.txt | 33 +- ...hod=GET_path=_status-code_302.verified.txt | 33 +- ...hod=GET_path=_status-code_400.verified.txt | 33 +- ...hod=GET_path=_status-code_500.verified.txt | 33 +- ....NoFF.__method=FOO_path=_ping.verified.txt | 33 +- ...tics.NoFF.__method=GET_path=_.verified.txt | 33 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 33 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 33 +- ..._method=GET_path=_api_delay_0.verified.txt | 33 +- ..._method=GET_path=_bad-request.verified.txt | 33 +- ...T_path=_path-base_api_delay_0.verified.txt | 33 +- ....NoFF.__method=GET_path=_ping.verified.txt | 33 +- ...__method=GET_path=_rewrite-me.verified.txt | 33 +- ...hod=GET_path=_status-code_302.verified.txt | 33 +- ...hod=GET_path=_status-code_400.verified.txt | 33 +- ...hod=GET_path=_status-code_500.verified.txt | 33 +- ...eSpan.__method=FOO_path=_ping.verified.txt | 33 +- ...ingleSpan.__method=GET_path=_.verified.txt | 33 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 33 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 33 +- ..._method=GET_path=_api_delay_0.verified.txt | 33 +- ..._method=GET_path=_bad-request.verified.txt | 33 +- ...T_path=_path-base_api_delay_0.verified.txt | 33 +- ...eSpan.__method=GET_path=_ping.verified.txt | 33 +- ...__method=GET_path=_rewrite-me.verified.txt | 33 +- ...hod=GET_path=_status-code_302.verified.txt | 33 +- ...hod=GET_path=_status-code_400.verified.txt | 33 +- ...hod=GET_path=_status-code_500.verified.txt | 33 +- ...ithFF.__method=FOO_path=_ping.verified.txt | 33 +- ...cs.WithFF.__method=GET_path=_.verified.txt | 36 ++- ...od=GET_path=_api_delay_0-id=1.verified.txt | 36 ++- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 36 ++- ..._method=GET_path=_api_delay_0.verified.txt | 36 ++- ..._method=GET_path=_bad-request.verified.txt | 36 ++- ...T_path=_path-base_api_delay_0.verified.txt | 36 ++- ...ithFF.__method=GET_path=_ping.verified.txt | 33 +- ...__method=GET_path=_rewrite-me.verified.txt | 36 ++- ...hod=GET_path=_status-code_302.verified.txt | 36 ++- ...hod=GET_path=_status-code_400.verified.txt | 36 ++- ...hod=GET_path=_status-code_500.verified.txt | 36 ++- ...ntics.__method=FOO_path=_ping.verified.txt | 33 +- ...Semantics.__method=GET_path=_.verified.txt | 33 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 33 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 33 +- ..._method=GET_path=_api_delay_0.verified.txt | 33 +- ..._method=GET_path=_bad-request.verified.txt | 33 +- ...T_path=_path-base_api_delay_0.verified.txt | 33 +- ...ntics.__method=GET_path=_ping.verified.txt | 33 +- ...__method=GET_path=_rewrite-me.verified.txt | 33 +- ...hod=GET_path=_status-code_302.verified.txt | 33 +- ...hod=GET_path=_status-code_400.verified.txt | 33 +- ...hod=GET_path=_status-code_500.verified.txt | 33 +- 98 files changed, 3628 insertions(+), 188 deletions(-) diff --git a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt index 361b3e047ff4..9dbf9aea17f3 100644 --- a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt +++ b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt @@ -150,7 +150,8 @@ "stringValue": "404" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -244,7 +245,8 @@ "status": { "message": "Something went wrong", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -325,7 +327,8 @@ ], "status": { "code": 1 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -457,7 +460,8 @@ "status": { "message": "Example argument exception", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -498,6 +502,24 @@ "stringValue": "Guid_1" } }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "span.kind", "value": { @@ -540,7 +562,8 @@ "stringValue": "Guid_2" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -576,6 +599,18 @@ "stringValue": "web" } }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "span.kind", "value": { @@ -624,7 +659,8 @@ "stringValue": "GET" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -708,7 +744,8 @@ "stringValue": "GET" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -792,7 +829,8 @@ "stringValue": "Redis" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -882,7 +920,8 @@ "stringValue": "Receive" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -972,7 +1011,8 @@ "stringValue": "Receive" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1062,7 +1102,8 @@ "stringValue": "Receive" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1152,7 +1193,8 @@ "stringValue": "Receive" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1242,7 +1284,8 @@ "stringValue": "S3" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1326,7 +1369,8 @@ "stringValue": "aws-api" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1410,7 +1454,8 @@ "stringValue": "GRPC" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1494,7 +1539,8 @@ "stringValue": "GRPC" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1584,7 +1630,8 @@ "stringValue": "My-Function" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1668,7 +1715,8 @@ "stringValue": "Datasource" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1752,7 +1800,8 @@ "stringValue": "query" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1836,7 +1885,8 @@ "stringValue": "Amqp" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1914,7 +1964,8 @@ "stringValue": "Guid_2" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1998,7 +2049,8 @@ "stringValue": "Amqp" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -2076,7 +2128,8 @@ "stringValue": "Guid_2" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -2154,7 +2207,8 @@ "stringValue": "Guid_2" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -2232,7 +2286,8 @@ "stringValue": "Guid_2" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -2310,7 +2365,8 @@ "stringValue": "Guid_2" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -2406,7 +2462,8 @@ "doubleValue": 1.0 } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -2490,7 +2547,8 @@ "stringValue": "Guid_2" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -2531,6 +2589,24 @@ "stringValue": "Guid_1" } }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "span.kind", "value": { @@ -2877,7 +2953,8 @@ } ] } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -2918,6 +2995,36 @@ "stringValue": "Guid_1" } }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "span.kind", "value": { @@ -2967,7 +3074,8 @@ "spanId": "normalized-span-id", "flags": 2147483649 } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -3008,6 +3116,36 @@ "stringValue": "Guid_1" } }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "span.kind", "value": { @@ -3062,7 +3200,8 @@ "spanId": "normalized-span-id", "flags": 2147483649 } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -3103,6 +3242,36 @@ "stringValue": "Guid_1" } }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "span.kind", "value": { @@ -3133,7 +3302,8 @@ "stringValue": "Samples.OpenTelemetrySdk" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -3217,7 +3387,8 @@ "stringValue": "404" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -3253,6 +3424,18 @@ "stringValue": "custom" } }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "span.kind", "value": { @@ -3295,7 +3478,8 @@ "stringValue": "Guid_2" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -3373,7 +3557,8 @@ "stringValue": "Guid_2" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -3451,7 +3636,8 @@ "stringValue": "Guid_2" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -3529,7 +3715,8 @@ "stringValue": "Guid_2" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -3570,6 +3757,36 @@ "stringValue": "Guid_1" } }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "span.kind", "value": { @@ -3594,7 +3811,8 @@ "stringValue": "STATUS_CODE_UNSET" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt index b71323b815b6..ee35090b6aad 100644 --- a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt +++ b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt @@ -84,7 +84,8 @@ "doubleValue": 404.0 } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -98,7 +99,8 @@ "status": { "message": "Something went wrong", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -111,7 +113,8 @@ "endTimeUnixNano": "0", "status": { "code": 1 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -151,7 +154,8 @@ "status": { "message": "Example argument exception", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -160,7 +164,28 @@ "name": "OperationNameRootSpan", "kind": 1, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "attributes": [ + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + } + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -172,13 +197,26 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "http.request.method", "value": { "stringValue": "GET" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -196,7 +234,8 @@ "stringValue": "GET" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -214,7 +253,8 @@ "stringValue": "Redis" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -238,7 +278,8 @@ "stringValue": "Receive" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -262,7 +303,8 @@ "stringValue": "Receive" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -286,7 +328,8 @@ "stringValue": "Receive" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -310,7 +353,8 @@ "stringValue": "Receive" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -334,7 +378,8 @@ "stringValue": "S3" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -352,7 +397,8 @@ "stringValue": "aws-api" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -370,7 +416,8 @@ "stringValue": "GRPC" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -388,7 +435,8 @@ "stringValue": "GRPC" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -412,7 +460,8 @@ "stringValue": "My-Function" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -430,7 +479,8 @@ "stringValue": "Datasource" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -448,7 +498,8 @@ "stringValue": "query" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -466,7 +517,8 @@ "stringValue": "Amqp" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -476,7 +528,8 @@ "name": "ResourceName", "kind": 2, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -494,7 +547,8 @@ "stringValue": "Amqp" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -504,7 +558,8 @@ "name": "ResourceName", "kind": 3, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -514,7 +569,8 @@ "name": "ResourceName", "kind": 1, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -524,7 +580,8 @@ "name": "ResourceName", "kind": 5, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -534,7 +591,8 @@ "name": "ResourceName", "kind": 4, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -544,7 +602,8 @@ "name": "Response", "kind": 1, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -555,6 +614,24 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "operation.name", "value": { @@ -865,7 +942,8 @@ } ] } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -875,13 +953,46 @@ "kind": 1, "startTimeUnixNano": "0", "endTimeUnixNano": "0", + "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + } + ], "links": [ { "traceId": "normalized-trace-id", "spanId": "normalized-span-id", "flags": 2147483649 } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -891,6 +1002,38 @@ "kind": 1, "startTimeUnixNano": "0", "endTimeUnixNano": "0", + "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + } + ], "links": [ { "traceId": "normalized-trace-id", @@ -902,7 +1045,8 @@ "spanId": "normalized-span-id", "flags": 2147483649 } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -911,7 +1055,40 @@ "name": "service.name should be the DefaultServiceName value", "kind": 1, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + } + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -929,7 +1106,8 @@ "doubleValue": 404.0 } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -939,7 +1117,22 @@ "name": "StartActiveSpan.Child", "kind": 1, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + } + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -949,7 +1142,8 @@ "name": "StartRootSpan", "kind": 1, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -959,7 +1153,8 @@ "name": "StartSpan", "kind": 1, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -969,7 +1164,8 @@ "name": "StartSpan2", "kind": 1, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1011,7 +1207,8 @@ "stringValue": "true" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -1020,7 +1217,40 @@ "name": "Transform", "kind": 1, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + } + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt index 70cd981979dc..d3bc4f40b92f 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt index 105193c554ee..a9e77d30a82f 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt index f73cdb743eed..c377d1d93171 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 319aa0201c2b..a545a983de46 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt index f20c9cca64b7..ba2dd8aec2ed 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt index 8fb4686d28d6..0cc52d01760a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -219,7 +249,8 @@ "status": { "message": "This was a bad request.", "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt index ec24e726fbf6..5abd9f81363b 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt index 081a0d1718b7..cc92d4021f36 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt index cc4b9478f57e..124a4315b118 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt index 966fd7ce82b7..90edb726bfa1 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt index 1490761cbc19..2f938a024ac3 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt index 320fe7ac8b7c..fb0af3ab9b3e 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -207,7 +237,8 @@ "status": { "message": "The HTTP response has status code 500.", "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt index 70cd981979dc..d3bc4f40b92f 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt index 1282db8fff14..8f1d0fa04e12 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +245,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt index b6983bb28b7e..de25c7a7b8b8 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -173,7 +203,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index e1e323a7b5a0..b4dc0497823d 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -173,7 +203,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt index bfe8608c769f..c1ab825705d7 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -173,7 +203,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt index 492abc466211..9e7b8acd38d2 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -237,7 +267,8 @@ "status": { "message": "This was a bad request.", "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt index 3aee4c54ef0b..00c118fdfed4 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -173,7 +203,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt index 081a0d1718b7..cc92d4021f36 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt index 645af16379cb..ac3c85995365 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt index e143df8d6fa8..26508c2eb5a7 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +245,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt index 358acbe38452..99c15bfaddae 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +245,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt index cd5f7552d3f1..77299c5390c7 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -225,7 +255,8 @@ "status": { "message": "The HTTP response has status code 500.", "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt index 70cd981979dc..d3bc4f40b92f 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt index cfe06367f7a5..89bd93f9fd48 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +233,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -227,6 +246,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -281,7 +312,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt index b6983bb28b7e..de25c7a7b8b8 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -173,7 +203,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index e1e323a7b5a0..b4dc0497823d 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -173,7 +203,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt index bfe8608c769f..c1ab825705d7 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -173,7 +203,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt index d44f07a81904..d6a9a8ccb401 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -237,7 +255,8 @@ "status": { "message": "This was a bad request.", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -249,6 +268,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -303,7 +334,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt index 3aee4c54ef0b..00c118fdfed4 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -173,7 +203,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt index 081a0d1718b7..cc92d4021f36 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt index 74cd50937d79..4ceaeb18110e 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +215,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -209,6 +228,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -263,7 +294,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt index b16fbae23ac9..d2d06f937df1 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +233,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -227,6 +246,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -281,7 +312,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt index 0ee13577ad0e..c991b471c5ec 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +233,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -227,6 +246,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -281,7 +312,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt index d3dfbe8ec5bc..5c4a4e6751b3 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -225,7 +243,8 @@ "status": { "message": "The HTTP response has status code 500.", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -237,6 +256,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -291,7 +322,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=FOO_path=_ping.verified.txt index 4c717e4bce02..f1f750d320d5 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=FOO_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "http.request.method", "value": { @@ -131,7 +161,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_.verified.txt index a453ed904810..f2d5f4fd9873 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -185,7 +215,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt index 272ff3ebd9a2..086a6efba13b 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -149,7 +179,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 35913554de92..882d368522da 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -149,7 +179,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt index e6afb4a49f82..33be555f14f8 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -143,7 +173,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_bad-request.verified.txt index e14dddcb1ebe..e85a0c27755a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_bad-request.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -220,7 +250,8 @@ ], "status": { "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt index 6c14bd34bbf4..5255f44f9826 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -143,7 +173,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_ping.verified.txt index 5a11a4621f18..0ce9384978f6 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "http.request.method", "value": { @@ -125,7 +155,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt index ef456cd47b30..431270c448d0 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "http.request.method", "value": { @@ -167,7 +197,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt index c24bd0dab4de..d000ae193bc7 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -185,7 +215,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt index 0d135414ba77..025f3c095a47 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -185,7 +215,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt index 6fc6d0316367..ea7838f02d6f 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -194,7 +224,8 @@ ], "status": { "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt index da1d4616ce83..fa53ee53980a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt index fcb68a59fe3a..1652d799d34d 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt index a6124efe3228..823d370d87dd 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 09ca55b75a0a..80ebfed0db0c 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt index 5061ef30cd39..0ebf64594eb6 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt index 6edcf8130f9b..ce6324de9d5b 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -219,7 +249,8 @@ "status": { "message": "This was a bad request.", "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt index 6f9ec5036a6a..51852d77f298 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt index b630cdc09247..25cb3e16f5fc 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt index 7dc2ef7a1458..2f95d3e45044 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt index 8f80efbb1853..f16fbfa773db 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt index dcefb650974c..246c4e2ba9aa 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt index 6988b0c1e651..de966e27d6a0 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -207,7 +237,8 @@ "status": { "message": "The HTTP response has status code 500.", "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt index da1d4616ce83..fa53ee53980a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt index 046ced2b5068..032d4a8dccc8 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +245,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt index 6469b2b00543..3e14426c9fe4 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +245,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 206051fdbab9..452e6439d335 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +245,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt index dcd6e7a65591..3fbe67890a6d 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +245,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt index 62186b1b02a4..cbd932894b16 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -237,7 +267,8 @@ "status": { "message": "This was a bad request.", "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt index 8c068e839600..05a9f1506153 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +245,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt index b630cdc09247..25cb3e16f5fc 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt index d57a392ecce6..bcfb9b908d09 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +227,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt index a5d5e036571e..a91da302a3f7 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +245,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt index cf6fca1307eb..158e65f42086 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +245,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt index 8e9fb5d500dc..48a205bd6aa0 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -225,7 +255,8 @@ "status": { "message": "The HTTP response has status code 500.", "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt index da1d4616ce83..fa53ee53980a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt index 7da5dc296057..40c0e6771bfc 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +233,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -227,6 +246,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -281,7 +312,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt index 3c3ae4f471b3..7611eaab3e31 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +233,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -227,6 +246,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -281,7 +312,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 7b9fe373167f..60480afc465e 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +233,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -227,6 +246,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -281,7 +312,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt index a40cfbfbefa1..1f2c5358a831 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +233,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -227,6 +246,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -281,7 +312,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt index ab8faeb6c1f8..401bf2ea062c 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -237,7 +255,8 @@ "status": { "message": "This was a bad request.", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -249,6 +268,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -303,7 +334,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt index befce644e670..de81baa49f21 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +233,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -227,6 +246,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -281,7 +312,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt index b630cdc09247..25cb3e16f5fc 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -155,7 +185,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt index ce0f60eea1e5..90d2f74e3af3 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "component", "value": { @@ -197,7 +215,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -209,6 +228,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -263,7 +294,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt index 6d4fa56ec1b8..7210fe5ff2d1 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +233,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -227,6 +246,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -281,7 +312,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt index f731a87a2075..abeef002321a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -215,7 +233,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -227,6 +246,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -281,7 +312,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt index 5645180a2933..5d5e16bbbf17 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt @@ -125,6 +125,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -225,7 +243,8 @@ "status": { "message": "The HTTP response has status code 500.", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -237,6 +256,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -291,7 +322,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt index 07d685fcc0b4..d2db831273ff 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "http.request.method", "value": { @@ -131,7 +161,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_.verified.txt index 4a270dd36e24..2cdf9e41e37d 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -185,7 +215,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt index fdbf70542676..abf3eb1add54 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -191,7 +221,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 39e8f9329c1a..7bc990534124 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -191,7 +221,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt index 5b4f501a1428..cde540b1898d 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -185,7 +215,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt index 424eabad6b88..add5d2d2a483 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -220,7 +250,8 @@ ], "status": { "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt index 4903fe4b7eb7..0813930871e8 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -185,7 +215,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_ping.verified.txt index 3949967d857e..641a9f269943 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_ping.verified.txt @@ -83,6 +83,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "http.request.method", "value": { @@ -125,7 +155,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt index 9d40e823eac5..872b9b37d69a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "http.request.method", "value": { @@ -167,7 +197,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt index 03d3d95dbe96..2a2fa8d4caa9 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -185,7 +215,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt index d2b305ab6507..28cbf265e7a4 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -185,7 +215,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt index c10f83b01b85..81170db4fa00 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt @@ -125,6 +125,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "doubleValue": 2.0 + } + }, { "key": "aspnet_core.endpoint", "value": { @@ -194,7 +224,8 @@ ], "status": { "code": 2 - } + }, + "flags": 1 } ] } From 5044778531fa6303d32846a7581f13e87ee511a0 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 22 Oct 2026 13:26:25 +0200 Subject: [PATCH 04/17] Don't export _dd.p.tid as an OTLP attribute The upper 64 bits of the trace id are already part of the 128-bit OTLP traceId. Co-Authored-By: Claude Opus 5.5 --- .../Datadog.Trace/OpenTelemetry/OtlpMapper.cs | 6 ++++++ .../OpenTelemetry/OtlpMapperTests.cs | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs index 5796e5398ac8..158ae2670429 100644 --- a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs +++ b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs @@ -366,6 +366,12 @@ internal TraceTagWriter(TState state, KeyValueWriter writeKeyValue, ITag [MethodImpl(MethodImplOptions.AggressiveInlining)] public void Next(KeyValuePair item) { + // the upper 64 bits of the trace id are already part of the 128-bit OTLP traceId + if (item.Key == Tags.Propagated.TraceIdUpper) + { + return; + } + var isPropagatedTag = item.Key.StartsWith(TagPropagation.PropagatedTagPrefix, StringComparison.Ordinal); // add propagated trace tags to the first span in every chunk, diff --git a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs index 44987a4294b2..88ef4014a5c4 100644 --- a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs +++ b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs @@ -545,6 +545,25 @@ public void EmitAttributesFromSpan_PlacesTraceTagsLikeMessagePackFormatter(bool other.Should().NotContain(kv => kv.Key == Tags.Propagated.DecisionMaker); } + [Fact] + public void EmitAttributesFromSpan_OmitsTraceIdUpperTag() + { + var span = CreateSpan(); + var traceContext = span.Context.TraceContext; + traceContext.SetSamplingPriority(SamplingPriorityValues.UserKeep, SamplingMechanism.RemoteUserSamplingRule, rate: 0.5); + traceContext.Tags.SetTag(Tags.Propagated.TraceIdUpper, "6ad8ee3b00000000"); + + var spanModel = new TraceChunkModel(new SpanCollection([span])).GetSpanModel(0); + + var attributes = new List(); + OtlpMapper.EmitAttributesFromSpan(kv => attributes.Add(kv), spanModel, limit: 128); + + // the upper 64 bits are already part of the 128-bit OTLP traceId + attributes.Should().NotContain(kv => kv.Key == Tags.Propagated.TraceIdUpper); + attributes.Should().ContainSingle(kv => kv.Key == Tags.Propagated.DecisionMaker).Which.Value.Should().Be(SamplingMechanism.RemoteUserSamplingRule); + attributes.Should().ContainSingle(kv => kv.Key == Tags.Propagated.KnuthSamplingRate); + } + [Fact] public void EmitAttributesFromSpan_SamplingDecisionIsWrittenBeforeSpanTags() { From 68ba2969d7cb5094fa806d020ec6526a7a22c591 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 22 Oct 2026 13:35:49 +0200 Subject: [PATCH 05/17] Document process_id and _dd.tracer_kr not exported over OTLP Co-Authored-By: Claude Opus 5.5 --- tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs index 158ae2670429..ae9581af80f7 100644 --- a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs +++ b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs @@ -259,6 +259,11 @@ public static int EmitAttributesFromSpan(in SpanModel spanModel, int lim if (spanModel.IsLocalRoot) { + // TODO: unlike SpanMessagePackFormatter, we don't write "process_id" or "_dd.tracer_kr" on the local root yet. + // "process_id" likely belongs on the OTLP resource instead (OTel semantic convention "process.pid"). + // It's still open whether "_dd.tracer_kr" (tracer keep rate: moving average of the share of traces + // sent vs. dropped before reaching the Agent) should be exported over OTLP at all. + // add agent or rule sampling rate if (spanModel.TraceChunk is { AppliedSamplingRate: { } samplingRate, SamplingMechanism: { } samplingMechanism }) { From f125470d6641a9cba5566128cb48ffb8ae6b4319 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 22 Oct 2026 13:41:32 +0200 Subject: [PATCH 06/17] Export _sampling_priority_v1 as an OTLP int attribute Co-Authored-By: Claude Opus 5.5 --- .../Datadog.Trace/OpenTelemetry/OtlpMapper.cs | 4 ++-- .../Traces/OtlpTracesJsonSerializer.cs | 8 +++++-- .../OpenTelemetry/OtlpMapperTests.cs | 2 +- .../Traces/OtlpTracesJsonSerializerTests.cs | 24 +++++++++++++++++++ .../OtlpTracesProtobufSerializerTests.cs | 2 +- ...SdkTests.SubmitsOtlpTraces_DD.verified.txt | 12 +++++----- ...tsOtlpTraces_DD_OtelSemantics.verified.txt | 12 +++++----- ....NoFF.__method=FOO_path=_ping.verified.txt | 2 +- ...tics.NoFF.__method=GET_path=_.verified.txt | 2 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 2 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 2 +- ..._method=GET_path=_api_delay_0.verified.txt | 2 +- ..._method=GET_path=_bad-request.verified.txt | 2 +- ...T_path=_path-base_api_delay_0.verified.txt | 2 +- ....NoFF.__method=GET_path=_ping.verified.txt | 2 +- ...__method=GET_path=_rewrite-me.verified.txt | 2 +- ...hod=GET_path=_status-code_302.verified.txt | 2 +- ...hod=GET_path=_status-code_400.verified.txt | 2 +- ...hod=GET_path=_status-code_500.verified.txt | 2 +- ...eSpan.__method=FOO_path=_ping.verified.txt | 2 +- ...ingleSpan.__method=GET_path=_.verified.txt | 2 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 2 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 2 +- ..._method=GET_path=_api_delay_0.verified.txt | 2 +- ..._method=GET_path=_bad-request.verified.txt | 2 +- ...T_path=_path-base_api_delay_0.verified.txt | 2 +- ...eSpan.__method=GET_path=_ping.verified.txt | 2 +- ...__method=GET_path=_rewrite-me.verified.txt | 2 +- ...hod=GET_path=_status-code_302.verified.txt | 2 +- ...hod=GET_path=_status-code_400.verified.txt | 2 +- ...hod=GET_path=_status-code_500.verified.txt | 2 +- ...ithFF.__method=FOO_path=_ping.verified.txt | 2 +- ...cs.WithFF.__method=GET_path=_.verified.txt | 2 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 2 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 2 +- ..._method=GET_path=_api_delay_0.verified.txt | 2 +- ..._method=GET_path=_bad-request.verified.txt | 2 +- ...T_path=_path-base_api_delay_0.verified.txt | 2 +- ...ithFF.__method=GET_path=_ping.verified.txt | 2 +- ...__method=GET_path=_rewrite-me.verified.txt | 2 +- ...hod=GET_path=_status-code_302.verified.txt | 2 +- ...hod=GET_path=_status-code_400.verified.txt | 2 +- ...hod=GET_path=_status-code_500.verified.txt | 2 +- ...ntics.__method=FOO_path=_ping.verified.txt | 2 +- ...Semantics.__method=GET_path=_.verified.txt | 2 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 2 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 2 +- ..._method=GET_path=_api_delay_0.verified.txt | 2 +- ..._method=GET_path=_bad-request.verified.txt | 2 +- ...T_path=_path-base_api_delay_0.verified.txt | 2 +- ...ntics.__method=GET_path=_ping.verified.txt | 2 +- ...__method=GET_path=_rewrite-me.verified.txt | 2 +- ...hod=GET_path=_status-code_302.verified.txt | 2 +- ...hod=GET_path=_status-code_400.verified.txt | 2 +- ...hod=GET_path=_status-code_500.verified.txt | 2 +- ....NoFF.__method=FOO_path=_ping.verified.txt | 2 +- ...tics.NoFF.__method=GET_path=_.verified.txt | 2 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 2 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 2 +- ..._method=GET_path=_api_delay_0.verified.txt | 2 +- ..._method=GET_path=_bad-request.verified.txt | 2 +- ...T_path=_path-base_api_delay_0.verified.txt | 2 +- ....NoFF.__method=GET_path=_ping.verified.txt | 2 +- ...__method=GET_path=_rewrite-me.verified.txt | 2 +- ...hod=GET_path=_status-code_302.verified.txt | 2 +- ...hod=GET_path=_status-code_400.verified.txt | 2 +- ...hod=GET_path=_status-code_500.verified.txt | 2 +- ...eSpan.__method=FOO_path=_ping.verified.txt | 2 +- ...ingleSpan.__method=GET_path=_.verified.txt | 2 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 2 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 2 +- ..._method=GET_path=_api_delay_0.verified.txt | 2 +- ..._method=GET_path=_bad-request.verified.txt | 2 +- ...T_path=_path-base_api_delay_0.verified.txt | 2 +- ...eSpan.__method=GET_path=_ping.verified.txt | 2 +- ...__method=GET_path=_rewrite-me.verified.txt | 2 +- ...hod=GET_path=_status-code_302.verified.txt | 2 +- ...hod=GET_path=_status-code_400.verified.txt | 2 +- ...hod=GET_path=_status-code_500.verified.txt | 2 +- ...ithFF.__method=FOO_path=_ping.verified.txt | 2 +- ...cs.WithFF.__method=GET_path=_.verified.txt | 2 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 2 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 2 +- ..._method=GET_path=_api_delay_0.verified.txt | 2 +- ..._method=GET_path=_bad-request.verified.txt | 2 +- ...T_path=_path-base_api_delay_0.verified.txt | 2 +- ...ithFF.__method=GET_path=_ping.verified.txt | 2 +- ...__method=GET_path=_rewrite-me.verified.txt | 2 +- ...hod=GET_path=_status-code_302.verified.txt | 2 +- ...hod=GET_path=_status-code_400.verified.txt | 2 +- ...hod=GET_path=_status-code_500.verified.txt | 2 +- ...ntics.__method=FOO_path=_ping.verified.txt | 2 +- ...Semantics.__method=GET_path=_.verified.txt | 2 +- ...od=GET_path=_api_delay_0-id=1.verified.txt | 2 +- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 2 +- ..._method=GET_path=_api_delay_0.verified.txt | 2 +- ..._method=GET_path=_bad-request.verified.txt | 2 +- ...T_path=_path-base_api_delay_0.verified.txt | 2 +- ...ntics.__method=GET_path=_ping.verified.txt | 2 +- ...__method=GET_path=_rewrite-me.verified.txt | 2 +- ...hod=GET_path=_status-code_302.verified.txt | 2 +- ...hod=GET_path=_status-code_400.verified.txt | 2 +- ...hod=GET_path=_status-code_500.verified.txt | 2 +- 103 files changed, 142 insertions(+), 114 deletions(-) diff --git a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs index ae9581af80f7..03a7bb49ae0b 100644 --- a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs +++ b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs @@ -290,10 +290,10 @@ or SamplingMechanism.RemoteAdaptiveSamplingRule } // add "_sampling_priority_v1" to all "chunk orphans" (spans whose parents are not found in the same chunk). - // Written as a double, like the MessagePack metric and other tracers' OTLP export. + // Written as an OTLP int; the Agent converts int and double attributes to the same span metric. if (spanModel is { IsChunkOrphan: true, TraceChunk.SamplingPriority: { } samplingPriority }) { - WriteAttribute(ref state, writeKeyValue, new KeyValue(Trace.Metrics.SamplingPriority, (double)samplingPriority), limit, ref count, ref droppedAttributesCount); + WriteAttribute(ref state, writeKeyValue, new KeyValue(Trace.Metrics.SamplingPriority, samplingPriority), limit, ref count, ref droppedAttributesCount); } // Notes for later: diff --git a/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesJsonSerializer.cs b/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesJsonSerializer.cs index 1cd14d689105..84f20ad8c9c6 100644 --- a/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesJsonSerializer.cs +++ b/tracer/src/Datadog.Trace/OpenTelemetry/Traces/OtlpTracesJsonSerializer.cs @@ -314,15 +314,19 @@ internal static void WriteAnyValue(JsonTextWriter writer, object? value, bool ex writer.WriteValue(boolValue); break; + case int intValue: + writer.WritePropertyName("intValue"); + writer.WriteValue(IntStringCache.ToInvariantString(intValue)); + break; + case byte: case sbyte: case short: case ushort: - case int: case uint: case long: writer.WritePropertyName("intValue"); - writer.WriteValue(value.ToString()); + writer.WriteValue(Convert.ToString(value, CultureInfo.InvariantCulture)); break; case double doubleValue: diff --git a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs index 88ef4014a5c4..7cc0559a53a8 100644 --- a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs +++ b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs @@ -483,7 +483,7 @@ public void EmitAttributesFromSpan_EmitsSamplingDecision_OnLocalRoot(int samplin var attributes = new List(); OtlpMapper.EmitAttributesFromSpan(kv => attributes.Add(kv), spanModel, limit: 128); - attributes.Should().ContainSingle(kv => kv.Key == Trace.Metrics.SamplingPriority).Which.Value.Should().Be((double)samplingPriority); + attributes.Should().ContainSingle(kv => kv.Key == Trace.Metrics.SamplingPriority).Which.Value.Should().Be(samplingPriority); attributes.Should().ContainSingle(kv => kv.Key == Tags.Propagated.DecisionMaker).Which.Value.Should().Be(mechanism); attributes.Should().ContainSingle(kv => kv.Key == Trace.Metrics.SamplingLimitDecision).Which.Value.Should().Be(0.75); diff --git a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs index 0bfe1e165539..10c05801d280 100644 --- a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs +++ b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs @@ -4,7 +4,9 @@ // using System; +using System.Globalization; using System.IO; +using System.Threading; using Datadog.Trace.Agent; using Datadog.Trace.Agent.MessagePack; using Datadog.Trace.Configuration; @@ -236,6 +238,28 @@ public void WriteSpan_LocalSpanSamplingPriority_EmitsFlagsFromTraceChunk(int sam json["flags"]!.Value().Should().Be(expectedFlags); } + [Fact] + public void WriteSpan_NegativeSamplingPriority_UsesInvariantCulture() + { + var originalCulture = Thread.CurrentThread.CurrentCulture; + try + { + // sv-SE uses U+2212 as its negative sign + Thread.CurrentThread.CurrentCulture = new CultureInfo("sv-SE"); + + var ddSpan = CreateSpan(); + ddSpan.Context.TraceContext.SetSamplingPriority(SamplingPriorityValues.UserReject, SamplingMechanism.Manual); + + var json = WriteSpan(ddSpan); + + json["attributes"]!.Should().Contain(a => a["key"]!.Value() == "_sampling_priority_v1" && a["value"]!["intValue"]!.Value() == "-1"); + } + finally + { + Thread.CurrentThread.CurrentCulture = originalCulture; + } + } + [Fact] public void WriteSpan_WithoutSamplingPriority_OmitsFlags() { diff --git a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesProtobufSerializerTests.cs b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesProtobufSerializerTests.cs index 86d89d0bd754..ac8f12c22217 100644 --- a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesProtobufSerializerTests.cs +++ b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesProtobufSerializerTests.cs @@ -600,7 +600,7 @@ public void SerializeSpans_LocalRoot_EmitsSamplingDecisionAttributes() var span = SerializeAndParse(CreateChunk(ddSpan)); - span.Attributes.Should().ContainSingle(a => a.Key == "_sampling_priority_v1").Which.Value.DoubleValue.Should().Be(2); + span.Attributes.Should().ContainSingle(a => a.Key == "_sampling_priority_v1").Which.Value.IntValue.Should().Be(2); span.Attributes.Should().ContainSingle(a => a.Key == "_dd.p.dm").Which.Value.StringValue.Should().Be("-12"); span.Attributes.Should().ContainSingle(a => a.Key == "_dd.p.ksr").Which.Value.StringValue.Should().Be("0.25"); span.Attributes.Should().ContainSingle(a => a.Key == "_dd.rule_psr").Which.Value.DoubleValue.Should().Be(0.25); diff --git a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt index 9dbf9aea17f3..833f861a4ac4 100644 --- a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt +++ b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt @@ -517,7 +517,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { @@ -2604,7 +2604,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { @@ -3022,7 +3022,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { @@ -3143,7 +3143,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { @@ -3269,7 +3269,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { @@ -3784,7 +3784,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt index ee35090b6aad..b948a15f6211 100644 --- a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt +++ b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt @@ -181,7 +181,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } } ], @@ -629,7 +629,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { @@ -981,7 +981,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } } ], @@ -1030,7 +1030,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } } ], @@ -1084,7 +1084,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } } ], @@ -1246,7 +1246,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } } ], diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt index d3bc4f40b92f..30b7e6080be0 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt index a9e77d30a82f..89c6ef05b90e 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt index c377d1d93171..761d5ecd6d4c 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index a545a983de46..9d098e1dc7b1 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt index ba2dd8aec2ed..2cdc4038c736 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt index 0cc52d01760a..57326b55bc1a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt index 5abd9f81363b..09711f39001a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt index cc92d4021f36..52e7406b291c 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt index 124a4315b118..8d0e77b2fc79 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt index 90edb726bfa1..de7ec63db713 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt index 2f938a024ac3..a515d4ae2d97 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt index fb0af3ab9b3e..c995df8a6051 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt index d3bc4f40b92f..30b7e6080be0 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt index 8f1d0fa04e12..3ac77799501f 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt index de25c7a7b8b8..7f5d2705a20f 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index b4dc0497823d..1a2f50c799f7 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt index c1ab825705d7..c565e2350016 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt index 9e7b8acd38d2..15255713d202 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt index 00c118fdfed4..19a482d47a5f 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt index cc92d4021f36..52e7406b291c 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt index ac3c85995365..e41110774baa 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt index 26508c2eb5a7..c2d73c67410b 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt index 99c15bfaddae..e50ae77ffe20 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt index 77299c5390c7..226c8d9c175b 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt index d3bc4f40b92f..30b7e6080be0 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt index 89bd93f9fd48..dff5015739bb 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt index de25c7a7b8b8..7f5d2705a20f 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index b4dc0497823d..1a2f50c799f7 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt index c1ab825705d7..c565e2350016 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt index d6a9a8ccb401..c0a3b4cbb356 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt index 00c118fdfed4..19a482d47a5f 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt index cc92d4021f36..52e7406b291c 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt index 4ceaeb18110e..ade51ec9a8af 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt index d2d06f937df1..e01d5a38856a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt index c991b471c5ec..9046d65f3cbd 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt index 5c4a4e6751b3..4ef3e7213b09 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=FOO_path=_ping.verified.txt index f1f750d320d5..ee2d928d09db 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=FOO_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_.verified.txt index f2d5f4fd9873..c099cee937ef 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt index 086a6efba13b..029c4895719a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 882d368522da..9022d7906595 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt index 33be555f14f8..16801336b513 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_bad-request.verified.txt index e85a0c27755a..df5872d2e909 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_bad-request.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt index 5255f44f9826..57b0839c6ac8 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_ping.verified.txt index 0ce9384978f6..28790eb10795 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt index 431270c448d0..be22ddd8b4ae 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt index d000ae193bc7..59ae1b503654 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt index 025f3c095a47..8ca1ebd82e74 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt index ea7838f02d6f..cf5385cf6e92 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMinimalApisTests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt index fa53ee53980a..50a52c573440 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt index 1652d799d34d..ebb0c05a9846 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt index 823d370d87dd..87db77abbd4a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 80ebfed0db0c..a7b4a41fcb9b 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt index 0ebf64594eb6..952cfb868499 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt index ce6324de9d5b..306e1b2401ba 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt index 51852d77f298..910bef54790e 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt index 25cb3e16f5fc..4ee2efb5c798 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt index 2f95d3e45044..a79dff4329b9 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt index f16fbfa773db..59fa9a1c832c 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt index 246c4e2ba9aa..b76da4de7d46 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt index de966e27d6a0..c4460fc1f348 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt index fa53ee53980a..50a52c573440 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=FOO_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt index 032d4a8dccc8..21922acf04f2 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt index 3e14426c9fe4..de754b7e5884 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 452e6439d335..af5f065b0f2e 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt index 3fbe67890a6d..fffe337cf322 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_api_delay_0.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt index cbd932894b16..a765aee20202 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_bad-request.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt index 05a9f1506153..5f7fc44d80d4 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt index 25cb3e16f5fc..4ee2efb5c798 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt index bcfb9b908d09..3c20e33fdaf0 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_rewrite-me.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt index a91da302a3f7..29e33136d2e6 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_302.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt index 158e65f42086..4944d3f46413 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_400.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt index 48a205bd6aa0..65e4d520cc13 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.SingleSpan.__method=GET_path=_status-code_500.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt index fa53ee53980a..50a52c573440 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt index 40c0e6771bfc..95cafb266e54 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt index 7611eaab3e31..3ee0fb370ab7 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 60480afc465e..c9edfd53c585 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt index 1f2c5358a831..4818866495c8 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt index 401bf2ea062c..6d22ed4ac70c 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt index de81baa49f21..0560b76fad18 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt index 25cb3e16f5fc..4ee2efb5c798 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt index 90d2f74e3af3..4dab67c029a8 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt index 7210fe5ff2d1..7fd68c671d1d 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt index abeef002321a..e7cc82d7efe2 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt index 5d5e16bbbf17..0606e0b47ce2 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt @@ -140,7 +140,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt index d2db831273ff..2d8a598a45fc 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_.verified.txt index 2cdf9e41e37d..469fd95fb9c0 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt index abf3eb1add54..c9f0f868a736 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 7bc990534124..4ff3cd09d144 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt index cde540b1898d..affdcbaecd33 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt index add5d2d2a483..485a54c1b7b1 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt index 0813930871e8..7149d4984d07 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_ping.verified.txt index 641a9f269943..a273385e6e06 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_ping.verified.txt @@ -110,7 +110,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt index 872b9b37d69a..ebb6c9e34f2e 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt index 2a2fa8d4caa9..937ed70fc99b 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt index 28cbf265e7a4..f83f953b5636 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt index 81170db4fa00..5d88ec864b96 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc31Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt @@ -152,7 +152,7 @@ { "key": "_sampling_priority_v1", "value": { - "doubleValue": 2.0 + "intValue": "2" } }, { From f5b40461000e91088191dd78f04e313943300152 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 22 Oct 2026 13:58:59 +0200 Subject: [PATCH 07/17] Use per-mechanism sampling rates in OtlpMapper sampling test Co-Authored-By: Claude Opus 5.5 --- .../OpenTelemetry/OtlpMapperTests.cs | 32 +++++++++++++------ 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs index 7cc0559a53a8..799be685235c 100644 --- a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs +++ b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs @@ -467,15 +467,19 @@ public async Task EmitAttributesFromSpan_ReservesEnrichmentSlots_WhenSpanTagsExc } [Theory] - [InlineData(SamplingPriorityValues.AutoKeep, SamplingMechanism.AgentRate, Trace.Metrics.SamplingAgentDecision)] - [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.LocalTraceSamplingRule, Trace.Metrics.SamplingRuleDecision)] - [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.RemoteUserSamplingRule, Trace.Metrics.SamplingRuleDecision)] - [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.RemoteAdaptiveSamplingRule, Trace.Metrics.SamplingRuleDecision)] - [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.Manual, null)] - public void EmitAttributesFromSpan_EmitsSamplingDecision_OnLocalRoot(int samplingPriority, string mechanism, string? expectedRateKey) - { + [InlineData(SamplingPriorityValues.AutoKeep, SamplingMechanism.AgentRate, 0.5, null, Trace.Metrics.SamplingAgentDecision)] + [InlineData(SamplingPriorityValues.AutoKeep, SamplingMechanism.Default, 1.0, null, null)] // agent rates not received yet: rate but no psr/ksr + [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.LocalTraceSamplingRule, 0.5, 0.75f, Trace.Metrics.SamplingRuleDecision)] + [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.RemoteUserSamplingRule, 0.5, 0.75f, Trace.Metrics.SamplingRuleDecision)] + [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.RemoteAdaptiveSamplingRule, 0.5, 0.75f, Trace.Metrics.SamplingRuleDecision)] + [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.Manual, null, null, null)] + [InlineData(SamplingPriorityValues.UserKeep, SamplingMechanism.Asm, null, null, null)] + public void EmitAttributesFromSpan_EmitsSamplingDecision_OnLocalRoot(int samplingPriority, string mechanism, double? rate, float? limiterRate, string? expectedRateKey) + { + // rate/limiterRate combinations match what TraceSampler produces: the limiter only applies to + // user rules that kept the trace, and manual/ASM decisions carry no rates var span = CreateSpan(); - span.Context.TraceContext.SetSamplingPriority(samplingPriority, mechanism, rate: 0.5, limiterRate: 0.75f); + span.Context.TraceContext.SetSamplingPriority(samplingPriority, mechanism, rate, limiterRate); var spanModel = new TraceChunkModel(new SpanCollection([span])).GetSpanModel(0); spanModel.IsLocalRoot.Should().BeTrue(); @@ -485,7 +489,15 @@ public void EmitAttributesFromSpan_EmitsSamplingDecision_OnLocalRoot(int samplin attributes.Should().ContainSingle(kv => kv.Key == Trace.Metrics.SamplingPriority).Which.Value.Should().Be(samplingPriority); attributes.Should().ContainSingle(kv => kv.Key == Tags.Propagated.DecisionMaker).Which.Value.Should().Be(mechanism); - attributes.Should().ContainSingle(kv => kv.Key == Trace.Metrics.SamplingLimitDecision).Which.Value.Should().Be(0.75); + + if (limiterRate is { } expectedLimiterRate) + { + attributes.Should().ContainSingle(kv => kv.Key == Trace.Metrics.SamplingLimitDecision).Which.Value.Should().Be((double)expectedLimiterRate); + } + else + { + attributes.Should().NotContain(kv => kv.Key == Trace.Metrics.SamplingLimitDecision); + } if (expectedRateKey is null) { @@ -494,7 +506,7 @@ public void EmitAttributesFromSpan_EmitsSamplingDecision_OnLocalRoot(int samplin } else { - attributes.Should().ContainSingle(kv => kv.Key == expectedRateKey).Which.Value.Should().Be(0.5); + attributes.Should().ContainSingle(kv => kv.Key == expectedRateKey).Which.Value.Should().Be(rate); attributes.Should().ContainSingle(kv => kv.Key == Tags.Propagated.KnuthSamplingRate).Which.Value.Should().Be("0.5"); } } From 816044ac96ea01eb674687b1b5400b7133552a69 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 22 Oct 2026 13:59:01 +0200 Subject: [PATCH 08/17] Format OTLP JSON stats int attributes with the invariant culture Co-Authored-By: Claude Opus 5.5 --- tracer/src/Datadog.Trace/Agent/OtlpSpanStatsSerializer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tracer/src/Datadog.Trace/Agent/OtlpSpanStatsSerializer.cs b/tracer/src/Datadog.Trace/Agent/OtlpSpanStatsSerializer.cs index f8d5f4230ceb..4d989abd6e2e 100644 --- a/tracer/src/Datadog.Trace/Agent/OtlpSpanStatsSerializer.cs +++ b/tracer/src/Datadog.Trace/Agent/OtlpSpanStatsSerializer.cs @@ -6,6 +6,7 @@ #nullable enable using System; +using System.Globalization; using System.IO; using System.Text; using Datadog.Trace.Logging; @@ -325,7 +326,7 @@ private static void WriteIntKvJson(JsonTextWriter writer, string key, long value writer.WritePropertyName("value"); writer.WriteStartObject(); writer.WritePropertyName("intValue"); - writer.WriteValue(value.ToString()); + writer.WriteValue(value.ToString(CultureInfo.InvariantCulture)); writer.WriteEndObject(); writer.WriteEndObject(); } From b8ef71b113172411d155b1a1944ac648afb6b647 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 22 Oct 2026 15:11:43 +0200 Subject: [PATCH 09/17] Normalize OTLP span flags position in snapshot helper The http/json exporter writes flags after parentSpanId while the protobuf payload renders it last, so tests sharing a snapshot across protocols disagreed once local spans carry flags. Co-Authored-By: Claude Opus 5.5 --- .../TestInfrastructure/Helpers/OtlpSnapshotHelper.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TestInfrastructure/Helpers/OtlpSnapshotHelper.cs b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TestInfrastructure/Helpers/OtlpSnapshotHelper.cs index 49ecf1bf0f8c..b5e4b420b0db 100644 --- a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TestInfrastructure/Helpers/OtlpSnapshotHelper.cs +++ b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TestInfrastructure/Helpers/OtlpSnapshotHelper.cs @@ -152,6 +152,15 @@ public static void NormalizeSpans(JToken tracesRequests, OtlpFieldNames names, l span[parentSpanIdKey] = "normalized-parent-span-id"; } + // The http/json exporter writes "flags" after "parentSpanId", but the http/protobuf payload + // carries it as field 16, so the test agent renders it last. Move it to the end so both + // protocols produce the same snapshot. + if (((JObject)span).Property("flags") is { } flags) + { + flags.Remove(); + ((JObject)span).Add(flags); + } + // Our JSON and Protobuf OTLP exporters differ in serialization behavior when there are no attributes. // Standardize them here by removing an empty array if (span["attributes"] is JArray attributes && attributes.Count == 0) From 421dbe9eeb6d6727df160aefbf882fb5a51a8541 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 22 Oct 2026 15:11:46 +0200 Subject: [PATCH 10/17] Update HttpClient and WebRequest OTLP snapshots with exported sampling decision Co-Authored-By: Claude Opus 5.5 --- ...ClientTests.SubmitsOtlpTraces.verified.txt | 54 +++++++++++++++--- ...bmitsOtlpTraces_OtelSemantics.verified.txt | 56 ++++++++++++++++--- ...tTests.SubmitsOtlpTraces_Net5.verified.txt | 54 +++++++++++++++--- ...OtlpTraces_OtelSemantics_Net5.verified.txt | 56 ++++++++++++++++--- 4 files changed, 188 insertions(+), 32 deletions(-) diff --git a/tracer/test/snapshots/OpenTelemetryHttpClientTests.SubmitsOtlpTraces.verified.txt b/tracer/test/snapshots/OpenTelemetryHttpClientTests.SubmitsOtlpTraces.verified.txt index d2410e7cb07b..2f271492d4f9 100644 --- a/tracer/test/snapshots/OpenTelemetryHttpClientTests.SubmitsOtlpTraces.verified.txt +++ b/tracer/test/snapshots/OpenTelemetryHttpClientTests.SubmitsOtlpTraces.verified.txt @@ -83,6 +83,24 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "operation.name", "value": { @@ -111,7 +129,8 @@ "key": "span.type", "value": {} } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -123,6 +142,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "component", "value": { @@ -195,7 +226,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -279,7 +311,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -363,7 +396,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -447,7 +481,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -541,7 +576,8 @@ "status": { "message": "The HTTP response has status code 400.", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -625,7 +661,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -709,7 +746,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OpenTelemetryHttpClientTests.SubmitsOtlpTraces_OtelSemantics.verified.txt b/tracer/test/snapshots/OpenTelemetryHttpClientTests.SubmitsOtlpTraces_OtelSemantics.verified.txt index a8235dbfab5d..bb4ff9cd5a2c 100644 --- a/tracer/test/snapshots/OpenTelemetryHttpClientTests.SubmitsOtlpTraces_OtelSemantics.verified.txt +++ b/tracer/test/snapshots/OpenTelemetryHttpClientTests.SubmitsOtlpTraces_OtelSemantics.verified.txt @@ -81,7 +81,28 @@ "name": "HttpClientRequestAsync", "kind": 1, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + } + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -93,6 +114,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "http.request.method", "value": { @@ -129,7 +162,8 @@ "stringValue": "http://localhost:00000/Guid_2/ok" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -177,7 +211,8 @@ "stringValue": "http://localhost:00000/Guid_2/ok?" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -231,7 +266,8 @@ "stringValue": "http://localhost:00000/Guid_2/ok" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -279,7 +315,8 @@ "stringValue": "http://localhost:00000/Guid_2/redirect" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -336,7 +373,8 @@ ], "status": { "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -393,7 +431,8 @@ ], "status": { "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -441,7 +480,8 @@ "stringValue": "http://REDACTED:REDACTED@localhost:00000/Guid_2/ok" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OpenTelemetryWebRequestTests.SubmitsOtlpTraces_Net5.verified.txt b/tracer/test/snapshots/OpenTelemetryWebRequestTests.SubmitsOtlpTraces_Net5.verified.txt index 999cd29780fa..102b2083d941 100644 --- a/tracer/test/snapshots/OpenTelemetryWebRequestTests.SubmitsOtlpTraces_Net5.verified.txt +++ b/tracer/test/snapshots/OpenTelemetryWebRequestTests.SubmitsOtlpTraces_Net5.verified.txt @@ -83,6 +83,24 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "operation.name", "value": { @@ -111,7 +129,8 @@ "key": "span.type", "value": {} } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -123,6 +142,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "component", "value": { @@ -189,7 +220,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -267,7 +299,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -345,7 +378,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -423,7 +457,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -523,7 +558,8 @@ "status": { "message": "The remote server returned an error: (400) Bad Request.", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -619,7 +655,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -697,7 +734,8 @@ "stringValue": "http" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OpenTelemetryWebRequestTests.SubmitsOtlpTraces_OtelSemantics_Net5.verified.txt b/tracer/test/snapshots/OpenTelemetryWebRequestTests.SubmitsOtlpTraces_OtelSemantics_Net5.verified.txt index 35c5622ebfa8..e1992c93def8 100644 --- a/tracer/test/snapshots/OpenTelemetryWebRequestTests.SubmitsOtlpTraces_OtelSemantics_Net5.verified.txt +++ b/tracer/test/snapshots/OpenTelemetryWebRequestTests.SubmitsOtlpTraces_OtelSemantics_Net5.verified.txt @@ -81,7 +81,28 @@ "name": "WebRequestRequestAsync", "kind": 1, "startTimeUnixNano": "0", - "endTimeUnixNano": "0" + "endTimeUnixNano": "0", + "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + } + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -93,6 +114,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "http.request.method", "value": { @@ -129,7 +162,8 @@ "stringValue": "http://localhost:00000/Guid_2/ok" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -177,7 +211,8 @@ "stringValue": "http://localhost:00000/Guid_2/ok?" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -231,7 +266,8 @@ "stringValue": "http://localhost:00000/Guid_2/ok" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -279,7 +315,8 @@ "stringValue": "http://localhost:00000/Guid_2/redirect" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -362,7 +399,8 @@ ], "status": { "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -445,7 +483,8 @@ ], "status": { "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -493,7 +532,8 @@ "stringValue": "http://REDACTED:REDACTED@localhost:00000/Guid_2/ok" } } - ] + ], + "flags": 1 } ] } From 485e9abe3273d69a7823063fa0c60fdd8d5727e4 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 23 Oct 2026 14:13:21 +0200 Subject: [PATCH 11/17] Classify propagated trace tags case-insensitively in OTLP export Co-Authored-By: Claude Opus 5.5 --- .../Datadog.Trace/OpenTelemetry/OtlpMapper.cs | 8 +++++-- .../OpenTelemetry/OtlpMapperTests.cs | 24 +++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs index 03a7bb49ae0b..a87ed2c25887 100644 --- a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs +++ b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs @@ -371,13 +371,17 @@ internal TraceTagWriter(TState state, KeyValueWriter writeKeyValue, ITag [MethodImpl(MethodImplOptions.AggressiveInlining)] public void Next(KeyValuePair item) { + // TagPropagation.ParseHeader accepts the "_dd.p." prefix case-insensitively and keeps the original casing, + // so classify keys the same way here. Note: SpanMessagePackFormatter.TraceTagWriter and the header + // injection in TagPropagation still compare ordinally. + // the upper 64 bits of the trace id are already part of the 128-bit OTLP traceId - if (item.Key == Tags.Propagated.TraceIdUpper) + if (string.Equals(item.Key, Tags.Propagated.TraceIdUpper, StringComparison.OrdinalIgnoreCase)) { return; } - var isPropagatedTag = item.Key.StartsWith(TagPropagation.PropagatedTagPrefix, StringComparison.Ordinal); + var isPropagatedTag = item.Key.StartsWith(TagPropagation.PropagatedTagPrefix, StringComparison.OrdinalIgnoreCase); // add propagated trace tags to the first span in every chunk, // add non-propagated trace tags to the root span diff --git a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs index 799be685235c..799614cfa41c 100644 --- a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs +++ b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs @@ -576,6 +576,30 @@ public void EmitAttributesFromSpan_OmitsTraceIdUpperTag() attributes.Should().ContainSingle(kv => kv.Key == Tags.Propagated.KnuthSamplingRate); } + [Fact] + public void EmitAttributesFromSpan_ClassifiesPropagatedTraceTagsCaseInsensitively() + { + // TagPropagation.ParseHeader accepts "_dd.p." case-insensitively and keeps the original casing + var root = CreateSpan(); + var traceContext = root.Context.TraceContext; + var child = new Span(new SpanContext(root.Context, traceContext, serviceName: null), DateTimeOffset.UtcNow); + traceContext.Tags.SetTag("_DD.P.DM", "-4"); + traceContext.Tags.SetTag("_DD.P.TID", "6ad8ee3b00000000"); + + // child first: propagated tags go on the first span in the chunk, not the local root + var chunk = new TraceChunkModel(new SpanCollection([child, root])); + + var childAttributes = new List(); + OtlpMapper.EmitAttributesFromSpan(kv => childAttributes.Add(kv), chunk.GetSpanModel(0), limit: 128); + var rootAttributes = new List(); + OtlpMapper.EmitAttributesFromSpan(kv => rootAttributes.Add(kv), chunk.GetSpanModel(1), limit: 128); + + childAttributes.Should().ContainSingle(kv => kv.Key == "_DD.P.DM").Which.Value.Should().Be("-4"); + rootAttributes.Should().NotContain(kv => kv.Key == "_DD.P.DM"); + childAttributes.Should().NotContain(kv => kv.Key == "_DD.P.TID"); + rootAttributes.Should().NotContain(kv => kv.Key == "_DD.P.TID"); + } + [Fact] public void EmitAttributesFromSpan_SamplingDecisionIsWrittenBeforeSpanTags() { From e06f2483e8e487c8d41dc43ab89e1b52bc951a70 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 23 Oct 2026 14:19:26 +0200 Subject: [PATCH 12/17] Write _sampling_priority_v1 before trace tags in OTLP export Co-Authored-By: Claude Opus 5.5 --- .../Datadog.Trace/OpenTelemetry/OtlpMapper.cs | 18 ++++++++------- .../OpenTelemetry/OtlpMapperTests.cs | 22 +++++++++++++++++++ 2 files changed, 32 insertions(+), 8 deletions(-) diff --git a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs index a87ed2c25887..d641f81af813 100644 --- a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs +++ b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs @@ -247,6 +247,15 @@ public static int EmitAttributesFromSpan(in SpanModel spanModel, int lim // Sampling decision attributes (same tags and placement as the MessagePack path) let the Agent // honor the tracer's decision instead of applying its own OTLP sampler. They are written before // span tags so customer tags are dropped first when the attribute limit is reached. + + // add "_sampling_priority_v1" to all "chunk orphans" (spans whose parents are not found in the same chunk). + // Written first so a large number of trace tags can't push it past the attribute limit. + // Written as an OTLP int; the Agent converts int and double attributes to the same span metric. + if (spanModel is { IsChunkOrphan: true, TraceChunk.SamplingPriority: { } samplingPriority }) + { + WriteAttribute(ref state, writeKeyValue, new KeyValue(Trace.Metrics.SamplingPriority, samplingPriority), limit, ref count, ref droppedAttributesCount); + } + if (spanModel.TraceChunk.Tags is { Count: > 0 } traceTags && (spanModel.IsFirstSpanInChunk || spanModel.IsLocalRoot)) { @@ -270,7 +279,7 @@ public static int EmitAttributesFromSpan(in SpanModel spanModel, int lim var samplingRateTagName = samplingMechanism switch { SamplingMechanism.AgentRate => Trace.Metrics.SamplingAgentDecision, // "_dd.agent_psr" - SamplingMechanism.LocalTraceSamplingRule + i SamplingMechanism.LocalTraceSamplingRule or SamplingMechanism.RemoteAdaptiveSamplingRule or SamplingMechanism.RemoteUserSamplingRule => Trace.Metrics.SamplingRuleDecision, // "_dd.rule_psr" _ => null @@ -289,13 +298,6 @@ or SamplingMechanism.RemoteAdaptiveSamplingRule } } - // add "_sampling_priority_v1" to all "chunk orphans" (spans whose parents are not found in the same chunk). - // Written as an OTLP int; the Agent converts int and double attributes to the same span metric. - if (spanModel is { IsChunkOrphan: true, TraceChunk.SamplingPriority: { } samplingPriority }) - { - WriteAttribute(ref state, writeKeyValue, new KeyValue(Trace.Metrics.SamplingPriority, samplingPriority), limit, ref count, ref droppedAttributesCount); - } - // Notes for later: // - Do we actually need to add _dd.base_service tag even though the OTLP span shares the same service name? diff --git a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs index 799614cfa41c..3f067e07a10c 100644 --- a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs +++ b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/OtlpMapperTests.cs @@ -623,6 +623,28 @@ public void EmitAttributesFromSpan_SamplingDecisionIsWrittenBeforeSpanTags() dropped.Should().BeGreaterOrEqualTo(1); } + [Fact] + public void EmitAttributesFromSpan_SamplingPriorityIsKept_WhenTraceTagsExceedLimit() + { + var span = CreateSpan(openTelemetrySemanticsEnabled: true); + var traceContext = span.Context.TraceContext; + traceContext.SetSamplingPriority(SamplingPriorityValues.UserKeep, SamplingMechanism.Manual); + for (var i = 0; i < 10; i++) + { + traceContext.Tags.SetTag($"_dd.p.custom{i}", "v"); + } + + var spanModel = new TraceChunkModel(new SpanCollection([span])).GetSpanModel(0); + + // fewer slots than trace tags: "_sampling_priority_v1" must still be written + var attributes = new List(); + var dropped = OtlpMapper.EmitAttributesFromSpan(kv => attributes.Add(kv), spanModel, limit: 3); + + attributes.Should().HaveCount(3); + attributes.Should().ContainSingle(kv => kv.Key == Trace.Metrics.SamplingPriority).Which.Value.Should().Be(SamplingPriorityValues.UserKeep); + dropped.Should().BeGreaterOrEqualTo(8); + } + private static Span CreateSpan(string? origin = null, bool openTelemetrySemanticsEnabled = false) { var traceContext = new TraceContext(new StubDatadogTracer()); From 42e86b1c2a9219e342fa7cc23d75c66a1622470f Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 23 Oct 2026 14:21:55 +0200 Subject: [PATCH 13/17] Fix stray character in OtlpMapper Co-Authored-By: Claude Opus 5.5 --- tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs index d641f81af813..c9023bdd4345 100644 --- a/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs +++ b/tracer/src/Datadog.Trace/OpenTelemetry/OtlpMapper.cs @@ -279,7 +279,7 @@ public static int EmitAttributesFromSpan(in SpanModel spanModel, int lim var samplingRateTagName = samplingMechanism switch { SamplingMechanism.AgentRate => Trace.Metrics.SamplingAgentDecision, // "_dd.agent_psr" - i SamplingMechanism.LocalTraceSamplingRule + SamplingMechanism.LocalTraceSamplingRule or SamplingMechanism.RemoteAdaptiveSamplingRule or SamplingMechanism.RemoteUserSamplingRule => Trace.Metrics.SamplingRuleDecision, // "_dd.rule_psr" _ => null From 4141305ba7c9d334d59bbc19496839abc9adf92b Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 23 Oct 2026 14:54:32 +0200 Subject: [PATCH 14/17] Use a synthetic culture in the OTLP JSON negative int test Co-Authored-By: Claude Opus 5.5 --- .../OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs index 10c05801d280..541ffc258548 100644 --- a/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs +++ b/tracer/test/Datadog.Trace.Tests/OpenTelemetry/Traces/OtlpTracesJsonSerializerTests.cs @@ -244,8 +244,11 @@ public void WriteSpan_NegativeSamplingPriority_UsesInvariantCulture() var originalCulture = Thread.CurrentThread.CurrentCulture; try { - // sv-SE uses U+2212 as its negative sign - Thread.CurrentThread.CurrentCulture = new CultureInfo("sv-SE"); + var culture = (CultureInfo)CultureInfo.InvariantCulture.Clone(); + culture.NumberFormat.NegativeSign = "NEG"; + Thread.CurrentThread.CurrentCulture = culture; + + // If a culture-sensitive formatting was used, it would produce "NEG1" var ddSpan = CreateSpan(); ddSpan.Context.TraceContext.SetSamplingPriority(SamplingPriorityValues.UserReject, SamplingMechanism.Manual); From 6cb352626924b942b82ddab37121c594254be7e9 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 23 Oct 2026 14:57:43 +0200 Subject: [PATCH 15/17] Update OtlpAspNetCoreMvc21 snapshots with exported sampling decision Co-Authored-By: Claude Opus 5.5 --- ....NoFF.__method=FOO_path=_ping.verified.txt | 33 ++++++++++++++++- ...tics.NoFF.__method=GET_path=_.verified.txt | 33 ++++++++++++++++- ...od=GET_path=_api_delay_0-id=1.verified.txt | 33 ++++++++++++++++- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 33 ++++++++++++++++- ..._method=GET_path=_api_delay_0.verified.txt | 33 ++++++++++++++++- ..._method=GET_path=_bad-request.verified.txt | 33 ++++++++++++++++- ...T_path=_path-base_api_delay_0.verified.txt | 33 ++++++++++++++++- ....NoFF.__method=GET_path=_ping.verified.txt | 33 ++++++++++++++++- ...__method=GET_path=_rewrite-me.verified.txt | 33 ++++++++++++++++- ...hod=GET_path=_status-code_302.verified.txt | 33 ++++++++++++++++- ...hod=GET_path=_status-code_400.verified.txt | 33 ++++++++++++++++- ...hod=GET_path=_status-code_500.verified.txt | 33 ++++++++++++++++- ...ithFF.__method=FOO_path=_ping.verified.txt | 33 ++++++++++++++++- ...cs.WithFF.__method=GET_path=_.verified.txt | 36 +++++++++++++++++-- ...od=GET_path=_api_delay_0-id=1.verified.txt | 36 +++++++++++++++++-- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 36 +++++++++++++++++-- ..._method=GET_path=_api_delay_0.verified.txt | 36 +++++++++++++++++-- ..._method=GET_path=_bad-request.verified.txt | 36 +++++++++++++++++-- ...T_path=_path-base_api_delay_0.verified.txt | 36 +++++++++++++++++-- ...ithFF.__method=GET_path=_ping.verified.txt | 33 ++++++++++++++++- ...__method=GET_path=_rewrite-me.verified.txt | 36 +++++++++++++++++-- ...hod=GET_path=_status-code_302.verified.txt | 36 +++++++++++++++++-- ...hod=GET_path=_status-code_400.verified.txt | 36 +++++++++++++++++-- ...hod=GET_path=_status-code_500.verified.txt | 36 +++++++++++++++++-- ...ntics.__method=FOO_path=_ping.verified.txt | 33 ++++++++++++++++- ...Semantics.__method=GET_path=_.verified.txt | 33 ++++++++++++++++- ...od=GET_path=_api_delay_0-id=1.verified.txt | 33 ++++++++++++++++- ...oken=SUPER-SECRET-TOKEN-VALUE.verified.txt | 33 ++++++++++++++++- ..._method=GET_path=_api_delay_0.verified.txt | 33 ++++++++++++++++- ..._method=GET_path=_bad-request.verified.txt | 33 ++++++++++++++++- ...T_path=_path-base_api_delay_0.verified.txt | 33 ++++++++++++++++- ...ntics.__method=GET_path=_ping.verified.txt | 33 ++++++++++++++++- ...__method=GET_path=_rewrite-me.verified.txt | 33 ++++++++++++++++- ...hod=GET_path=_status-code_302.verified.txt | 33 ++++++++++++++++- ...hod=GET_path=_status-code_400.verified.txt | 33 ++++++++++++++++- ...hod=GET_path=_status-code_500.verified.txt | 33 ++++++++++++++++- 36 files changed, 1172 insertions(+), 46 deletions(-) diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt index 5642921eb0b2..a8220115e3f7 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=FOO_path=_ping.verified.txt @@ -70,6 +70,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -142,7 +172,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt index c17a75beb503..6d35a4f27141 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -184,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt index 2df2da0152f4..49ad813a467a 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -184,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index ee915cc98e6d..16be34881530 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -184,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt index bb8ddbd85554..4ef507ffb328 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_api_delay_0.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -184,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt index 820a32dffb3f..9da264d5659c 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_bad-request.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -206,7 +236,8 @@ "status": { "message": "This was a bad request.", "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt index c9e3b7d5aec7..8ac84e606646 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -184,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt index 335d9d2893b9..5f9998847f21 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_ping.verified.txt @@ -70,6 +70,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -142,7 +172,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt index d1b2910c2bc2..e651e8f91e65 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_rewrite-me.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -184,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt index b8ca69b0c051..7b21108ce296 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_302.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -184,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt index 678f6b591e4d..64770f018345 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_400.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -184,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt index e320cdf52e8b..de4b35d65287 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.NoFF.__method=GET_path=_status-code_500.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -194,7 +224,8 @@ "status": { "message": "The HTTP response has status code 500.", "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt index 5642921eb0b2..a8220115e3f7 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=FOO_path=_ping.verified.txt @@ -70,6 +70,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -142,7 +172,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt index 60f8a5ced4f9..9b03c5aee804 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_.verified.txt @@ -112,6 +112,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -196,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -207,6 +226,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -261,7 +292,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt index ccbcbdc6363d..1e783b1001ed 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -112,6 +112,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -196,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -207,6 +226,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -261,7 +292,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index dffd814d8832..485d2d8f6faa 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -112,6 +112,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -196,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -207,6 +226,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -261,7 +292,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt index c969015f44cf..02cb6bea7d8b 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_api_delay_0.verified.txt @@ -112,6 +112,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -196,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -207,6 +226,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -261,7 +292,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt index a0848394237a..f165c44c9ba4 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_bad-request.verified.txt @@ -112,6 +112,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -218,7 +236,8 @@ "status": { "message": "This was a bad request.", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -229,6 +248,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -283,7 +314,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt index 1c69a5e9b53d..61892558eb1d 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -112,6 +112,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -196,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -207,6 +226,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -261,7 +292,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt index 335d9d2893b9..5f9998847f21 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_ping.verified.txt @@ -70,6 +70,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -142,7 +172,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt index b49a0dce9649..edc42a671b87 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_rewrite-me.verified.txt @@ -112,6 +112,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "component", "value": { @@ -184,7 +202,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -195,6 +214,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -249,7 +280,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt index 2d865d192bdf..9bdb21008fd0 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_302.verified.txt @@ -112,6 +112,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -196,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -207,6 +226,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -261,7 +292,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt index 9131ba3d2743..bef9c1d81699 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_400.verified.txt @@ -112,6 +112,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -196,7 +214,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -207,6 +226,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -261,7 +292,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt index cd271cf1bcf4..35cda128bd70 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.DatadogSemantics.WithFF.__method=GET_path=_status-code_500.verified.txt @@ -112,6 +112,24 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -206,7 +224,8 @@ "status": { "message": "The HTTP response has status code 500.", "code": 2 - } + }, + "flags": 1 }, { "traceId": "normalized-trace-id", @@ -217,6 +236,18 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, { "key": "aspnet_core.action", "value": { @@ -271,7 +302,8 @@ "stringValue": "web" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt index ebb039bbcf89..3b10f01c8f9e 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=FOO_path=_ping.verified.txt @@ -70,6 +70,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "http.request.method", "value": { @@ -118,7 +148,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_.verified.txt index f072199686c6..acdaa2918511 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -166,7 +196,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt index 58e9e2d1936a..7d9972bbdd86 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0-id=1.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -172,7 +202,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt index 0b678ef9d6e6..160f0349c2a2 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0-token=SUPER-SECRET-TOKEN-VALUE.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -172,7 +202,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt index 90fa3904659e..deb9eeefed4e 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_api_delay_0.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -166,7 +196,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt index ab261d64be36..58467f5d7c81 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_bad-request.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -201,7 +231,8 @@ ], "status": { "code": 2 - } + }, + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt index 149e5cf7bad1..b4fe2dfb22a3 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_path-base_api_delay_0.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -166,7 +196,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_ping.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_ping.verified.txt index 1c9b82a89d9a..8c9e13c81356 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_ping.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_ping.verified.txt @@ -70,6 +70,36 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "http.request.method", "value": { @@ -112,7 +142,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt index 507fa878b6ea..1368ad4d9cb9 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_rewrite-me.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "http.request.method", "value": { @@ -154,7 +184,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt index bf5888eb031c..8f1dfa50d953 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_302.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -166,7 +196,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt index 1de4016c4aa2..f2d6ae1c71af 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_400.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -166,7 +196,8 @@ "stringValue": "testhelper" } } - ] + ], + "flags": 1 } ] } diff --git a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt index 747418f6acc9..8a19eb997c31 100644 --- a/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt +++ b/tracer/test/snapshots/OtlpAspNetCoreMvc21Tests.OtelSemantics.__method=GET_path=_status-code_500.verified.txt @@ -112,6 +112,36 @@ "stringValue": "entry" } }, + { + "key": "_dd.limit_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_dd.p.dm", + "value": { + "stringValue": "-3" + } + }, + { + "key": "_dd.p.ksr", + "value": { + "stringValue": "1" + } + }, + { + "key": "_dd.rule_psr", + "value": { + "doubleValue": 1.0 + } + }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "aspnet_core.route", "value": { @@ -175,7 +205,8 @@ ], "status": { "code": 2 - } + }, + "flags": 1 } ] } From f44063abe86f2491666d3aa3a657054dfd04418a Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 23 Oct 2026 17:09:40 +0200 Subject: [PATCH 16/17] Update OpenTelemetrySdkTests OTLP snapshots for _sampling_priority_v1 order Co-Authored-By: Claude Opus 5.5 --- ...SdkTests.SubmitsOtlpTraces_DD.verified.txt | 68 +++++++++---------- ...tsOtlpTraces_DD_OtelSemantics.verified.txt | 68 +++++++++---------- 2 files changed, 68 insertions(+), 68 deletions(-) diff --git a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt index 833f861a4ac4..aec075fc1067 100644 --- a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt +++ b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD.verified.txt @@ -503,21 +503,21 @@ } }, { - "key": "_dd.rule_psr", + "key": "_sampling_priority_v1", "value": { - "doubleValue": 1.0 + "intValue": "2" } }, { - "key": "_dd.limit_psr", + "key": "_dd.rule_psr", "value": { "doubleValue": 1.0 } }, { - "key": "_sampling_priority_v1", + "key": "_dd.limit_psr", "value": { - "intValue": "2" + "doubleValue": 1.0 } }, { @@ -2590,21 +2590,21 @@ } }, { - "key": "_dd.rule_psr", + "key": "_sampling_priority_v1", "value": { - "doubleValue": 1.0 + "intValue": "2" } }, { - "key": "_dd.limit_psr", + "key": "_dd.rule_psr", "value": { "doubleValue": 1.0 } }, { - "key": "_sampling_priority_v1", + "key": "_dd.limit_psr", "value": { - "intValue": "2" + "doubleValue": 1.0 } }, { @@ -2995,6 +2995,12 @@ "stringValue": "Guid_1" } }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "_dd.p.dm", "value": { @@ -3019,12 +3025,6 @@ "doubleValue": 1.0 } }, - { - "key": "_sampling_priority_v1", - "value": { - "intValue": "2" - } - }, { "key": "span.kind", "value": { @@ -3116,6 +3116,12 @@ "stringValue": "Guid_1" } }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "_dd.p.dm", "value": { @@ -3140,12 +3146,6 @@ "doubleValue": 1.0 } }, - { - "key": "_sampling_priority_v1", - "value": { - "intValue": "2" - } - }, { "key": "span.kind", "value": { @@ -3242,6 +3242,12 @@ "stringValue": "Guid_1" } }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "_dd.p.dm", "value": { @@ -3266,12 +3272,6 @@ "doubleValue": 1.0 } }, - { - "key": "_sampling_priority_v1", - "value": { - "intValue": "2" - } - }, { "key": "span.kind", "value": { @@ -3757,6 +3757,12 @@ "stringValue": "Guid_1" } }, + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "_dd.p.dm", "value": { @@ -3781,12 +3787,6 @@ "doubleValue": 1.0 } }, - { - "key": "_sampling_priority_v1", - "value": { - "intValue": "2" - } - }, { "key": "span.kind", "value": { diff --git a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt index b948a15f6211..1ff07963ad58 100644 --- a/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt +++ b/tracer/test/snapshots/OpenTelemetrySdkTests.SubmitsOtlpTraces_DD_OtelSemantics.verified.txt @@ -167,21 +167,21 @@ "endTimeUnixNano": "0", "attributes": [ { - "key": "_dd.rule_psr", + "key": "_sampling_priority_v1", "value": { - "doubleValue": 1.0 + "intValue": "2" } }, { - "key": "_dd.limit_psr", + "key": "_dd.rule_psr", "value": { "doubleValue": 1.0 } }, { - "key": "_sampling_priority_v1", + "key": "_dd.limit_psr", "value": { - "intValue": "2" + "doubleValue": 1.0 } } ], @@ -615,21 +615,21 @@ "endTimeUnixNano": "0", "attributes": [ { - "key": "_dd.rule_psr", + "key": "_sampling_priority_v1", "value": { - "doubleValue": 1.0 + "intValue": "2" } }, { - "key": "_dd.limit_psr", + "key": "_dd.rule_psr", "value": { "doubleValue": 1.0 } }, { - "key": "_sampling_priority_v1", + "key": "_dd.limit_psr", "value": { - "intValue": "2" + "doubleValue": 1.0 } }, { @@ -954,6 +954,12 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "_dd.p.dm", "value": { @@ -977,12 +983,6 @@ "value": { "doubleValue": 1.0 } - }, - { - "key": "_sampling_priority_v1", - "value": { - "intValue": "2" - } } ], "links": [ @@ -1003,6 +1003,12 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "_dd.p.dm", "value": { @@ -1026,12 +1032,6 @@ "value": { "doubleValue": 1.0 } - }, - { - "key": "_sampling_priority_v1", - "value": { - "intValue": "2" - } } ], "links": [ @@ -1057,6 +1057,12 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "_dd.p.dm", "value": { @@ -1080,12 +1086,6 @@ "value": { "doubleValue": 1.0 } - }, - { - "key": "_sampling_priority_v1", - "value": { - "intValue": "2" - } } ], "flags": 1 @@ -1219,6 +1219,12 @@ "startTimeUnixNano": "0", "endTimeUnixNano": "0", "attributes": [ + { + "key": "_sampling_priority_v1", + "value": { + "intValue": "2" + } + }, { "key": "_dd.p.dm", "value": { @@ -1242,12 +1248,6 @@ "value": { "doubleValue": 1.0 } - }, - { - "key": "_sampling_priority_v1", - "value": { - "intValue": "2" - } } ], "flags": 1 From 209e65137e322290ba799a20263abd884b4f6905 Mon Sep 17 00:00:00 2001 From: Anna Date: Sat, 24 Oct 2026 01:30:27 +0200 Subject: [PATCH 17/17] Re-trigger CI Co-Authored-By: Claude Sonnet 5.5