Skip to content

[Code Origin] DEBUG-4174 - Make Code Origin on by default#8272

Merged
dudikeleti merged 52 commits into
masterfrom
dudik/co/default-on
May 19, 2026
Merged

[Code Origin] DEBUG-4174 - Make Code Origin on by default#8272
dudikeleti merged 52 commits into
masterfrom
dudik/co/default-on

Conversation

@dudikeleti

@dudikeleti dudikeleti commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

Enable Code Origin for entry spans by default (DD_CODE_ORIGIN_FOR_SPANS_ENABLED now defaults to true).

Add the always-present Code Origin tags as generated tag properties on AspNetCoreTags

Update ASP.NET Core integration snapshots and metadata rules to account for Code Origin tags on entry spans.

Reason for change

Make Code Origin tags available out-of-the-box on supported entry spans (currently ASP.NET Core).

Implementation details

CodeOriginForSpansEnabled now uses WithDefault(true).
Explicit DD_CODE_ORIGIN_FOR_SPANS_ENABLED=false still hard-disables.

Reduce allocations/locking on the entry-span hot path by leveraging generated tag properties for Code Origin fields.

  • AspNetCoreTags and AspNetCoreSingleSpanTags add generated [Tag] properties for entry Code Origin tags, scoped to ASP.NET Core entry spans.
  • Code Origin tags are only emitted when set.
  • Unsupported tag types are skipped with a debug log instead of using the generic ITags write path.
  • Code Origin presence checks use the concrete ASP.NET Core tag properties first, then fall back to generic tag lookup for duplicate detection.

Test coverage

Updated focused unit coverage:

  • Datadog.Trace.Tests.Debugger.SpanCodeOriginTests
  • Datadog.Trace.Tests.Debugger.DebuggerSettingsTests
  • Datadog.Trace.Tests.DiagnosticListeners.AspNetCoreDiagnosticObserverTests
  • Datadog.Trace.Debugger.IntegrationTests.DebuggerManagerTests
  • Datadog.Trace.Debugger.IntegrationTests.DebuggerManagerDynamicTests

Updated ASP.NET Core integration snapshots to verify serialized Code Origin tags across affected APM, Security, IAST, MVC, minimal API, and IIS scenarios.

Added Verify scrubbers/tests for Code Origin file paths, line numbers, and column numbers so snapshot output is stable across machines.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables Code Origin tagging for entry spans by default (unless explicitly disabled) and reduces overhead on ASP.NET Core entry spans by emitting Code Origin tags via generated tag properties on AspNetCoreTags.

Changes:

  • Change DD_CODE_ORIGIN_FOR_SPANS_ENABLED default to true (including generated docs and supported-config metadata).
  • Add Code Origin tag properties to AspNetCoreTags (and generated tag-list implementations) and use them in SpanCodeOrigin for ASP.NET Core spans.
  • Update unit/integration tests to reflect the new default-enabled behavior.

Reviewed changes

Copilot reviewed 7 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tracer/src/Datadog.Trace/Debugger/DebuggerSettings.cs Switch Code Origin-for-spans default to enabled.
tracer/src/Datadog.Trace/Debugger/SpanCodeOrigin/SpanCodeOrigin.cs Use AspNetCoreTags generated properties for default Code Origin tags (and batch-set file/line/column).
tracer/src/Datadog.Trace/Tagging/AspNetCoreTags.cs Add [Tag] properties for always-present Code Origin tags.
tracer/src/Datadog.Trace/Generated/**/TagListGenerator/AspNetCoreTags.g.cs Generated tag access/serialization support for new ASP.NET Core Code Origin tags across TFMs.
tracer/src/Datadog.Trace/Generated/**/ConfigurationKeysGenerator/ConfigurationKeys.Debugger.g.cs Update generated doc comment for the new default value.
tracer/src/Datadog.Trace/Configuration/supported-configurations.yaml Update config metadata/docs to default true.
tracer/test/Datadog.Trace.Tests/Debugger/DebuggerSettingsTests.cs Adjust settings tests for default-to-true behavior.
tracer/test/Datadog.Trace.Tests/Debugger/SpanCodeOriginTests.cs Add coverage for AspNetCoreTags path.
tracer/test/Datadog.Trace.Debugger.IntegrationTests/DebuggerManagerDynamicTests.cs Update dynamic tests to account for Code Origin being enabled by default.
Comments suppressed due to low confidence (1)

