-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v3] Fix SpanContextInjectorExtractorTests
to account for tracestate
#5479
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 24329 Passed, 68 Skipped, 5m 23.67s Wall Time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
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 (5479) - mean (75ms) : 62, 88
. : milestone, 75,
master - mean (73ms) : 65, 81
. : milestone, 73,
section CallTarget+Inlining+NGEN
This PR (5479) - mean (1,033ms) : 1013, 1053
. : milestone, 1033,
master - mean (1,017ms) : 994, 1041
. : milestone, 1017,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5479) - mean (109ms) : 105, 113
. : milestone, 109,
master - mean (108ms) : 106, 111
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (5479) - mean (746ms) : 724, 767
. : milestone, 746,
master - mean (729ms) : 708, 750
. : milestone, 729,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5479) - mean (94ms) : 92, 97
. : milestone, 94,
master - mean (94ms) : 90, 98
. : milestone, 94,
section CallTarget+Inlining+NGEN
This PR (5479) - mean (714ms) : 685, 743
. : milestone, 714,
master - mean (687ms) : 663, 710
. : milestone, 687,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5479) - mean (190ms) : 187, 193
. : milestone, 190,
master - mean (190ms) : 187, 194
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (5479) - mean (1,110ms) : 1080, 1141
. : milestone, 1110,
master - mean (1,097ms) : 1068, 1126
. : milestone, 1097,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5479) - mean (276ms) : 271, 280
. : milestone, 276,
master - mean (275ms) : 270, 279
. : milestone, 275,
section CallTarget+Inlining+NGEN
This PR (5479) - mean (892ms) : 869, 915
. : milestone, 892,
master - mean (885ms) : 860, 910
. : milestone, 885,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5479) - mean (266ms) : 259, 273
. : milestone, 266,
master - mean (264ms) : 259, 268
. : milestone, 264,
section CallTarget+Inlining+NGEN
This PR (5479) - mean (885ms) : 859, 910
. : milestone, 885,
master - mean (870ms) : 840, 900
. : milestone, 870,
|
Benchmarks Report for tracer 🐌Benchmarks for #5479 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 ✔️ Fewer allocations 🎉
|
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.7 KB | 41.43 KB | -269 B | -0.65% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 537μs | 1.46μs | 5.67μs | 0.556 | 0 | 0 | 41.7 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 654μs | 2.81μs | 10.9μs | 0.324 | 0 | 0 | 41.86 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 844μs | 3.75μs | 14.5μs | 8.42 | 2.66 | 0.443 | 53.27 KB |
#5479 | WriteAndFlushEnrichedTraces |
net6.0 | 529μs | 254ns | 984ns | 0.548 | 0 | 0 | 41.43 KB |
#5479 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 662μs | 2.04μs | 7.9μs | 0.331 | 0 | 0 | 41.93 KB |
#5479 | WriteAndFlushEnrichedTraces |
net472 | 870μs | 4.19μs | 16.2μs | 8.08 | 2.55 | 0.425 | 53.28 KB |
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteNonQuery |
net6.0 | 1.14μs | 0.565ns | 2.11ns | 0.0115 | 0 | 0 | 808 B |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.47μs | 0.39ns | 1.41ns | 0.0104 | 0 | 0 | 808 B |
master | ExecuteNonQuery |
net472 | 1.81μs | 0.541ns | 2.09ns | 0.122 | 0 | 0 | 770 B |
#5479 | ExecuteNonQuery |
net6.0 | 1.17μs | 0.436ns | 1.69ns | 0.0117 | 0 | 0 | 808 B |
#5479 | ExecuteNonQuery |
netcoreapp3.1 | 1.56μs | 0.579ns | 2.17ns | 0.011 | 0 | 0 | 808 B |
#5479 | ExecuteNonQuery |
net472 | 1.81μs | 2.54ns | 9.51ns | 0.122 | 0 | 0 | 770 B |
Benchmarks.Trace.ElasticsearchBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #5479
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net6.0
1.126
1,540.69
1,368.87
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net6.0 | 1.126 | 1,540.69 | 1,368.87 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.31μs | 0.814ns | 3.05ns | 0.0144 | 0 | 0 | 1.03 KB |
master | CallElasticsearch |
netcoreapp3.1 | 1.58μs | 0.518ns | 2.01ns | 0.0141 | 0 | 0 | 1.03 KB |
master | CallElasticsearch |
net472 | 2.51μs | 1.22ns | 4.56ns | 0.165 | 0 | 0 | 1.04 KB |
master | CallElasticsearchAsync |
net6.0 | 1.54μs | 0.704ns | 2.64ns | 0.0139 | 0 | 0 | 1.01 KB |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.74μs | 3.08ns | 11.9ns | 0.0147 | 0 | 0 | 1.08 KB |
master | CallElasticsearchAsync |
net472 | 2.62μs | 1.87ns | 7.23ns | 0.174 | 0 | 0 | 1.1 KB |
#5479 | CallElasticsearch |
net6.0 | 1.27μs | 1.01ns | 3.92ns | 0.0145 | 0 | 0 | 1.03 KB |
#5479 | CallElasticsearch |
netcoreapp3.1 | 1.62μs | 0.721ns | 2.7ns | 0.0138 | 0 | 0 | 1.03 KB |
#5479 | CallElasticsearch |
net472 | 2.62μs | 1.07ns | 3.87ns | 0.165 | 0 | 0 | 1.04 KB |
#5479 | CallElasticsearchAsync |
net6.0 | 1.37μs | 0.435ns | 1.63ns | 0.0144 | 0 | 0 | 1.01 KB |
#5479 | CallElasticsearchAsync |
netcoreapp3.1 | 1.73μs | 1.51ns | 5.65ns | 0.0146 | 0 | 0 | 1.08 KB |
#5479 | CallElasticsearchAsync |
net472 | 2.64μs | 1.42ns | 5.11ns | 0.174 | 0 | 0 | 1.1 KB |
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteAsync |
net6.0 | 1.28μs | 0.711ns | 2.75ns | 0.0135 | 0 | 0 | 952 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.76μs | 0.779ns | 3.02ns | 0.0123 | 0 | 0 | 952 B |
master | ExecuteAsync |
net472 | 1.81μs | 0.82ns | 3.18ns | 0.145 | 0 | 0 | 915 B |
#5479 | ExecuteAsync |
net6.0 | 1.33μs | 0.88ns | 3.29ns | 0.0134 | 0 | 0 | 952 B |
#5479 | ExecuteAsync |
netcoreapp3.1 | 1.68μs | 0.649ns | 2.43ns | 0.0126 | 0 | 0 | 952 B |
#5479 | ExecuteAsync |
net472 | 1.87μs | 0.711ns | 2.75ns | 0.145 | 0 | 0 | 915 B |
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendAsync |
net6.0 | 4.22μs | 1.72ns | 6.21ns | 0.0316 | 0 | 0 | 2.27 KB |
master | SendAsync |
netcoreapp3.1 | 5.18μs | 1.97ns | 7.65ns | 0.0392 | 0 | 0 | 2.81 KB |
master | SendAsync |
net472 | 7.83μs | 2ns | 7.48ns | 0.502 | 0 | 0 | 3.18 KB |
#5479 | SendAsync |
net6.0 | 4.19μs | 1.32ns | 4.96ns | 0.0312 | 0 | 0 | 2.27 KB |
#5479 | SendAsync |
netcoreapp3.1 | 5.26μs | 1.95ns | 7.29ns | 0.037 | 0 | 0 | 2.81 KB |
#5479 | SendAsync |
net472 | 7.74μs | 3.03ns | 11.7ns | 0.503 | 0 | 0 | 3.18 KB |
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 1.56μs | 0.265ns | 0.919ns | 0.0244 | 0 | 0 | 1.7 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.28μs | 1.74ns | 6.74ns | 0.0232 | 0 | 0 | 1.7 KB |
master | EnrichedLog |
net472 | 2.75μs | 1.83ns | 6.33ns | 0.257 | 0 | 0 | 1.62 KB |
#5479 | EnrichedLog |
net6.0 | 1.51μs | 0.913ns | 3.42ns | 0.0234 | 0 | 0 | 1.7 KB |
#5479 | EnrichedLog |
netcoreapp3.1 | 2.36μs | 1.28ns | 4.61ns | 0.0234 | 0 | 0 | 1.7 KB |
#5479 | EnrichedLog |
net472 | 2.8μs | 0.974ns | 3.64ns | 0.257 | 0 | 0 | 1.62 KB |
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 112μs | 181ns | 702ns | 0.0559 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 120μs | 179ns | 691ns | 0 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 149μs | 136ns | 527ns | 0.684 | 0.228 | 0 | 4.46 KB |
#5479 | EnrichedLog |
net6.0 | 113μs | 176ns | 680ns | 0.0564 | 0 | 0 | 4.28 KB |
#5479 | EnrichedLog |
netcoreapp3.1 | 120μs | 284ns | 1.1μs | 0.0609 | 0 | 0 | 4.28 KB |
#5479 | EnrichedLog |
net472 | 150μs | 207ns | 801ns | 0.68 | 0.227 | 0 | 4.46 KB |
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 3.12μs | 0.916ns | 3.3ns | 0.0326 | 0 | 0 | 2.25 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.18μs | 2.9ns | 11.2ns | 0.0295 | 0 | 0 | 2.25 KB |
master | EnrichedLog |
net472 | 4.84μs | 1.77ns | 6.84ns | 0.329 | 0 | 0 | 2.07 KB |
#5479 | EnrichedLog |
net6.0 | 3.05μs | 1.38ns | 5.16ns | 0.0322 | 0 | 0 | 2.25 KB |
#5479 | EnrichedLog |
netcoreapp3.1 | 4.27μs | 3.12ns | 12.1ns | 0.03 | 0 | 0 | 2.25 KB |
#5479 | EnrichedLog |
net472 | 4.83μs | 1.63ns | 6.31ns | 0.328 | 0 | 0 | 2.07 KB |
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendReceive |
net6.0 | 1.49μs | 0.721ns | 2.79ns | 0.0164 | 0 | 0 | 1.2 KB |
master | SendReceive |
netcoreapp3.1 | 1.8μs | 2.58ns | 9.99ns | 0.0161 | 0 | 0 | 1.2 KB |
master | SendReceive |
net472 | 2.23μs | 0.958ns | 3.71ns | 0.191 | 0 | 0 | 1.2 KB |
#5479 | SendReceive |
net6.0 | 1.41μs | 0.319ns | 1.1ns | 0.017 | 0 | 0 | 1.2 KB |
#5479 | SendReceive |
netcoreapp3.1 | 1.84μs | 0.791ns | 2.74ns | 0.0166 | 0 | 0 | 1.2 KB |
#5479 | SendReceive |
net472 | 2.15μs | 1.24ns | 4.8ns | 0.191 | 0 | 0 | 1.2 KB |
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 2.74μs | 0.766ns | 2.87ns | 0.022 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.96μs | 1.78ns | 6.88ns | 0.0218 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.49μs | 1.55ns | 6.02ns | 0.323 | 0 | 0 | 2.04 KB |
#5479 | EnrichedLog |
net6.0 | 2.79μs | 0.853ns | 3.19ns | 0.0223 | 0 | 0 | 1.6 KB |
#5479 | EnrichedLog |
netcoreapp3.1 | 4.05μs | 1.07ns | 3.99ns | 0.0222 | 0 | 0 | 1.65 KB |
#5479 | EnrichedLog |
net472 | 4.58μs | 2.7ns | 10.4ns | 0.322 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 506ns | 0.323ns | 1.25ns | 0.00802 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 783ns | 0.845ns | 3.27ns | 0.00768 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 812ns | 0.864ns | 3.35ns | 0.0917 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 603ns | 0.537ns | 2.01ns | 0.00976 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 929ns | 1ns | 3.89ns | 0.00923 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 1.01μs | 1.01ns | 3.9ns | 0.104 | 0 | 0 | 658 B |
#5479 | StartFinishSpan |
net6.0 | 550ns | 0.341ns | 1.18ns | 0.00798 | 0 | 0 | 576 B |
#5479 | StartFinishSpan |
netcoreapp3.1 | 718ns | 0.663ns | 2.57ns | 0.00779 | 0 | 0 | 576 B |
#5479 | StartFinishSpan |
net472 | 781ns | 0.705ns | 2.73ns | 0.0917 | 0 | 0 | 578 B |
#5479 | StartFinishScope |
net6.0 | 580ns | 0.263ns | 0.95ns | 0.00981 | 0 | 0 | 696 B |
#5479 | StartFinishScope |
netcoreapp3.1 | 880ns | 0.754ns | 2.92ns | 0.00928 | 0 | 0 | 696 B |
#5479 | StartFinishScope |
net472 | 1.03μs | 0.753ns | 2.92ns | 0.104 | 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 | 699ns | 0.605ns | 2.34ns | 0.00986 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 989ns | 1.28ns | 4.97ns | 0.00929 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.07μs | 0.887ns | 3.44ns | 0.105 | 0 | 0 | 658 B |
#5479 | RunOnMethodBegin |
net6.0 | 705ns | 0.353ns | 1.37ns | 0.00958 | 0 | 0 | 696 B |
#5479 | RunOnMethodBegin |
netcoreapp3.1 | 1.03μs | 0.828ns | 3.21ns | 0.00926 | 0 | 0 | 696 B |
#5479 | RunOnMethodBegin |
net472 | 1.15μs | 0.645ns | 2.42ns | 0.104 | 0 | 0 | 658 B |
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
…te` (#5479) * Refactor unit tests to expose errors more easily * Fix SpanContextInjectorExtractorTests expectations to account for tracestate
Summary of changes
Fixes
SpanContextInjectorExtractorTests
which are broken on v3Reason for change
#5176 added support for encoding the last seen Datadog span ID in the
tracestate
. However, this conflicted with expectations of unit tests introduced in thev3-main
branchImplementation details
FluentAssertion
methods)tracestate
Test coverage
Same
Other details