-
Notifications
You must be signed in to change notification settings - Fork 141
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
[Profiler] Fix duplicated lifecycle telemetry #6002
Conversation
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.
🤞
Datadog ReportBranch report: ✅ 0 Failed, 366494 Passed, 2328 Skipped, 16h 11m 7.59s Total Time |
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 (6002) - mean (70ms) : 66, 74
. : milestone, 70,
master - mean (75ms) : 66, 84
. : milestone, 75,
section CallTarget+Inlining+NGEN
This PR (6002) - mean (1,108ms) : 1091, 1126
. : milestone, 1108,
master - mean (1,135ms) : 1097, 1172
. : milestone, 1135,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6002) - mean (109ms) : 106, 113
. : milestone, 109,
master - mean (117ms) : 108, 127
. : milestone, 117,
section CallTarget+Inlining+NGEN
This PR (6002) - mean (826ms) : 809, 843
. : milestone, 826,
master - mean (837ms) : 811, 863
. : milestone, 837,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6002) - mean (93ms) : 90, 96
. : milestone, 93,
master - mean (97ms) : 89, 104
. : milestone, 97,
section CallTarget+Inlining+NGEN
This PR (6002) - mean (769ms) : 750, 788
. : milestone, 769,
master - mean (792ms) : 764, 819
. : milestone, 792,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6002) - mean (191ms) : 187, 195
. : milestone, 191,
master - mean (190ms) : 187, 194
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6002) - mean (1,194ms) : 1166, 1223
. : milestone, 1194,
master - mean (1,195ms) : 1170, 1220
. : milestone, 1195,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6002) - mean (276ms) : 273, 279
. : milestone, 276,
master - mean (278ms) : 272, 284
. : milestone, 278,
section CallTarget+Inlining+NGEN
This PR (6002) - mean (967ms) : 947, 987
. : milestone, 967,
master - mean (973ms) : 950, 996
. : milestone, 973,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6002) - mean (265ms) : 261, 269
. : milestone, 265,
master - mean (265ms) : 261, 269
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (6002) - mean (948ms) : 922, 974
. : milestone, 948,
master - mean (949ms) : 931, 967
. : milestone, 949,
|
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 (6002) (11.240M) : 0, 11239624
master (11.181M) : 0, 11180988
section Automatic
This PR (6002) (7.484M) : 0, 7483648
master (7.344M) : 0, 7344076
section Trace stats
master (7.631M) : 0, 7630555
section Manual
master (11.084M) : 0, 11084343
section Manual + Automatic
This PR (6002) (6.891M) : 0, 6891387
master (6.749M) : 0, 6748775
section DD_TRACE_ENABLED=0
master (10.330M) : 0, 10330053
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6002) (9.543M) : 0, 9542716
benchmarks/2.9.0 (9.645M) : 0, 9644839
section Automatic
This PR (6002) (6.504M) : 0, 6503601
section Manual + Automatic
This PR (6002) (6.115M) : 0, 6114562
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6002) (9.929M) : 0, 9928746
master (10.229M) : 0, 10228633
benchmarks/2.9.0 (10.408M) : 0, 10408319
section Automatic
This PR (6002) (6.657M) : 0, 6656614
master (6.768M) : 0, 6768160
benchmarks/2.9.0 (7.412M) : 0, 7412035
section Trace stats
master (7.381M) : 0, 7380947
section Manual
master (10.100M) : 0, 10100381
section Manual + Automatic
This PR (6002) (6.167M) : 0, 6167167
master (6.294M) : 0, 6293834
section DD_TRACE_ENABLED=0
master (9.482M) : 0, 9482452
|
Benchmarks Report for tracer 🐌Benchmarks for #6002 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 - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️Raw results
|
Summary of changes
Avoid sending application lifecycle telemetry
Reason for change
The Tracer is already sending these application lifecycle telemetry events
Implementation details
Use a different API from libdatadog telemetry
Test coverage
Other details