tracer/src/Datadog.Trace/Debugger/DebuggerSettings.cs:146

  • CodeOriginForSpansEnabled now defaults to true, so this expression will evaluate to true whenever CodeOriginForSpansCanBeEnabled is true. That makes the || DynamicInstrumentationEnabled clause redundant and potentially confusing for future readers. Consider simplifying the assignment (and/or adding a clarifying comment) so the logic reflects the new default clearly.
            var coEnabledResult = config.WithKeys(ConfigurationKeys.Debugger.CodeOriginForSpansEnabled).AsBoolResult();
            CodeOriginForSpansCanBeEnabled = coEnabledResult.ConfigurationResult is not { IsValid: true, Result: false };
            CodeOriginForSpansEnabled = CodeOriginForSpansCanBeEnabled && (coEnabledResult.WithDefault(true) || DynamicInstrumentationEnabled);

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Mar 4, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8272) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration73.82 ± (73.76 - 74.33) ms72.55 ± (72.47 - 72.82) ms-1.7%
.NET Framework 4.8 - Bailout
duration78.68 ± (78.60 - 79.11) ms79.31 ± (79.02 - 79.56) ms+0.8%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1098.59 ± (1098.59 - 1105.85) ms1101.82 ± (1101.64 - 1107.99) ms+0.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.80 ± (22.73 - 22.86) ms22.87 ± (22.80 - 22.94) ms+0.3%✅⬆️
process.time_to_main_ms86.65 ± (86.33 - 86.98) ms87.04 ± (86.71 - 87.36) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.91) MB10.91 ± (10.91 - 10.91) MB+0.0%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.36 ± (22.32 - 22.39) ms22.48 ± (22.43 - 22.53) ms+0.6%✅⬆️
process.time_to_main_ms85.94 ± (85.74 - 86.14) ms86.42 ± (86.18 - 86.67) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.94 - 10.94) MB10.94 ± (10.94 - 10.95) MB+0.0%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms214.07 ± (213.09 - 215.05) ms212.51 ± (211.57 - 213.45) ms-0.7%
process.time_to_main_ms539.88 ± (538.36 - 541.40) ms541.18 ± (539.70 - 542.66) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.45 ± (48.41 - 48.49) MB48.51 ± (48.48 - 48.54) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 6 - Baseline
process.internal_duration_ms21.31 ± (21.27 - 21.35) ms21.21 ± (21.17 - 21.24) ms-0.5%
process.time_to_main_ms73.74 ± (73.58 - 73.90) ms73.28 ± (73.11 - 73.45) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.62 ± (10.62 - 10.62) MB10.63 ± (10.62 - 10.63) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.10 ± (21.06 - 21.14) ms21.69 ± (21.62 - 21.76) ms+2.8%✅⬆️
process.time_to_main_ms74.24 ± (74.11 - 74.38) ms76.97 ± (76.68 - 77.26) ms+3.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.73 ± (10.73 - 10.74) MB10.73 ± (10.73 - 10.74) MB-0.0%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms380.23 ± (378.06 - 382.40) ms370.06 ± (368.38 - 371.75) ms-2.7%
process.time_to_main_ms537.21 ± (535.99 - 538.43) ms547.51 ± (546.20 - 548.82) ms+1.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.79 ± (49.76 - 49.81) MB49.99 ± (49.96 - 50.01) MB+0.4%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.59 ± (19.53 - 19.65) ms19.35 ± (19.32 - 19.39) ms-1.2%
process.time_to_main_ms74.05 ± (73.75 - 74.35) ms72.47 ± (72.29 - 72.66) ms-2.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.68 - 7.69) MB7.69 ± (7.69 - 7.70) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.68 ± (19.61 - 19.76) ms19.26 ± (19.22 - 19.30) ms-2.2%
process.time_to_main_ms75.30 ± (74.87 - 75.72) ms73.01 ± (72.88 - 73.15) ms-3.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.73) MB7.73 ± (7.72 - 7.74) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms296.37 ± (294.08 - 298.65) ms294.72 ± (292.59 - 296.85) ms-0.6%
process.time_to_main_ms496.86 ± (495.97 - 497.75) ms497.38 ± (496.15 - 498.61) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.98 ± (36.95 - 37.00) MB36.94 ± (36.91 - 36.97) MB-0.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.7%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration198.83 ± (198.45 - 199.32) ms199.72 ± (199.23 - 200.18) ms+0.4%✅⬆️
.NET Framework 4.8 - Bailout
duration203.12 ± (202.76 - 203.45) ms204.27 ± (203.93 - 204.91) ms+0.6%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1187.58 ± (1187.01 - 1192.42) ms1199.85 ± (1199.57 - 1205.85) ms+1.0%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms192.78 ± (192.30 - 193.25) ms194.58 ± (194.13 - 195.02) ms+0.9%✅⬆️
process.time_to_main_ms82.62 ± (82.39 - 82.86) ms83.95 ± (83.63 - 84.26) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.02 ± (16.00 - 16.04) MB16.10 ± (16.08 - 16.12) MB+0.5%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.1%
.NET Core 3.1 - Bailout
process.internal_duration_ms190.58 ± (190.18 - 190.98) ms193.66 ± (193.13 - 194.19) ms+1.6%✅⬆️
process.time_to_main_ms83.51 ± (83.27 - 83.75) ms85.15 ± (84.86 - 85.45) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.19 ± (16.16 - 16.21) MB16.12 ± (16.09 - 16.15) MB-0.4%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.1%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms383.51 ± (382.08 - 384.93) ms389.13 ± (387.82 - 390.44) ms+1.5%✅⬆️
process.time_to_main_ms527.15 ± (525.98 - 528.31) ms535.77 ± (534.49 - 537.04) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.40 ± (57.22 - 57.58) MB57.55 ± (57.35 - 57.76) MB+0.3%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
.NET 6 - Baseline
process.internal_duration_ms195.77 ± (195.33 - 196.21) ms198.86 ± (198.39 - 199.33) ms+1.6%✅⬆️
process.time_to_main_ms71.54 ± (71.32 - 71.75) ms72.78 ± (72.50 - 73.06) ms+1.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.32 ± (16.30 - 16.35) MB16.35 ± (16.32 - 16.38) MB+0.2%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.8%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms195.10 ± (194.59 - 195.61) ms198.82 ± (198.42 - 199.21) ms+1.9%✅⬆️
process.time_to_main_ms72.60 ± (72.43 - 72.78) ms73.66 ± (73.43 - 73.88) ms+1.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.43 ± (16.41 - 16.46) MB16.40 ± (16.37 - 16.43) MB-0.2%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.4%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms590.64 ± (587.89 - 593.39) ms583.51 ± (580.75 - 586.26) ms-1.2%
process.time_to_main_ms531.53 ± (530.40 - 532.65) ms546.60 ± (545.57 - 547.64) ms+2.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.13 ± (61.03 - 61.23) MB61.02 ± (60.94 - 61.10) MB-0.2%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.6%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms193.87 ± (193.39 - 194.34) ms197.49 ± (197.02 - 197.95) ms+1.9%✅⬆️
process.time_to_main_ms70.91 ± (70.70 - 71.13) ms72.03 ± (71.76 - 72.30) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.76 ± (11.74 - 11.79) MB11.68 ± (11.66 - 11.70) MB-0.7%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.4%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms193.08 ± (192.60 - 193.56) ms196.09 ± (195.65 - 196.53) ms+1.6%✅⬆️
process.time_to_main_ms71.67 ± (71.49 - 71.85) ms73.12 ± (72.91 - 73.34) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.77 ± (11.75 - 11.79) MB11.75 ± (11.72 - 11.77) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.3%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms514.13 ± (511.67 - 516.58) ms517.75 ± (515.23 - 520.26) ms+0.7%✅⬆️
process.time_to_main_ms488.03 ± (487.19 - 488.86) ms492.73 ± (491.98 - 493.47) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.64 ± (50.61 - 50.67) MB50.61 ± (50.57 - 50.65) MB-0.1%
runtime.dotnet.threads.count30 ± (29 - 30)29 ± (29 - 30)-0.3%
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8272) - mean (73ms)  : 70, 75
    master - mean (74ms)  : 70, 78

    section Bailout
    This PR (8272) - mean (79ms)  : 75, 83
    master - mean (79ms)  : 75, 83

    section CallTarget+Inlining+NGEN
    This PR (8272) - mean (1,105ms)  : 1059, 1151
    master - mean (1,102ms)  : 1048, 1157

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8272) - mean (117ms)  : 110, 124
    master - mean (117ms)  : 111, 122

    section Bailout
    This PR (8272) - mean (116ms)  : 110, 122
    master - mean (115ms)  : 111, 119

    section CallTarget+Inlining+NGEN
    This PR (8272) - mean (791ms)  : 768, 814
    master - mean (794ms)  : 770, 818

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8272) - mean (101ms)  : 97, 104
    master - mean (101ms)  : 99, 104

    section Bailout
    This PR (8272) - mean (105ms)  : 100, 111
    master - mean (101ms)  : 100, 103

    section CallTarget+Inlining+NGEN
    This PR (8272) - mean (946ms)  : 903, 988
    master - mean (945ms)  : 901, 989

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8272) - mean (100ms)  : 96, 103
    master - mean (102ms)  : 96, 108

    section Bailout
    This PR (8272) - mean (100ms)  : 98, 102
    master - mean (103ms)  : 94, 112

    section CallTarget+Inlining+NGEN
    This PR (8272) - mean (824ms)  : 779, 869
    master - mean (824ms)  : 790, 858

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8272) - mean (200ms)  : 194, 206
    master - mean (199ms)  : 194, 204

    section Bailout
    This PR (8272) - mean (204ms)  : 198, 211
    master - mean (203ms)  : 200, 207

    section CallTarget+Inlining+NGEN
    This PR (8272) - mean (1,203ms)  : 1157, 1248
    master - mean (1,190ms)  : 1150, 1230

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8272) - mean (288ms)  : 281, 294
    master - mean (285ms)  : 278, 291

    section Bailout
    This PR (8272) - mean (287ms)  : 279, 296
    master - mean (283ms)  : 277, 290

    section CallTarget+Inlining+NGEN
    This PR (8272) - mean (963ms)  : 937, 988
    master - mean (951ms)  : 930, 971

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8272) - mean (280ms)  : 272, 288
    master - mean (276ms)  : 269, 283

    section Bailout
    This PR (8272) - mean (281ms)  : 276, 286
    master - mean (276ms)  : 268, 285

    section CallTarget+Inlining+NGEN
    This PR (8272) - mean (1,157ms)  : 1116, 1199
    master - mean (1,154ms)  : 1119, 1188

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8272) - mean (279ms)  : 274, 285
    master - mean (275ms)  : 267, 283

    section Bailout
    This PR (8272) - mean (279ms)  : 274, 284
    master - mean (275ms)  : 268, 281

    section CallTarget+Inlining+NGEN
    This PR (8272) - mean (1,041ms)  : 1006, 1076
    master - mean (1,035ms)  : 1000, 1071

Loading

@dudikeleti
dudikeleti force-pushed the dudik/co/default-on branch from b7b0561 to 255d9a8 Compare March 5, 2026 08:50
@dudikeleti
dudikeleti requested a review from a team as a code owner March 5, 2026 08:50
@pr-commenter

pr-commenter Bot commented Mar 5, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-19 10:27:19

Comparing candidate commit 2d7ba45 in PR branch dudik/co/default-on with baseline commit 9886c12 in branch master.

Some scenarios are present only in baseline or only in candidate runs. If you didn't create or remove some scenarios in your branch, this maybe a sign of crashed benchmarks 💥💥💥
Check Gitlab CI job log to find if any benchmark has crashed.

Scenarios present only in baseline:

  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net6.0

Found 2 performance improvements and 4 performance regressions! Performance is the same for 52 metrics, 14 unstable metrics, 86 known flaky benchmarks, 40 flaky benchmarks without significant changes.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartActiveSpan net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.188%; -9.180%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartSpan net6.0

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartSpan_SetActive net6.0

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+7.889%; +7.898%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-5124.096op/s; -4818.403op/s] or [-5.850%; -5.501%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net6.0

  • 🟥 throughput [-75492.532op/s; -68954.175op/s] or [-51.283%; -46.842%]
  • 🟩 execution_time [-30.742ms; -13.467ms] or [-15.255%; -6.683%]

Known flaky benchmarks

These benchmarks are marked as flaky and will not trigger a failure. Modify FLAKY_BENCHMARKS_REGEX to control which benchmarks are marked as flaky.

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0

  • unstable execution_time [-6.272ms; +31.209ms] or [-4.435%; +22.068%]
  • unstable throughput [-12406.638op/s; +15091.111op/s] or [-7.309%; +8.891%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0

  • unstable execution_time [+3.486ms; +38.267ms] or [+2.443%; +26.818%]
  • unstable throughput [-33220.761op/s; -8774.859op/s] or [-22.005%; -5.812%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0

  • unstable execution_time [+17.791ms; +33.350ms] or [+14.049%; +26.335%]
  • unstable throughput [-8780.429op/s; +18966.259op/s] or [-4.782%; +10.330%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1

  • unstable execution_time [+2.843ms; +42.150ms] or [+2.591%; +38.411%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0

  • unstable execution_time [-5.818ms; +14.965ms] or [-4.014%; +10.323%]
  • unstable throughput [-11287.284op/s; +3831.390op/s] or [-8.425%; +2.860%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1

  • unstable execution_time [+6.707ms; +31.397ms] or [+7.239%; +33.887%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0

  • unstable execution_time [+4.664ms; +26.899ms] or [+3.397%; +19.592%]
  • unstable throughput [-18255.604op/s; +5724.554op/s] or [-10.970%; +3.440%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0

  • unstable execution_time [-51.952ms; -29.920ms] or [-31.414%; -18.092%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1

  • unstable execution_time [-42.283ms; +1.180ms] or [-27.528%; +0.768%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.188%; -9.180%]
  • unstable execution_time [+32.597ms; +74.127ms] or [+22.892%; +52.058%]
  • unstable throughput [-64248.715op/s; -40091.827op/s] or [-35.825%; -22.355%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1

  • unstable execution_time [+2.929ms; +42.022ms] or [+2.641%; +37.897%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0

  • unstable execution_time [-31.678ms; +3.212ms] or [-20.481%; +2.076%]
  • unstable throughput [-1027.293op/s; +20266.981op/s] or [-0.764%; +15.073%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1

  • unstable execution_time [-17443.243µs; +18095.835µs] or [-15.826%; +16.418%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0

  • unstable execution_time [-40.279ms; -13.367ms] or [-23.917%; -7.937%]
  • unstable throughput [-9651.820op/s; +28718.612op/s] or [-5.517%; +16.414%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1

  • unstable execution_time [-18714.715µs; +17876.775µs] or [-17.034%; +16.271%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0

  • unstable execution_time [-18902.515µs; +19058.571µs] or [-12.737%; +12.842%]
  • unstable throughput [-9193.708op/s; +17406.705op/s] or [-8.945%; +16.936%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0

  • unstable execution_time [+9.910ms; +37.206ms] or [+6.995%; +26.262%]
  • unstable throughput [-17865.863op/s; -4245.457op/s] or [-14.085%; -3.347%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1

  • unstable execution_time [-32.838ms; -8.012ms] or [-29.719%; -7.251%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0

  • unstable execution_time [-40.070ms; -19.198ms] or [-25.758%; -12.341%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1

  • unstable execution_time [+8.385ms; +33.929ms] or [+9.444%; +38.216%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0

  • 🟩 allocated_mem [-96 bytes; -95 bytes] or [-6.126%; -6.119%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1

  • unstable execution_time [-35.034ms; -9.985ms] or [-31.203%; -8.893%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-6436.359op/s; -5379.724op/s] or [-7.632%; -6.379%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0

  • unstable execution_time [-20.953ms; +3.892ms] or [-10.453%; +1.942%]
  • 🟥 throughput [-64904.468op/s; -57816.992op/s] or [-54.555%; -48.597%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • unstable execution_time [-71.089ms; -42.878ms] or [-35.755%; -21.566%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+306.877ms; +322.281ms] or [+152.283%; +159.927%]
  • 🟥 throughput [-58.979op/s; -46.083op/s] or [-10.612%; -8.291%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • 🟥 execution_time [+98.867ms; +100.559ms] or [+78.111%; +79.448%]
  • 🟩 throughput [+87.117op/s; +93.224op/s] or [+11.486%; +12.291%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 execution_time [+84.964ms; +86.235ms] or [+75.190%; +76.315%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net472

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.528%; +27.540%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net6.0

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+9.299%; +9.310%]
  • 🟩 execution_time [-50.116ms; -29.557ms] or [-23.406%; -13.804%]
  • unstable throughput [-30567.219op/s; -16272.190op/s] or [-22.312%; -11.878%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]
  • unstable execution_time [-51.178ms; -29.551ms] or [-24.371%; -14.072%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net472

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-265396.790op/s; -260497.628op/s] or [-27.098%; -26.598%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+35.945%; +35.954%]
  • 🟩 execution_time [-110.499ms; -88.422ms] or [-49.278%; -39.432%]
  • unstable throughput [-151802.483op/s; -47056.188op/s] or [-16.217%; -5.027%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟩 execution_time [-76.687ms; -58.110ms] or [-38.279%; -29.006%]
  • 🟥 throughput [-134580.420op/s; -115480.505op/s] or [-19.337%; -16.592%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net6.0

  • unstable execution_time [-22.655ms; -1.020ms] or [-11.431%; -0.515%]
  • unstable throughput [-36344.588op/s; -19986.164op/s] or [-23.125%; -12.717%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody netcoreapp3.1

  • 🟩 execution_time [-62.177ms; -45.809ms] or [-31.700%; -23.355%]
  • 🟩 throughput [+10092.408op/s; +12809.499op/s] or [+8.040%; +10.204%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net6.0

  • 🟩 execution_time [-29.420ms; -12.632ms] or [-14.546%; -6.245%]
  • 🟥 throughput [-689553.493op/s; -402742.277op/s] or [-22.993%; -13.429%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • unstable execution_time [-66.643ms; -40.504ms] or [-30.720%; -18.671%]
  • 🟩 throughput [+181104.336op/s; +235972.363op/s] or [+7.189%; +9.366%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net472

  • 🟥 execution_time [+300.960ms; +314.964ms] or [+150.380%; +157.377%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net6.0

  • unstable execution_time [+176.568ms; +224.878ms] or [+89.043%; +113.407%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs netcoreapp3.1

  • unstable execution_time [+251.122ms; +289.314ms] or [+126.496%; +145.734%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472

  • 🟥 execution_time [+299.154ms; +312.893ms] or [+146.933%; +153.680%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net6.0

  • unstable execution_time [+251.873ms; +272.644ms] or [+123.132%; +133.286%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • 🟥 execution_time [+289.307ms; +301.320ms] or [+144.595%; +150.599%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net6.0

  • 🟥 execution_time [+22.310µs; +45.928µs] or [+7.122%; +14.662%]
  • 🟥 throughput [-428.005op/s; -229.263op/s] or [-13.342%; -7.147%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.993ms; +300.751ms] or [+149.728%; +150.106%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • unstable execution_time [+352.839ms; +366.928ms] or [+383.374%; +398.682%]
  • 🟥 throughput [-7026.096op/s; -6857.714op/s] or [-57.734%; -56.351%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest netcoreapp3.1

  • unstable execution_time [+253.493ms; +317.283ms] or [+192.475%; +240.910%]
  • 🟥 throughput [-1672.402op/s; -1441.058op/s] or [-16.190%; -13.950%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+303.418ms; +320.714ms] or [+139.509%; +147.461%]
  • 🟥 throughput [-682.404op/s; -664.564op/s] or [-61.832%; -60.216%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • unstable execution_time [-52.572ms; +81.124ms] or [-22.404%; +34.571%]
  • 🟥 throughput [-691.027op/s; -601.794op/s] or [-46.092%; -40.140%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 allocated_mem [+2.305KB; +2.308KB] or [+5.442%; +5.450%]
  • 🟥 execution_time [+346.342ms; +355.107ms] or [+207.153%; +212.395%]
  • 🟥 throughput [-723.908op/s; -689.741op/s] or [-50.405%; -48.026%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net6.0

  • 🟩 execution_time [-228.207µs; -213.390µs] or [-11.560%; -10.810%]
  • 🟩 throughput [+61.544op/s; +66.291op/s] or [+12.149%; +13.086%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1

  • 🟩 execution_time [-228.312µs; -213.104µs] or [-5.790%; -5.404%]
  • 🟩 throughput [+14.506op/s; +15.590op/s] or [+5.720%; +6.148%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+306.110ms; +320.464ms] or [+154.151%; +161.379%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net6.0

  • 🟥 execution_time [+238.712ms; +248.897ms] or [+119.619%; +124.723%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch netcoreapp3.1

  • 🟥 execution_time [+300.401ms; +307.619ms] or [+150.909%; +154.535%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+304.041ms; +317.786ms] or [+152.679%; +159.582%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net6.0

  • 🟥 execution_time [+196.918ms; +205.679ms] or [+97.367%; +101.699%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1

  • 🟥 execution_time [+303.759ms; +310.473ms] or [+153.958%; +157.361%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+304.217ms; +317.869ms] or [+152.689%; +159.542%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net6.0

  • unstable execution_time [+211.104ms; +279.765ms] or [+105.216%; +139.437%]
  • 🟩 throughput [+45679.799op/s; +56251.733op/s] or [+9.071%; +11.170%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync netcoreapp3.1

  • 🟥 execution_time [+301.886ms; +308.697ms] or [+150.186%; +153.574%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net6.0

  • 🟩 execution_time [-113.656ms; -109.885ms] or [-52.851%; -51.097%]
  • 🟥 throughput [-28346.200op/s; -21454.266op/s] or [-7.776%; -5.886%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1

  • unstable execution_time [-69.505ms; -42.057ms] or [-34.865%; -21.096%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net6.0

  • 🟩 allocated_mem [-19.578KB; -19.557KB] or [-7.142%; -7.134%]
  • unstable execution_time [-78.926µs; -23.188µs] or [-15.599%; -4.583%]
  • unstable throughput [+117.821op/s; +321.533op/s] or [+5.879%; +16.045%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1

  • 🟩 execution_time [-102.768µs; -47.493µs] or [-17.809%; -8.230%]
  • 🟩 throughput [+174.388op/s; +326.289op/s] or [+9.963%; +18.641%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net6.0

  • unstable execution_time [+2.134µs; +7.177µs] or [+5.043%; +16.965%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark netcoreapp3.1

  • unstable execution_time [-14.228µs; -5.106µs] or [-22.075%; -7.921%]
  • unstable throughput [+1524.253op/s; +3484.814op/s] or [+9.352%; +21.380%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+305.397ms; +319.400ms] or [+154.365%; +161.442%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+303.596ms; +306.189ms] or [+154.529%; +155.849%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+299.038ms; +304.988ms] or [+149.705%; +152.684%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0

  • unstable execution_time [-27.891ms; +10.750ms] or [-13.941%; +5.373%]
  • unstable throughput [-209081.238op/s; -117486.082op/s] or [-39.575%; -22.238%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1

  • unstable execution_time [-95.436ms; -70.177ms] or [-48.377%; -35.573%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+301.299ms; +315.627ms] or [+150.170%; +157.312%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net6.0

  • unstable execution_time [+259.361ms; +294.647ms] or [+130.239%; +147.957%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+305.377ms; +311.188ms] or [+154.868%; +157.814%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.637ms; +301.684ms] or [+149.959%; +150.482%]
  • 🟩 throughput [+59969205.875op/s; +60272162.500op/s] or [+43.673%; +43.894%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0

  • unstable execution_time [+368.619ms; +380.903ms] or [+458.443%; +473.720%]
  • 🟥 throughput [-7532.360op/s; -7333.905op/s] or [-58.229%; -56.695%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1

  • 🟥 execution_time [+301.062ms; +302.854ms] or [+150.163%; +151.056%]
  • 🟥 throughput [-29620783.016op/s; -28516710.503op/s] or [-13.120%; -12.631%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0

  • 🟩 execution_time [-96.871ms; -77.098ms] or [-47.446%; -37.761%]
  • unstable throughput [-68955.720op/s; +50806.155op/s] or [-6.438%; +4.744%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1

  • unstable execution_time [-87.809ms; -66.072ms] or [-44.432%; -33.433%]
  • 🟩 throughput [+58767.966op/s; +79173.407op/s] or [+6.802%; +9.164%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net6.0

  • unstable execution_time [-38.364ms; -3.993ms] or [-19.988%; -2.080%]
  • unstable throughput [-422299.425op/s; -220022.066op/s] or [-32.687%; -17.030%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1

  • unstable execution_time [-75.398ms; -48.786ms] or [-37.044%; -23.969%]
  • 🟩 throughput [+97435.074op/s; +108664.800op/s] or [+9.677%; +10.792%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net6.0

  • unstable execution_time [-50.347ms; -18.513ms] or [-25.143%; -9.245%]
  • unstable throughput [-178727.106op/s; -92190.707op/s] or [-32.454%; -16.740%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1

  • unstable execution_time [-72.562ms; -45.781ms] or [-36.458%; -23.002%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0

  • 🟩 execution_time [-107.931ms; -104.225ms] or [-53.985%; -52.131%]
  • 🟩 throughput [+47555.547op/s; +67161.923op/s] or [+5.313%; +7.504%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@dudikeleti
dudikeleti force-pushed the dudik/co/default-on branch from 255d9a8 to fec813c Compare March 5, 2026 10:10

@andrewlock andrewlock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall, just a couple of things, but I think the integration test one is going to be a big one unfortunately 😅 IMO, if this is on by default, then it should be on by default in our integration tests too. Which is going to mean a lot of snapshot changes, but also means you may need to update other assumptions too (e.g. validation )

Comment thread tracer/src/Datadog.Trace/Debugger/SpanCodeOrigin/SpanCodeOrigin.cs
Comment thread tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TracingIntegrationTest.cs Outdated
@dudikeleti
dudikeleti force-pushed the dudik/co/default-on branch from fec813c to 6d72596 Compare March 5, 2026 19:27
@github-actions

github-actions Bot commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

Snapshots difference summary

The following differences have been observed in committed snapshots. It is meant to help the reviewer.
The diff is simplistic, so please check some files anyway while we improve it.

3 occurrences of :

+        "_dd.code_origin.type": "entry",
+        "_dd.code_origin.frames.0.index": "0",
+        "_dd.code_origin.frames.0.method": "Get",
+        "_dd.code_origin.frames.0.type": "AspNetCoreSmokeTest.ValuesController",
+        "_dd.code_origin.frames.0.file": "/src/ValuesController.cs",
+        "_dd.code_origin.frames.0.line": "19",
+        "_dd.code_origin.frames.0.column": "13"

1 occurrences of :

+        "_dd.code_origin.type": "entry",
+        "_dd.code_origin.frames.0.index": "0",
+        "_dd.code_origin.frames.0.method": "Get",
+        "_dd.code_origin.frames.0.type": "AspNetCoreSmokeTest.ValuesController",
+        "_dd.code_origin.frames.0.file": "C:\\src\\ValuesController.cs",
+        "_dd.code_origin.frames.0.line": "19",
+        "_dd.code_origin.frames.0.column": "13"

37 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\HomeController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.HomeController,
+      _dd.code_origin.type: entry

34 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\HomeController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: ThrowException,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.HomeController,
+      _dd.code_origin.type: entry

26 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\HomeController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: Delay,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.HomeController,
+      _dd.code_origin.type: entry

31 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\HomeController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: HandledException,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.HomeController,
+      _dd.code_origin.type: entry

26 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\HomeController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: StatusCodeTestString,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.HomeController,
+      _dd.code_origin.type: entry

83 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\HomeController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: StatusCodeTest,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.HomeController,
+      _dd.code_origin.type: entry

17 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\ApiController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: Delay,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.ApiController,
+      _dd.code_origin.type: entry

3 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\OtelBaggageController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: ClearBaggage,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.OtelBaggageController,
+      _dd.code_origin.type: entry

3 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\OtelBaggageController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: GetBaggageName,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.OtelBaggageController,
+      _dd.code_origin.type: entry

3 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\OtelBaggageController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: GetBaggage,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.OtelBaggageController,
+      _dd.code_origin.type: entry

3 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\OtelBaggageController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: GetCurrent,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.OtelBaggageController,
+      _dd.code_origin.type: entry

3 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\OtelBaggageController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: GetEnumerator,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.OtelBaggageController,
+      _dd.code_origin.type: entry

3 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\OtelBaggageController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: RemoveBaggage,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.OtelBaggageController,
+      _dd.code_origin.type: entry

6 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\OtelBaggageController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: SetBaggageItems,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.OtelBaggageController,
+      _dd.code_origin.type: entry

6 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\OtelBaggageController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: SetBaggage,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.OtelBaggageController,
+      _dd.code_origin.type: entry

6 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.AspNetCoreMvc21\Controllers\OtelBaggageController.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: SetCurrent,
+      _dd.code_origin.frames.0.type: Samples.AspNetCoreMvc.Controllers.OtelBaggageController,
+      _dd.code_origin.type: entry

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: AllVulnerabilitiesCookie,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: SafeCookie,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: AllVulnerabilitiesCookie,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: SafeCookie,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ExecuteCommand,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

6 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ExecuteCommand,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: TestCookieName,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ExecuteCommandFromCookie,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ExecuteCommandFromCookie,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: CustomAttribute,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: CustomManual,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: DatabaseSourceInjection,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: SendEmail,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: HardcodedSecrets,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: HardcodedSecrets,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: HeaderInjection,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

16 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: HeaderInjection,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ExecuteCommandFromHeader,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ExecuteCommandFromHeader,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: InsecureAuthProtocol,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

4 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: InsecureAuthProtocol,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: TestJsonTagSizeExceeded,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Ldap,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Ldap,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

4 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: MaxRanges,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

3 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: TypeReflectionInjection,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: NHibernateQuery,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: NHibernateQuery,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: NewtonsoftJsonParseTainting,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: NoSqlQueryMongoDb,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: NoSqlQueryMongoDb,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: GetFileContent,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

11 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: GetFileContent,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: PrintReport,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ReflectedXss,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

3 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ReflectedXss,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ReflectedXssEscaped,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ReflectedXssEscaped,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ExecuteQueryFromBodyQueryData,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

5 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: ExecuteQueryFromBodyQueryData,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: OnPost,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.DataRazorIastPageModel,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: OnPost,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.DataRazorIastPageModel,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Ssrf,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Ssrf,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: SqlQuery,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: SqlQuery,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: InterpolatedSqlString,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: StackTraceLeak,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

3 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: WeakHashing,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: InsecureCookie,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: StoredSqli,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: StoredXss,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: StoredXssEscaped,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

9 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: StrictTransportSecurity,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: SystemTextJsonParseTainting,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: TrustBoundaryViolation,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: TrustBoundaryViolation,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Redirected,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: UnvalidatedRedirect,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Redirected,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: UnvalidatedRedirect,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

6 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Sampling,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: WeakHashing,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: WeakRandomness,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: WeakRandomness,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

6 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: XContentTypeHeaderMissing,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: XpathInjection,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.Ocelot.DistributedTracing\Program.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: <<Main>$>b__0_3,
+      _dd.code_origin.frames.0.type: Program+<>c,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: SsrfAttack,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.IastController,
+      _dd.code_origin.type: entry,

3 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: EmptyModel,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.DataApiController,
+      _dd.code_origin.type: entry,

11 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Model,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.DataApiController,
+      _dd.code_origin.type: entry,

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: DownstreamToSelf,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.RaspController,
+      _dd.code_origin.type: entry,

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: EchoPost,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.RaspController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: DownstreamToSelfPost,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.RaspController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: EchoGet,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.RaspController,
+      _dd.code_origin.type: entry,

10 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.HomeController,
+      _dd.code_origin.type: entry

15 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Params,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.HealthController,
+      _dd.code_origin.type: entry

5 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: <RegisterEndpointsRouting>b__0_0,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Endpoints.Endpoints+<>c,
+      _dd.code_origin.type: entry

20 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.HealthController,
+      _dd.code_origin.type: entry

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: NullAction,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.HomeController,
+      _dd.code_origin.type: entry

5 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Model,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.DataController,
+      _dd.code_origin.type: entry,

15 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: OnPost,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.DataRazorPageModel,
+      _dd.code_origin.type: entry,

15 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Params,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.HealthController,
+      _dd.code_origin.type: entry,

5 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: <RegisterEndpointsRouting>b__0_0,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Endpoints.Endpoints+<>c,
+      _dd.code_origin.type: entry,

38 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.HealthController,
+      _dd.code_origin.type: entry,

10 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: LangHeader,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.HomeController,
+      _dd.code_origin.type: entry,

5 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: IndexForm,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.StatusController,
+      _dd.code_origin.type: entry,

4 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.HomeController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: NullAction,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.HomeController,
+      _dd.code_origin.type: entry,

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.UserController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.UserController,
+      _dd.code_origin.type: entry,

27 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.AccountController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: SomeAuthenticatedAction,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.AccountController,
+      _dd.code_origin.type: entry

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: TrackLoginSdk,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.UserController,
+      _dd.code_origin.type: entry

5 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.AccountController,
+      _dd.code_origin.type: entry

1 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: SomeAuthenticatedAction,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.AccountController,
+      _dd.code_origin.type: entry,

8 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: TrackLoginSdk,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.UserController,
+      _dd.code_origin.type: entry,

2 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Index,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCore5.Controllers.CreateExtraServiceController,
+      _dd.code_origin.type: entry,

5 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Get,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCoreBare.Controllers.GoodController,
+      _dd.code_origin.type: entry,

5 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Get,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCoreBare.Controllers.VoidController,
+      _dd.code_origin.type: entry,

5 occurrences of :

+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.method: Get,
+      _dd.code_origin.frames.0.type: Samples.Security.AspNetCoreBare.Controllers.BadController,
+      _dd.code_origin.type: entry,

1 occurrences of :

+      _dd.code_origin.frames.0.column: 0,
+      _dd.code_origin.frames.0.file: tracer\test\test-applications\integrations\Samples.Yarp.DistributedTracing\Startup.cs,
+      _dd.code_origin.frames.0.index: 0,
+      _dd.code_origin.frames.0.line: 0,
+      _dd.code_origin.frames.0.method: <Configure>b__3_1,
+      _dd.code_origin.frames.0.type: Samples.Yarp.DistributedTracing.Startup+<>c,
+      _dd.code_origin.type: entry

@dudikeleti
dudikeleti force-pushed the dudik/co/default-on branch 6 times, most recently from 330d263 to 8d96b96 Compare March 18, 2026 16:54
@dudikeleti
dudikeleti force-pushed the dudik/co/default-on branch 3 times, most recently from 77573be to 5cc7c47 Compare April 14, 2026 22:02
@dudikeleti
dudikeleti requested a review from Copilot April 15, 2026 08:12
@dudikeleti
dudikeleti force-pushed the dudik/co/default-on branch from a72a69c to 4aa179b Compare May 19, 2026 08:59
@datadog-datadog-prod-us1-2

Copy link
Copy Markdown
Contributor

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/apm-reliability/dd-trace-dotnet | check-big-regressions   View in Datadog   GitLab

🔧 Fix in code (Fix with Cursor). Execution of Regression Check failed with exit code 5.

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 2d7ba45 | Docs | Datadog PR Page | Give us feedback!

@dudikeleti
dudikeleti enabled auto-merge (squash) May 19, 2026 10:59
@dudikeleti
dudikeleti merged commit ea167be into master May 19, 2026
138 of 141 checks passed
@dudikeleti
dudikeleti deleted the dudik/co/default-on branch May 19, 2026 11:16
@github-actions github-actions Bot added this to the vNext-v3 milestone May 19, 2026
dudikeleti added a commit that referenced this pull request May 20, 2026
…#8659)

## Summary of changes

- Add `/p:PathMap=$(smokeTestAppDir)=/src` to the macOS smoke-test
publish step in `.azure-pipelines/ultimate-pipeline.yml`, mirroring the
`PathMap` already used by every Linux/Windows smoke-test Dockerfile.
- Update
`tracer/build/smoke_test_snapshots/smoke_test_iis_snapshots.json` so
`_dd.code_origin.frames.0.file` is `/src/ValuesController.cs` (the value
the Windows IIS Fleet Dockerfile actually emits).

## Reason for change

- After #8272 (Code Origin on by default), `smoke_macos_tool_tests`
failed on master for all 13 `macos*` jobs because the macOS pipeline
builds `AspNetCoreSmokeTest` directly on the host (no Docker, no
`PathMap`), so PDB sequence points contained
`/Users/runner/work/1/s/tracer/test/test-applications/regression/AspNetCoreSmokeTest/ValuesController.cs`
instead of the snapshot's expected `/src/ValuesController.cs`.
- The same PR added `/p:PathMap=C:\src=/src` to
`smoke.windows.iis.fleet-installer.dockerfile`, so the runtime now emits
`/src/ValuesController.cs`, but `smoke_test_iis_snapshots.json` was
approved with `C:\\src\\ValuesController.cs`, breaking
`smoke_win_fleet_tests`.

## Implementation details

- macOS: `$(smokeTestAppDir)` resolves to
`$(System.DefaultWorkingDirectory)/tracer/test/test-applications/regression/AspNetCoreSmokeTest`,
so `PathMap=$(smokeTestAppDir)=/src` rewrites every embedded source path
under that directory to `/src/...`. This matches the layout produced by
the Linux `WORKDIR /src` Dockerfiles, keeping a single shared
`smoke_test_snapshots.json` for all Linux/macOS smoke tests.
- IIS: only `WindowsFleetInstallerIisScenario` reads
`smoke_test_iis_snapshots`, and its Dockerfile already applies
`PathMap=C:\src=/src`, so updating the snapshot to
`/src/ValuesController.cs` aligns the expected value with actual runtime
output rather than re-introducing a divergent path.
- No tracer code or runtime behavior changes; this is purely a
CI/snapshot fix limited to two files (`+2 / -2`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants