[Code Origin] DEBUG-4174 - Make Code Origin on by default#8272
Conversation
There was a problem hiding this comment.
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_ENABLEDdefault totrue(including generated docs and supported-config metadata). - Add Code Origin tag properties to
AspNetCoreTags(and generated tag-list implementations) and use them inSpanCodeOriginfor 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
CodeOriginForSpansEnablednow defaults to true, so this expression will evaluate totruewheneverCodeOriginForSpansCanBeEnabledis true. That makes the|| DynamicInstrumentationEnabledclause 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.
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (8272) and master. ✅ No regressions detected - check the details below Full Metrics ComparisonFakeDbCommand
HttpMessageHandler
Comparison explanationExecution-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:
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 chartsFakeDbCommand (.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
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
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
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
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
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
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
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
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
b7b0561 to
255d9a8
Compare
BenchmarksBenchmark execution time: 2026-05-19 10:27:19 Comparing candidate commit 2d7ba45 in PR branch 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 💥💥💥 Scenarios present only in baseline:
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.
|
255d9a8 to
fec813c
Compare
andrewlock
left a comment
There was a problem hiding this comment.
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 )
fec813c to
6d72596
Compare
Snapshots difference summaryThe following differences have been observed in committed snapshots. It is meant to help the reviewer. 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
|
330d263 to
8d96b96
Compare
77573be to
5cc7c47
Compare
a72a69c to
4aa179b
Compare
|
…#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`).
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
CodeOriginForSpansEnablednow usesWithDefault(true).Explicit
DD_CODE_ORIGIN_FOR_SPANS_ENABLED=falsestill hard-disables.Reduce allocations/locking on the entry-span hot path by leveraging generated tag properties for Code Origin fields.
AspNetCoreTagsandAspNetCoreSingleSpanTagsadd generated[Tag]properties for entry Code Origin tags, scoped to ASP.NET Core entry spans.ITagswrite path.Test coverage
Updated focused unit coverage:
Datadog.Trace.Tests.Debugger.SpanCodeOriginTestsDatadog.Trace.Tests.Debugger.DebuggerSettingsTestsDatadog.Trace.Tests.DiagnosticListeners.AspNetCoreDiagnosticObserverTestsDatadog.Trace.Debugger.IntegrationTests.DebuggerManagerTestsDatadog.Trace.Debugger.IntegrationTests.DebuggerManagerDynamicTestsUpdated 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.