enable baggage propagator by default#6258
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @lucaspimentel and the rest of your teammates on |
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.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6258) - mean (69ms) : 68, 71
. : milestone, 69,
master - mean (70ms) : 68, 72
. : milestone, 70,
section CallTarget+Inlining+NGEN
This PR (6258) - mean (1,112ms) : 1088, 1136
. : milestone, 1112,
master - mean (1,109ms) : 1089, 1130
. : milestone, 1109,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6258) - mean (108ms) : 106, 110
. : milestone, 108,
master - mean (108ms) : 106, 111
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (6258) - mean (775ms) : 765, 785
. : milestone, 775,
master - mean (774ms) : 761, 787
. : milestone, 774,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6258) - mean (92ms) : 90, 94
. : milestone, 92,
master - mean (92ms) : 89, 94
. : milestone, 92,
section CallTarget+Inlining+NGEN
This PR (6258) - mean (731ms) : 714, 748
. : milestone, 731,
master - mean (731ms) : 714, 749
. : milestone, 731,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6258) - mean (191ms) : 188, 194
. : milestone, 191,
master - mean (190ms) : 187, 194
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6258) - mean (1,222ms) : 1198, 1246
. : milestone, 1222,
master - mean (1,221ms) : 1196, 1245
. : milestone, 1221,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6258) - mean (276ms) : 273, 280
. : milestone, 276,
master - mean (276ms) : 271, 280
. : milestone, 276,
section CallTarget+Inlining+NGEN
This PR (6258) - mean (954ms) : 928, 979
. : milestone, 954,
master - mean (949ms) : 929, 970
. : milestone, 949,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6258) - mean (264ms) : 260, 269
. : milestone, 264,
master - mean (264ms) : 261, 268
. : milestone, 264,
section CallTarget+Inlining+NGEN
This PR (6258) - mean (933ms) : 915, 951
. : milestone, 933,
master - mean (937ms) : 912, 962
. : milestone, 937,
|
Datadog ReportBranch report: ✅ 0 Failed, 367718 Passed, 2077 Skipped, 14h 50m 8.14s Total Time |
Throughput/Crank Report ⚡Throughput results for AspNetCoreSimpleController comparing the following branches/commits: Cases where throughput results for the PR are worse than latest master (5% drop or greater), results are shown in red. Note that these results are based on a single point-in-time result for each branch. For full results, see one of the many, many dashboards! gantt
title Throughput Linux x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6258) (11.114M) : 0, 11113592
master (10.997M) : 0, 10996753
benchmarks/2.9.0 (11.033M) : 0, 11032866
section Automatic
This PR (6258) (7.221M) : 0, 7221439
master (7.329M) : 0, 7329017
benchmarks/2.9.0 (7.786M) : 0, 7785853
section Trace stats
master (7.585M) : 0, 7585394
section Manual
master (11.125M) : 0, 11125496
section Manual + Automatic
This PR (6258) (6.618M) : 0, 6617986
master (6.809M) : 0, 6808876
section DD_TRACE_ENABLED=0
master (10.150M) : 0, 10150367
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6258) (9.682M) : 0, 9682306
master (9.707M) : 0, 9707388
benchmarks/2.9.0 (9.495M) : 0, 9494821
section Automatic
This PR (6258) (6.428M) : 0, 6427746
master (6.476M) : 0, 6475612
section Trace stats
master (6.777M) : 0, 6777106
section Manual
master (9.734M) : 0, 9734034
section Manual + Automatic
This PR (6258) (6.114M) : 0, 6113804
master (6.059M) : 0, 6058944
section DD_TRACE_ENABLED=0
master (8.813M) : 0, 8813139
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6258) (10.021M) : 0, 10021488
master (9.993M) : 0, 9992615
benchmarks/2.9.0 (10.020M) : 0, 10019592
section Automatic
This PR (6258) (6.540M) : 0, 6539873
master (6.458M) : 0, 6457816
benchmarks/2.9.0 (7.255M) : 0, 7255257
section Trace stats
master (7.238M) : 0, 7237969
section Manual
master (9.898M) : 0, 9898436
section Manual + Automatic
This PR (6258) (6.001M) : 0, 6001382
master (5.998M) : 0, 5998172
section DD_TRACE_ENABLED=0
master (9.390M) : 0, 9390453
|
Benchmarks Report for tracer 🐌Benchmarks for #6258 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.SpanBenchmark - Slower
|
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1 | 1.131 | 573.45 | 648.74 |
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0 | 1.206 | 479.53 | 397.60 | bimodal |
| Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1 | 1.131 | 781.10 | 690.46 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartFinishSpan |
net6.0 | 482ns | 2.58ns | 13.9ns | 0.00804 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 573ns | 0.61ns | 2.36ns | 0.008 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 776ns | 0.219ns | 0.848ns | 0.0917 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 544ns | 0.244ns | 0.946ns | 0.00979 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 781ns | 0.534ns | 2.07ns | 0.00959 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 884ns | 1.48ns | 5.74ns | 0.104 | 0 | 0 | 658 B |
| #6258 | StartFinishSpan |
net6.0 | 397ns | 0.268ns | 1.04ns | 0.00815 | 0 | 0 | 576 B |
| #6258 | StartFinishSpan |
netcoreapp3.1 | 649ns | 0.949ns | 3.68ns | 0.00775 | 0 | 0 | 576 B |
| #6258 | StartFinishSpan |
net472 | 723ns | 0.797ns | 3.09ns | 0.0917 | 0 | 0 | 578 B |
| #6258 | StartFinishScope |
net6.0 | 507ns | 0.325ns | 1.22ns | 0.00976 | 0 | 0 | 696 B |
| #6258 | StartFinishScope |
netcoreapp3.1 | 691ns | 0.636ns | 2.29ns | 0.00939 | 0 | 0 | 696 B |
| #6258 | StartFinishScope |
net472 | 821ns | 0.904ns | 3.5ns | 0.105 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunOnMethodBegin |
net6.0 | 682ns | 0.401ns | 1.55ns | 0.0099 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 937ns | 0.436ns | 1.69ns | 0.00899 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.1μs | 0.356ns | 1.38ns | 0.104 | 0 | 0 | 658 B |
| #6258 | RunOnMethodBegin |
net6.0 | 618ns | 0.386ns | 1.44ns | 0.00985 | 0 | 0 | 696 B |
| #6258 | RunOnMethodBegin |
netcoreapp3.1 | 935ns | 0.769ns | 2.98ns | 0.00899 | 0 | 0 | 696 B |
| #6258 | RunOnMethodBegin |
net472 | 1.12μs | 1.27ns | 4.92ns | 0.104 | 0 | 0 | 658 B |
2d5f25e to
f7a7862
Compare
f7a7862 to
9ee5013
Compare
9ee5013 to
6f8057c
Compare
Merge activity
|

Summary of changes
Missed from #6158 😅
Reason for change
Adding support for OpenTelemetry baggage.
Implementation details
Add
"baggage"to the default list of propagators inDD_TRACE_PROPAGATION_STYLE.Test coverage
Fixed all failing tests after the change, including
bonus:
Other details
Follow-up from #6158.