[Code Origin] Disable code origin for exit spans#7610
Conversation
|
cb69277 to
f4295ac
Compare
Snapshots difference summaryThe following differences have been observed in committed snapshots. It is meant to help the reviewer. 13 occurrences of : - version: 1.0.0,
- _dd.code_origin.type: exit
+ version: 1.0.0
14 occurrences of : - _dd.code_origin.type: exit,
|
bouwkast
left a comment
There was a problem hiding this comment.
Just some comment nits, but also wondering why we are disabling it and whether or not this will cause any issues if customers needed it?
tracer/src/Datadog.Trace/Debugger/SpanCodeOrigin/SpanCodeOrigin.cs
Outdated
Show resolved
Hide resolved
tracer/test/Datadog.Trace.Tests/Debugger/SpanCodeOriginTests.cs
Outdated
Show resolved
Hide resolved
tracer/test/Datadog.Trace.Tests/Debugger/SpanCodeOriginTests.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Steven Bouwkamp <steven.bouwkamp@datadoghq.com>
Co-authored-by: Steven Bouwkamp <steven.bouwkamp@datadoghq.com>
…n.cs Co-authored-by: Steven Bouwkamp <steven.bouwkamp@datadoghq.com>
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing the following branches/commits: 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 shown 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). gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7610) - mean (72ms) : 71, 73
. : milestone, 72,
master - mean (72ms) : 71, 73
. : milestone, 72,
section Baseline
This PR (7610) - mean (68ms) : 67, 70
. : milestone, 68,
master - mean (69ms) : 66, 72
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (7610) - mean (1,048ms) : 997, 1100
. : milestone, 1048,
master - mean (1,050ms) : 996, 1105
. : milestone, 1050,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7610) - mean (106ms) : 105, 108
. : milestone, 106,
master - mean (106ms) : 105, 107
. : milestone, 106,
section Baseline
This PR (7610) - mean (105ms) : 103, 107
. : milestone, 105,
master - mean (106ms) : 103, 108
. : milestone, 106,
section CallTarget+Inlining+NGEN
This PR (7610) - mean (743ms) : 720, 766
. : milestone, 743,
master - mean (743ms) : 718, 768
. : milestone, 743,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7610) - mean (94ms) : 93, 95
. : milestone, 94,
master - mean (94ms) : 93, 95
. : milestone, 94,
section Baseline
This PR (7610) - mean (93ms) : 91, 96
. : milestone, 93,
master - mean (93ms) : 91, 96
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (7610) - mean (703ms) : 685, 721
. : milestone, 703,
master - mean (702ms) : 682, 723
. : milestone, 702,
gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7610) - mean (93ms) : 92, 94
. : milestone, 93,
master - mean (93ms) : 92, 94
. : milestone, 93,
section Baseline
This PR (7610) - mean (92ms) : 90, 93
. : milestone, 92,
master - mean (92ms) : 89, 95
. : milestone, 92,
section CallTarget+Inlining+NGEN
This PR (7610) - mean (661ms) : 647, 675
. : milestone, 661,
master - mean (662ms) : 648, 677
. : milestone, 662,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7610) - mean (201ms) : 198, 203
. : milestone, 201,
master - mean (199ms) : 196, 202
. : milestone, 199,
section Baseline
This PR (7610) - mean (196ms) : 191, 201
. : milestone, 196,
master - mean (196ms) : 192, 200
. : milestone, 196,
section CallTarget+Inlining+NGEN
This PR (7610) - mean (1,191ms) : 1123, 1260
. : milestone, 1191,
master - mean (1,177ms) : 1116, 1237
. : milestone, 1177,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7610) - mean (282ms) : 277, 287
. : milestone, 282,
master - mean (283ms) : 279, 286
. : milestone, 283,
section Baseline
This PR (7610) - mean (282ms) : 276, 288
. : milestone, 282,
master - mean (282ms) : 275, 288
. : milestone, 282,
section CallTarget+Inlining+NGEN
This PR (7610) - mean (946ms) : 907, 985
. : milestone, 946,
master - mean (944ms) : 903, 986
. : milestone, 944,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7610) - mean (276ms) : 269, 283
. : milestone, 276,
master - mean (276ms) : 266, 285
. : milestone, 276,
section Baseline
This PR (7610) - mean (275ms) : 269, 281
. : milestone, 275,
master - mean (275ms) : 268, 281
. : milestone, 275,
section CallTarget+Inlining+NGEN
This PR (7610) - mean (936ms) : 898, 973
. : milestone, 936,
master - mean (937ms) : 888, 985
. : milestone, 937,
gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7610) - mean (274ms) : 268, 280
. : milestone, 274,
master - mean (274ms) : 267, 281
. : milestone, 274,
section Baseline
This PR (7610) - mean (273ms) : 269, 277
. : milestone, 273,
master - mean (273ms) : 269, 278
. : milestone, 273,
section CallTarget+Inlining+NGEN
This PR (7610) - mean (873ms) : 847, 899
. : milestone, 873,
master - mean (868ms) : 840, 896
. : milestone, 868,
|
Summary of changes
Disabled code origin for exit spans while preserving the functionality for entry spans.
Test coverage
SetCodeOrigin_WhenEnabled_SetsCorrectTags
SetCodeOrigin_WithMaxFramesLimit_RespectsLimit