-
Notifications
You must be signed in to change notification settings - Fork 132
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
Restrict sending APM-related metrics when running in CI app #4618
Conversation
Datadog ReportBranch report: ✅ |
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 (4618) - mean (68ms) : 65, 72
. : milestone, 68,
master - mean (68ms) : 65, 71
. : milestone, 68,
section CallTarget+Inlining+NGEN
This PR (4618) - mean (1,040ms) : 1017, 1062
. : milestone, 1040,
master - mean (1,032ms) : 1008, 1055
. : milestone, 1032,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4618) - mean (106ms) : 101, 111
. : milestone, 106,
master - mean (105ms) : 97, 114
. : milestone, 105,
section CallTarget+Inlining+NGEN
This PR (4618) - mean (748ms) : 728, 769
. : milestone, 748,
master - mean (747ms) : 727, 766
. : milestone, 747,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4618) - mean (90ms) : 87, 92
. : milestone, 90,
master - mean (89ms) : 83, 95
. : milestone, 89,
section CallTarget+Inlining+NGEN
This PR (4618) - mean (709ms) : 693, 726
. : milestone, 709,
master - mean (718ms) : 695, 741
. : milestone, 718,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4618) - mean (190ms) : 182, 198
. : milestone, 190,
master - mean (186ms) : 178, 194
. : milestone, 186,
section CallTarget+Inlining+NGEN
This PR (4618) - mean (1,137ms) : 1112, 1163
. : milestone, 1137,
master - mean (1,114ms) : 1079, 1150
. : milestone, 1114,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4618) - mean (269ms) : 257, 282
. : milestone, 269,
master - mean (266ms) : 254, 277
. : milestone, 266,
section CallTarget+Inlining+NGEN
This PR (4618) - mean (1,115ms) : 1090, 1141
. : milestone, 1115,
master - mean (1,095ms) : 1056, 1134
. : milestone, 1095,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4618) - mean (263ms) : 255, 271
. : milestone, 263,
master - mean (258ms) : 248, 268
. : milestone, 258,
section CallTarget+Inlining+NGEN
This PR (4618) - mean (1,064ms) : 1037, 1091
. : milestone, 1064,
master - mean (1,043ms) : 1008, 1079
. : milestone, 1043,
|
Benchmarks Report 🐌Benchmarks for #4618 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.Asm.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Asm.AppSecWafBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ More allocations
|
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.46 KB | 41.95 KB | 488 B | 1.18% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 537μs | 2.4μs | 9.28μs | 0.519 | 0 | 0 | 41.46 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 624μs | 1.7μs | 5.9μs | 0.316 | 0 | 0 | 41.77 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 815μs | 3.81μs | 17.9μs | 8.58 | 2.45 | 0.408 | 53.26 KB |
#4618 | WriteAndFlushEnrichedTraces |
net6.0 | 537μs | 215ns | 833ns | 0.514 | 0 | 0 | 41.95 KB |
#4618 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 624μs | 1.56μs | 6.02μs | 0.311 | 0 | 0 | 41.94 KB |
#4618 | WriteAndFlushEnrichedTraces |
net472 | 802μs | 3.18μs | 12.3μs | 8.33 | 2.65 | 0.379 | 53.26 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.18μs | 0.715ns | 2.77ns | 0.0106 | 0 | 0 | 768 B |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.35μs | 0.616ns | 2.39ns | 0.0101 | 0 | 0 | 768 B |
master | ExecuteNonQuery |
net472 | 1.63μs | 0.372ns | 1.44ns | 0.116 | 0 | 0 | 730 B |
#4618 | ExecuteNonQuery |
net6.0 | 1.11μs | 0.478ns | 1.85ns | 0.0105 | 0 | 0 | 768 B |
#4618 | ExecuteNonQuery |
netcoreapp3.1 | 1.38μs | 0.747ns | 2.79ns | 0.0104 | 0 | 0 | 768 B |
#4618 | ExecuteNonQuery |
net472 | 1.63μs | 1.18ns | 4.58ns | 0.116 | 0 | 0 | 730 B |
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.2μs | 1.37ns | 5.32ns | 0.0138 | 0 | 0 | 992 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.46μs | 0.463ns | 1.79ns | 0.0131 | 0 | 0 | 992 B |
master | CallElasticsearch |
net472 | 2.23μs | 0.631ns | 2.36ns | 0.159 | 0.00112 | 0 | 1 KB |
master | CallElasticsearchAsync |
net6.0 | 1.31μs | 1.64ns | 6.12ns | 0.0137 | 0 | 0 | 968 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.51μs | 0.815ns | 3.05ns | 0.0143 | 0 | 0 | 1.04 KB |
master | CallElasticsearchAsync |
net472 | 2.49μs | 0.776ns | 3ns | 0.167 | 0 | 0 | 1.06 KB |
#4618 | CallElasticsearch |
net6.0 | 1.31μs | 1.43ns | 5.35ns | 0.0138 | 0 | 0 | 992 B |
#4618 | CallElasticsearch |
netcoreapp3.1 | 1.39μs | 0.669ns | 2.5ns | 0.0132 | 0 | 0 | 992 B |
#4618 | CallElasticsearch |
net472 | 2.37μs | 0.844ns | 3.27ns | 0.158 | 0.00118 | 0 | 1 KB |
#4618 | CallElasticsearchAsync |
net6.0 | 1.27μs | 0.796ns | 3.08ns | 0.0133 | 0 | 0 | 968 B |
#4618 | CallElasticsearchAsync |
netcoreapp3.1 | 1.62μs | 3.87ns | 15ns | 0.0136 | 0 | 0 | 1.04 KB |
#4618 | CallElasticsearchAsync |
net472 | 2.53μs | 0.88ns | 3.41ns | 0.168 | 0.00126 | 0 | 1.06 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.34μs | 0.695ns | 2.6ns | 0.0129 | 0 | 0 | 912 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.41μs | 0.595ns | 2.22ns | 0.0121 | 0 | 0 | 912 B |
master | ExecuteAsync |
net472 | 1.73μs | 1.34ns | 5.19ns | 0.139 | 0.000862 | 0 | 875 B |
#4618 | ExecuteAsync |
net6.0 | 1.31μs | 0.515ns | 1.93ns | 0.0125 | 0 | 0 | 912 B |
#4618 | ExecuteAsync |
netcoreapp3.1 | 1.42μs | 0.549ns | 2.05ns | 0.0122 | 0 | 0 | 912 B |
#4618 | ExecuteAsync |
net472 | 1.65μs | 0.676ns | 2.53ns | 0.139 | 0.000826 | 0 | 875 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 | 3.8μs | 1.7ns | 6.35ns | 0.0267 | 0 | 0 | 1.94 KB |
master | SendAsync |
netcoreapp3.1 | 4.33μs | 2.17ns | 8.39ns | 0.0325 | 0 | 0 | 2.48 KB |
master | SendAsync |
net472 | 7.23μs | 4.65ns | 18ns | 0.482 | 0 | 0 | 3.05 KB |
#4618 | SendAsync |
net6.0 | 3.95μs | 1.91ns | 7.41ns | 0.0275 | 0 | 0 | 1.94 KB |
#4618 | SendAsync |
netcoreapp3.1 | 4.41μs | 1.38ns | 5.15ns | 0.0332 | 0 | 0 | 2.48 KB |
#4618 | SendAsync |
net472 | 7.18μs | 5.5ns | 21.3ns | 0.483 | 0 | 0 | 3.05 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.34μs | 3.19ns | 12.4ns | 0.0231 | 0 | 0 | 1.62 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.01μs | 0.971ns | 3.63ns | 0.0221 | 0 | 0 | 1.62 KB |
master | EnrichedLog |
net472 | 2.38μs | 4.33ns | 16.8ns | 0.244 | 0 | 0 | 1.54 KB |
#4618 | EnrichedLog |
net6.0 | 1.44μs | 1.14ns | 4.43ns | 0.023 | 0 | 0 | 1.62 KB |
#4618 | EnrichedLog |
netcoreapp3.1 | 2.1μs | 1.98ns | 7.66ns | 0.0217 | 0 | 0 | 1.62 KB |
#4618 | EnrichedLog |
net472 | 2.26μs | 1.48ns | 5.13ns | 0.244 | 0 | 0 | 1.54 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 | 114μs | 192ns | 742ns | 0.0571 | 0 | 0 | 4.21 KB |
master | EnrichedLog |
netcoreapp3.1 | 118μs | 179ns | 669ns | 0 | 0 | 0 | 4.21 KB |
master | EnrichedLog |
net472 | 150μs | 159ns | 594ns | 0.671 | 0.224 | 0 | 4.38 KB |
#4618 | EnrichedLog |
net6.0 | 114μs | 113ns | 421ns | 0.0571 | 0 | 0 | 4.21 KB |
#4618 | EnrichedLog |
netcoreapp3.1 | 119μs | 184ns | 688ns | 0 | 0 | 0 | 4.21 KB |
#4618 | EnrichedLog |
net472 | 148μs | 151ns | 583ns | 0.665 | 0.222 | 0 | 4.38 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 | 2.96μs | 1ns | 3.75ns | 0.0298 | 0 | 0 | 2.18 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.77μs | 1.09ns | 4.07ns | 0.0282 | 0 | 0 | 2.18 KB |
master | EnrichedLog |
net472 | 4.59μs | 2.28ns | 8.84ns | 0.314 | 0 | 0 | 1.99 KB |
#4618 | EnrichedLog |
net6.0 | 2.92μs | 1.58ns | 6.12ns | 0.0303 | 0 | 0 | 2.18 KB |
#4618 | EnrichedLog |
netcoreapp3.1 | 3.93μs | 1.11ns | 4.3ns | 0.0295 | 0 | 0 | 2.18 KB |
#4618 | EnrichedLog |
net472 | 4.62μs | 2.86ns | 11.1ns | 0.316 | 0 | 0 | 1.99 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.24μs | 0.844ns | 3.16ns | 0.0162 | 0 | 0 | 1.16 KB |
master | SendReceive |
netcoreapp3.1 | 1.62μs | 2.34ns | 8.1ns | 0.0155 | 0 | 0 | 1.16 KB |
master | SendReceive |
net472 | 2.12μs | 2.2ns | 8.53ns | 0.185 | 0 | 0 | 1.16 KB |
#4618 | SendReceive |
net6.0 | 1.3μs | 0.595ns | 2.3ns | 0.0162 | 0 | 0 | 1.16 KB |
#4618 | SendReceive |
netcoreapp3.1 | 1.65μs | 1.12ns | 4.18ns | 0.0155 | 0 | 0 | 1.16 KB |
#4618 | SendReceive |
net472 | 2.14μs | 0.868ns | 3.01ns | 0.184 | 0 | 0 | 1.16 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.62μs | 1.77ns | 6.86ns | 0.0209 | 0 | 0 | 1.53 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.66μs | 1.16ns | 4.33ns | 0.0201 | 0 | 0 | 1.58 KB |
master | EnrichedLog |
net472 | 3.97μs | 3.62ns | 13.5ns | 0.309 | 0 | 0 | 1.96 KB |
#4618 | EnrichedLog |
net6.0 | 2.51μs | 6.22ns | 23.3ns | 0.0211 | 0 | 0 | 1.53 KB |
#4618 | EnrichedLog |
netcoreapp3.1 | 3.57μs | 1.65ns | 6.38ns | 0.0211 | 0 | 0 | 1.58 KB |
#4618 | EnrichedLog |
net472 | 3.99μs | 1.19ns | 4.62ns | 0.309 | 0 | 0 | 1.96 KB |
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #4618
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1
1.156
773.38
669.00
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1 | 1.156 | 773.38 | 669.00 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 441ns | 0.694ns | 2.69ns | 0.00751 | 0 | 0 | 536 B |
master | StartFinishSpan |
netcoreapp3.1 | 575ns | 0.192ns | 0.693ns | 0.00721 | 0 | 0 | 536 B |
master | StartFinishSpan |
net472 | 621ns | 0.285ns | 1.07ns | 0.0852 | 0 | 0 | 538 B |
master | StartFinishScope |
net6.0 | 551ns | 0.176ns | 0.657ns | 0.00916 | 0 | 0 | 656 B |
master | StartFinishScope |
netcoreapp3.1 | 773ns | 0.459ns | 1.78ns | 0.00888 | 0 | 0 | 656 B |
master | StartFinishScope |
net472 | 847ns | 0.321ns | 1.24ns | 0.098 | 0 | 0 | 618 B |
#4618 | StartFinishSpan |
net6.0 | 441ns | 0.176ns | 0.682ns | 0.00746 | 0 | 0 | 536 B |
#4618 | StartFinishSpan |
netcoreapp3.1 | 617ns | 0.217ns | 0.814ns | 0.00709 | 0 | 0 | 536 B |
#4618 | StartFinishSpan |
net472 | 603ns | 0.311ns | 1.12ns | 0.0853 | 0 | 0 | 538 B |
#4618 | StartFinishScope |
net6.0 | 542ns | 0.204ns | 0.79ns | 0.00927 | 0 | 0 | 656 B |
#4618 | StartFinishScope |
netcoreapp3.1 | 669ns | 0.288ns | 1.12ns | 0.00868 | 0 | 0 | 656 B |
#4618 | StartFinishScope |
net472 | 835ns | 0.127ns | 0.493ns | 0.098 | 0 | 0 | 618 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 | 563ns | 0.244ns | 0.946ns | 0.00937 | 0 | 0 | 656 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 811ns | 0.538ns | 2.01ns | 0.00888 | 0 | 0 | 656 B |
master | RunOnMethodBegin |
net472 | 887ns | 0.283ns | 1.02ns | 0.098 | 0 | 0 | 618 B |
#4618 | RunOnMethodBegin |
net6.0 | 537ns | 0.162ns | 0.608ns | 0.00906 | 0 | 0 | 656 B |
#4618 | RunOnMethodBegin |
netcoreapp3.1 | 823ns | 0.451ns | 1.75ns | 0.00907 | 0 | 0 | 656 B |
#4618 | RunOnMethodBegin |
net472 | 943ns | 0.283ns | 1.09ns | 0.0982 | 0 | 0 | 618 B |
Throughput/Crank Report:zap: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 (4618) (11.424M) : 0, 11423634
master (11.785M) : 0, 11784896
benchmarks/2.37.0 (11.517M) : 0, 11517370
benchmarks/2.9.0 (11.506M) : 0, 11506345
section Automatic
This PR (4618) (8.085M) : 0, 8085218
master (8.157M) : 0, 8156884
benchmarks/2.37.0 (8.143M) : 0, 8142506
benchmarks/2.9.0 (8.280M) : 0, 8279564
section Trace stats
master (8.126M) : 0, 8125619
benchmarks/2.37.0 (8.044M) : 0, 8044129
section Manual
This PR (4618) (10.122M) : 0, 10121906
master (10.297M) : 0, 10296663
benchmarks/2.37.0 (10.278M) : 0, 10278226
section Manual + Automatic
This PR (4618) (7.754M) : 0, 7753625
master (7.837M) : 0, 7836527
benchmarks/2.37.0 (7.786M) : 0, 7785678
section Version Conflict
master (7.047M) : 0, 7047317
benchmarks/2.37.0 (7.067M) : 0, 7066760
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (4618) (9.414M) : 0, 9413657
master (9.607M) : 0, 9606862
benchmarks/2.37.0 (9.619M) : 0, 9618848
benchmarks/2.9.0 (9.542M) : 0, 9542061
section Automatic
This PR (4618) (6.811M) : 0, 6811351
master (6.552M) : 0, 6552425
benchmarks/2.37.0 (6.844M) : 0, 6843850
section Trace stats
master (6.757M) : 0, 6757190
benchmarks/2.37.0 (6.801M) : 0, 6801072
section Manual
This PR (4618) (8.627M) : 0, 8627441
master (8.482M) : 0, 8482481
benchmarks/2.37.0 (8.587M) : 0, 8587283
section Manual + Automatic
This PR (4618) (6.486M) : 0, 6485653
master (6.516M) : 0, 6516148
benchmarks/2.37.0 (6.537M) : 0, 6536939
section Version Conflict
master (5.876M) : 0, 5875591
benchmarks/2.37.0 (5.769M) : 0, 5768881
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (4618) (9.281M) : 0, 9281252
master (9.292M) : 0, 9292072
benchmarks/2.37.0 (9.309M) : 0, 9308797
benchmarks/2.9.0 (9.366M) : 0, 9366476
section Automatic
This PR (4618) (6.668M) : 0, 6667939
master (6.776M) : 0, 6775885
benchmarks/2.37.0 (6.552M) : 0, 6552099
benchmarks/2.9.0 (6.864M) : 0, 6864235
section Trace stats
master (6.734M) : 0, 6734320
benchmarks/2.37.0 (6.685M) : 0, 6685340
section Manual
This PR (4618) (8.354M) : 0, 8354376
master (8.423M) : 0, 8423266
benchmarks/2.37.0 (8.493M) : 0, 8492505
section Manual + Automatic
This PR (4618) (6.538M) : 0, 6537776
master (6.451M) : 0, 6451144
benchmarks/2.37.0 (6.373M) : 0, 6372588
section Version Conflict
master (5.974M) : 0, 5974442
benchmarks/2.37.0 (5.938M) : 0, 5937795
gantt
title Throughput Linux x64 (ASM) (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (4618) (7.355M) : 0, 7355227
master (7.253M) : 0, 7253384
benchmarks/2.37.0 (7.239M) : 0, 7239363
benchmarks/2.9.0 (7.508M) : 0, 7508023
section No attack
This PR (4618) (2.078M) : 0, 2078183
master (2.036M) : 0, 2035944
benchmarks/2.37.0 (2.105M) : 0, 2105389
benchmarks/2.9.0 (3.275M) : 0, 3275098
section Attack
This PR (4618) (1.627M) : 0, 1627091
master (1.660M) : 0, 1659904
benchmarks/2.37.0 (1.686M) : 0, 1685550
benchmarks/2.9.0 (2.570M) : 0, 2570112
section Blocking
This PR (4618) (3.169M) : 0, 3169192
master (3.228M) : 0, 3227614
benchmarks/2.37.0 (3.048M) : 0, 3048473
|
98335ea
to
0b8355c
Compare
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.
LGTM, just a nit: I think we can add the InitTime to CIVisibility mode
public void RecordDistributionInitTime(Datadog.Trace.Telemetry.Metrics.MetricTags.InitializationComponent tag, double value) | ||
{ | ||
} |
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.
I think InitTime
could be useful in a CI Visibility scenario...
0b8355c
to
5032cf4
Compare
5032cf4
to
c1bf698
Compare
Summary of changes
Reason for change
When we enable v2 telemetry by default, ciapp executions will also send metrics. While this may be of interest, it could also just muddy the waters, as we don't currently have a way of differentiating between ciapp metrics and "normal" APM metrics.
Implementation details
MetricsTelemetryCollector
implementation into a base classCiVisibilityTelemetryCollector
implementation that derives from the base class, and uses nullRecord*()
methods for metrics that are not of interestCiVsibilityTracerManager
to replace the global metrics collector.Test coverage
Added unit tests for the source generator. We don't currently have any ciapp metrics yet, so no integration tests. Depending which is merged first #4596, can be used to confirm this works as expected.
Other details