Skip to content

[crashtracker] Remove Telemetry check#8677

Merged
gleocadie merged 2 commits into
masterfrom
gleocadie/remove-telemetry-guard-in-crashtracker
Jun 4, 2026
Merged

[crashtracker] Remove Telemetry check#8677
gleocadie merged 2 commits into
masterfrom
gleocadie/remove-telemetry-guard-in-crashtracker

Conversation

@gleocadie

Copy link
Copy Markdown
Collaborator

Summary of changes

Try sending crashreport even if telemetry is not present.

Reason for change

As of today, crash reports are sent to telemetry endpoint AND errors intake. Even if telemetry is not enabled, we should try sending the crash report, it will go through errors intake path.

Implementation details

Remove telemetry check

Test coverage

Other details

@gleocadie
gleocadie requested a review from a team as a code owner May 22, 2026 10:45
@datadog-prod-us1-6

This comment has been minimized.

@andrewlock andrewlock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only applies to crashes I guess, are we supposed to have similar behvaiour for "standard" error tracking in the libraries? 🤔 Or is "only crashes" correct?

@gleocadie

Copy link
Copy Markdown
Collaborator Author

This only applies to crashes I guess, are we supposed to have similar behvaiour for "standard" error tracking in the libraries? 🤔 Or is "only crashes" correct?

@andrewlock yes it crashes only: at some point we will decommision "crashes through telemetry"

are we supposed to have similar behvaiour for "standard" error tracking in the libraries?

I do not think so, at least not now

@pr-commenter

pr-commenter Bot commented May 22, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-03 10:53:51

Comparing candidate commit dac4956 in PR branch gleocadie/remove-telemetry-guard-in-crashtracker with baseline commit ffa6004 in branch master.

Found 0 performance improvements and 1 performance regressions! Performance is the same for 71 metrics, 0 unstable metrics, 59 known flaky benchmarks, 67 flaky benchmarks without significant changes.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-5515.451op/s; -4995.838op/s] or [-6.296%; -5.703%]

Known flaky benchmarks

These benchmarks are marked as flaky and will not trigger a failure. Modify FLAKY_BENCHMARKS_REGEX to control which benchmarks are marked as flaky.

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-7509.061op/s; -6835.125op/s] or [-8.904%; -8.104%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • 🟥 throughput [-6799.399op/s; -5437.083op/s] or [-6.913%; -5.528%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+311.746ms; +319.035ms] or [+154.699%; +158.316%]
  • 🟥 throughput [-43.942op/s; -40.133op/s] or [-7.906%; -7.221%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • 🟥 execution_time [+378.726ms; +380.705ms] or [+299.216%; +300.780%]
  • 🟩 throughput [+93.165op/s; +96.539op/s] or [+12.284%; +12.728%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 execution_time [+393.277ms; +396.917ms] or [+348.036%; +351.256%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net472

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.528%; +27.540%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.976%; +9.987%]
  • 🟩 execution_time [-15.887ms; -11.668ms] or [-7.420%; -5.450%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net472

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-270779.796op/s; -267403.353op/s] or [-27.648%; -27.303%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • 🟩 execution_time [-25.896ms; -21.041ms] or [-11.549%; -9.384%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-152396.289op/s; -136526.632op/s] or [-21.896%; -19.616%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody netcoreapp3.1

  • 🟩 throughput [+10087.957op/s; +12737.918op/s] or [+8.036%; +10.147%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net6.0

  • 🟩 throughput [+498079.093op/s; +510023.443op/s] or [+16.608%; +17.006%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • 🟩 execution_time [-18.765ms; -14.424ms] or [-8.650%; -6.649%]
  • 🟩 throughput [+168537.533op/s; +222192.862op/s] or [+6.690%; +8.819%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net472

  • 🟥 execution_time [+300.318ms; +301.221ms] or [+150.059%; +150.510%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net6.0

  • 🟥 execution_time [+299.963ms; +303.972ms] or [+151.272%; +153.294%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs netcoreapp3.1

  • 🟥 execution_time [+299.179ms; +302.190ms] or [+150.703%; +152.220%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472

  • 🟥 execution_time [+296.219ms; +297.186ms] or [+145.491%; +145.966%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net6.0

  • 🟥 execution_time [+292.043ms; +296.461ms] or [+142.769%; +144.929%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • 🟥 execution_time [+300.948ms; +302.850ms] or [+150.414%; +151.364%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net6.0

  • 🟥 execution_time [+23.458µs; +47.203µs] or [+7.489%; +15.069%]
  • 🟥 throughput [-438.050op/s; -238.376op/s] or [-13.655%; -7.431%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.935ms; +300.657ms] or [+149.698%; +150.058%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • unstable execution_time [+332.434ms; +392.921ms] or [+361.203%; +426.925%]
  • 🟩 throughput [+835.263op/s; +1001.926op/s] or [+6.863%; +8.233%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest netcoreapp3.1

  • unstable execution_time [+293.532ms; +346.646ms] or [+222.876%; +263.205%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+2.834KB; +2.839KB] or [+5.034%; +5.043%]
  • unstable execution_time [+319.635ms; +369.857ms] or [+146.965%; +170.057%]
  • 🟥 throughput [-564.212op/s; -517.597op/s] or [-51.123%; -46.899%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • unstable execution_time [+145.514ms; +291.619ms] or [+62.012%; +124.276%]
  • 🟥 throughput [-672.421op/s; -588.915op/s] or [-44.851%; -39.281%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 allocated_mem [+2.170KB; +2.173KB] or [+5.123%; +5.131%]
  • 🟥 execution_time [+329.223ms; +338.485ms] or [+196.914%; +202.453%]
  • 🟥 throughput [-380.657op/s; -344.413op/s] or [-26.505%; -23.981%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net6.0

  • 🟩 execution_time [-181.374µs; -120.975µs] or [-9.188%; -6.128%]
  • 🟩 throughput [+35.805op/s; +51.507op/s] or [+7.068%; +10.168%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+303.731ms; +305.011ms] or [+152.953%; +153.598%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net6.0

  • 🟥 execution_time [+300.820ms; +302.109ms] or [+150.742%; +151.387%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch netcoreapp3.1

  • 🟥 execution_time [+302.602ms; +306.158ms] or [+152.014%; +153.801%]
  • 🟩 throughput [+46831.637op/s; +55092.178op/s] or [+9.865%; +11.605%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.095ms; +303.683ms] or [+151.702%; +152.500%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net6.0

  • 🟥 execution_time [+297.314ms; +299.254ms] or [+147.009%; +147.968%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1

  • 🟥 execution_time [+306.037ms; +309.712ms] or [+155.113%; +156.976%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+300.170ms; +302.611ms] or [+150.658%; +151.883%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net6.0

  • 🟥 execution_time [+300.116ms; +303.529ms] or [+149.580%; +151.282%]
  • 🟩 throughput [+56855.222op/s; +62561.196op/s] or [+11.290%; +12.423%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync netcoreapp3.1

  • 🟥 execution_time [+299.523ms; +302.844ms] or [+149.010%; +150.662%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net6.0

  • 🟩 execution_time [-17.059ms; -13.381ms] or [-7.933%; -6.222%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472

  • unstable execution_time [+5.048µs; +50.690µs] or [+1.247%; +12.521%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net6.0

  • 🟩 allocated_mem [-19.964KB; -19.940KB] or [-7.282%; -7.273%]
  • unstable execution_time [+30.746µs; +145.777µs] or [+6.077%; +28.812%]
  • unstable throughput [-334.369op/s; -52.927op/s] or [-16.685%; -2.641%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1

  • 🟩 allocated_mem [-16.299KB; -16.279KB] or [-5.942%; -5.935%]
  • unstable execution_time [-59.366µs; +1.161µs] or [-10.288%; +0.201%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net6.0

  • unstable execution_time [+8.346µs; +14.356µs] or [+19.728%; +33.934%]
  • 🟥 throughput [-5782.716op/s; -3686.370op/s] or [-24.343%; -15.518%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark netcoreapp3.1

  • unstable execution_time [-14.848µs; -7.034µs] or [-23.036%; -10.913%]
  • unstable throughput [+1831.519op/s; +3513.893op/s] or [+11.237%; +21.559%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+301.877ms; +303.523ms] or [+152.585%; +153.417%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+301.029ms; +305.365ms] or [+153.223%; +155.430%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+300.759ms; +304.789ms] or [+150.567%; +152.584%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+298.519ms; +301.011ms] or [+148.785%; +150.027%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+301.023ms; +302.861ms] or [+151.159%; +152.083%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+303.616ms; +306.200ms] or [+153.975%; +155.285%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.242ms; +301.237ms] or [+149.762%; +150.259%]
  • 🟩 throughput [+65928874.981op/s; +66284131.412op/s] or [+48.013%; +48.272%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0

  • 🟥 execution_time [+422.977ms; +427.861ms] or [+526.047%; +532.122%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1

  • 🟥 execution_time [+300.079ms; +301.156ms] or [+149.673%; +150.210%]
  • 🟩 throughput [+18002148.896op/s; +18965406.385op/s] or [+7.974%; +8.400%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0

  • 🟩 throughput [+80582.092op/s; +95898.338op/s] or [+7.524%; +8.954%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1

  • 🟩 throughput [+50945.983op/s; +72188.981op/s] or [+5.897%; +8.356%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net6.0

  • 🟩 throughput [+78259.898op/s; +112183.191op/s] or [+6.057%; +8.683%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1

  • 🟩 throughput [+92503.940op/s; +100032.720op/s] or [+9.187%; +9.935%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net6.0

  • 🟩 throughput [+47307.285op/s; +56722.025op/s] or [+8.590%; +10.300%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1

  • 🟩 throughput [+26843.362op/s; +36518.924op/s] or [+6.008%; +8.174%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0

  • 🟩 throughput [+75379.578op/s; +92229.360op/s] or [+8.422%; +10.304%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented May 22, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8677) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration72.97 ± (73.16 - 73.69) ms73.48 ± (73.47 - 73.90) ms+0.7%✅⬆️
.NET Framework 4.8 - Bailout
duration78.25 ± (78.00 - 78.51) ms79.06 ± (78.98 - 79.47) ms+1.0%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1101.78 ± (1099.68 - 1106.35) ms1109.20 ± (1107.76 - 1115.08) ms+0.7%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.81 ± (22.75 - 22.88) ms22.68 ± (22.62 - 22.73) ms-0.6%
process.time_to_main_ms87.15 ± (86.86 - 87.43) ms86.81 ± (86.53 - 87.09) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.91) MB10.92 ± (10.91 - 10.92) MB+0.1%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.30 ± (22.27 - 22.33) ms22.42 ± (22.38 - 22.47) ms+0.5%✅⬆️
process.time_to_main_ms85.98 ± (85.76 - 86.20) ms87.03 ± (86.81 - 87.26) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.94 - 10.94) MB10.95 ± (10.95 - 10.96) MB+0.1%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms214.52 ± (213.62 - 215.42) ms214.40 ± (213.54 - 215.27) ms-0.1%
process.time_to_main_ms541.52 ± (540.15 - 542.90) ms542.03 ± (540.72 - 543.34) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.25 ± (48.22 - 48.28) MB48.24 ± (48.20 - 48.28) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.3%
.NET 6 - Baseline
process.internal_duration_ms21.31 ± (21.27 - 21.35) ms21.18 ± (21.15 - 21.22) ms-0.6%
process.time_to_main_ms74.30 ± (74.13 - 74.47) ms73.63 ± (73.46 - 73.79) ms-0.9%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.62 - 10.63) MB10.63 ± (10.63 - 10.63) MB+0.0%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.27 ± (21.22 - 21.32) ms21.12 ± (21.08 - 21.16) ms-0.7%
process.time_to_main_ms74.84 ± (74.67 - 75.02) ms74.81 ± (74.62 - 74.99) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.75 ± (10.74 - 10.75) MB10.75 ± (10.74 - 10.75) MB+0.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms370.48 ± (368.24 - 372.71) ms369.13 ± (366.79 - 371.47) ms-0.4%
process.time_to_main_ms552.00 ± (550.62 - 553.38) ms551.20 ± (549.56 - 552.85) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.75 ± (49.73 - 49.77) MB49.75 ± (49.73 - 49.78) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.55 ± (19.49 - 19.61) ms19.46 ± (19.41 - 19.51) ms-0.5%
process.time_to_main_ms74.22 ± (73.92 - 74.51) ms74.34 ± (74.09 - 74.60) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.68 - 7.69) MB7.68 ± (7.68 - 7.69) MB+0.0%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.37 ± (19.33 - 19.41) ms19.25 ± (19.22 - 19.28) ms-0.6%
process.time_to_main_ms74.05 ± (73.85 - 74.25) ms74.09 ± (73.89 - 74.29) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.72 ± (7.72 - 7.72) MB7.74 ± (7.74 - 7.75) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms295.40 ± (293.23 - 297.57) ms298.11 ± (296.01 - 300.21) ms+0.9%✅⬆️
process.time_to_main_ms493.94 ± (492.83 - 495.04) ms495.16 ± (494.05 - 496.27) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.74 ± (36.71 - 36.77) MB36.75 ± (36.72 - 36.78) MB+0.0%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.0%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration198.07 ± (197.51 - 198.43) ms196.99 ± (196.49 - 197.42) ms-0.5%
.NET Framework 4.8 - Bailout
duration201.97 ± (201.21 - 202.29) ms201.18 ± (200.87 - 201.67) ms-0.4%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1199.29 ± (1199.93 - 1206.43) ms1197.93 ± (1196.55 - 1203.14) ms-0.1%
.NET Core 3.1 - Baseline
process.internal_duration_ms193.63 ± (193.18 - 194.08) ms192.42 ± (192.01 - 192.83) ms-0.6%
process.time_to_main_ms83.94 ± (83.56 - 84.32) ms83.46 ± (83.17 - 83.74) ms-0.6%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.04 ± (16.01 - 16.07) MB16.15 ± (16.12 - 16.19) MB+0.7%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms193.10 ± (192.62 - 193.59) ms191.08 ± (190.67 - 191.49) ms-1.0%
process.time_to_main_ms85.17 ± (84.90 - 85.44) ms85.00 ± (84.79 - 85.20) ms-0.2%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.14 ± (16.12 - 16.17) MB16.11 ± (16.09 - 16.14) MB-0.2%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (20 - 21)-0.4%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms387.19 ± (385.94 - 388.44) ms389.65 ± (388.28 - 391.02) ms+0.6%✅⬆️
process.time_to_main_ms533.84 ± (532.71 - 534.97) ms535.27 ± (534.41 - 536.14) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.64 ± (57.44 - 57.83) MB57.87 ± (57.64 - 58.10) MB+0.4%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.0%
.NET 6 - Baseline
process.internal_duration_ms196.71 ± (196.21 - 197.22) ms196.86 ± (196.44 - 197.29) ms+0.1%✅⬆️
process.time_to_main_ms72.41 ± (72.17 - 72.65) ms72.23 ± (71.96 - 72.50) ms-0.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.35 ± (16.32 - 16.37) MB16.40 ± (16.37 - 16.43) MB+0.3%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.1%
.NET 6 - Bailout
process.internal_duration_ms195.78 ± (195.31 - 196.25) ms195.89 ± (195.57 - 196.22) ms+0.1%✅⬆️
process.time_to_main_ms72.88 ± (72.68 - 73.09) ms73.60 ± (73.40 - 73.81) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.42 ± (16.40 - 16.44) MB16.49 ± (16.46 - 16.52) MB+0.4%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.1%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms587.64 ± (584.89 - 590.40) ms588.13 ± (585.71 - 590.55) ms+0.1%✅⬆️
process.time_to_main_ms539.52 ± (538.43 - 540.61) ms541.25 ± (540.21 - 542.28) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.10 ± (61.00 - 61.20) MB61.28 ± (61.18 - 61.37) MB+0.3%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.1%
.NET 8 - Baseline
process.internal_duration_ms194.98 ± (194.53 - 195.43) ms195.41 ± (194.94 - 195.87) ms+0.2%✅⬆️
process.time_to_main_ms71.61 ± (71.32 - 71.91) ms71.67 ± (71.45 - 71.90) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.69 ± (11.67 - 11.71) MB11.78 ± (11.76 - 11.79) MB+0.7%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.1%
.NET 8 - Bailout
process.internal_duration_ms193.39 ± (192.95 - 193.83) ms193.72 ± (193.22 - 194.21) ms+0.2%✅⬆️
process.time_to_main_ms72.37 ± (72.15 - 72.58) ms72.50 ± (72.30 - 72.69) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.74 ± (11.71 - 11.77) MB11.81 ± (11.79 - 11.84) MB+0.6%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.2%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms512.82 ± (510.32 - 515.32) ms510.93 ± (508.50 - 513.36) ms-0.4%
process.time_to_main_ms490.78 ± (489.96 - 491.60) ms490.73 ± (489.96 - 491.51) ms-0.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.62 ± (50.58 - 50.65) MB50.55 ± (50.51 - 50.59) MB-0.1%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)+0.4%✅⬆️
Comparison explanation

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 highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

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).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8677) - mean (74ms)  : 71, 77
    master - mean (73ms)  : 70, 77

    section Bailout
    This PR (8677) - mean (79ms)  : 75, 83
    master - mean (78ms)  : 74, 82

    section CallTarget+Inlining+NGEN
    This PR (8677) - mean (1,111ms)  : 1056, 1166
    master - mean (1,103ms)  : 1055, 1151

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8677) - mean (117ms)  : 111, 122
    master - mean (117ms)  : 112, 123

    section Bailout
    This PR (8677) - mean (117ms)  : 112, 121
    master - mean (115ms)  : 111, 119

    section CallTarget+Inlining+NGEN
    This PR (8677) - mean (793ms)  : 765, 822
    master - mean (793ms)  : 769, 817

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8677) - mean (101ms)  : 98, 104
    master - mean (102ms)  : 99, 105

    section Bailout
    This PR (8677) - mean (102ms)  : 99, 105
    master - mean (103ms)  : 100, 105

    section CallTarget+Inlining+NGEN
    This PR (8677) - mean (952ms)  : 908, 996
    master - mean (955ms)  : 920, 990

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8677) - mean (102ms)  : 97, 107
    master - mean (101ms)  : 95, 108

    section Bailout
    This PR (8677) - mean (101ms)  : 98, 104
    master - mean (101ms)  : 97, 106

    section CallTarget+Inlining+NGEN
    This PR (8677) - mean (822ms)  : 790, 853
    master - mean (819ms)  : 785, 854

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8677) - mean (197ms)  : 192, 202
    master - mean (198ms)  : 192, 203

    section Bailout
    This PR (8677) - mean (201ms)  : 197, 205
    master - mean (202ms)  : 196, 208

    section CallTarget+Inlining+NGEN
    This PR (8677) - mean (1,200ms)  : 1152, 1247
    master - mean (1,203ms)  : 1157, 1249

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8677) - mean (285ms)  : 279, 290
    master - mean (287ms)  : 280, 293

    section Bailout
    This PR (8677) - mean (285ms)  : 279, 290
    master - mean (288ms)  : 281, 294

    section CallTarget+Inlining+NGEN
    This PR (8677) - mean (964ms)  : 947, 980
    master - mean (964ms)  : 945, 982

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8677) - mean (278ms)  : 271, 285
    master - mean (277ms)  : 271, 284

    section Bailout
    This PR (8677) - mean (278ms)  : 274, 282
    master - mean (277ms)  : 271, 283

    section CallTarget+Inlining+NGEN
    This PR (8677) - mean (1,158ms)  : 1115, 1200
    master - mean (1,158ms)  : 1124, 1193

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8677) - mean (278ms)  : 270, 285
    master - mean (276ms)  : 270, 283

    section Bailout
    This PR (8677) - mean (276ms)  : 269, 282
    master - mean (276ms)  : 270, 281

    section CallTarget+Inlining+NGEN
    This PR (8677) - mean (1,034ms)  : 996, 1071
    master - mean (1,036ms)  : 993, 1078

Loading

@gleocadie
gleocadie force-pushed the gleocadie/remove-telemetry-guard-in-crashtracker branch from 80c4393 to fb3b169 Compare June 3, 2026 08:29
@gleocadie
gleocadie merged commit 80223a3 into master Jun 4, 2026
138 checks passed
@gleocadie
gleocadie deleted the gleocadie/remove-telemetry-guard-in-crashtracker branch June 4, 2026 07:38
@github-actions github-actions Bot added this to the vNext-v3 milestone Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants