Skip to content

Skip some errors from being sent to telemetry#8003

Merged
bouwkast merged 1 commit intomasterfrom
steven/skip-errors
Apr 2, 2026
Merged

Skip some errors from being sent to telemetry#8003
bouwkast merged 1 commit intomasterfrom
steven/skip-errors

Conversation

@bouwkast
Copy link
Copy Markdown
Collaborator

Summary of changes

Skips a few errors that are Ignored in Error Tracking and shouldn't really be sent to telemetry as we can't act on them.

Reason for change

Nothing we can really do about these.

Implementation details

Marked as ErrorSkipTelemetry

Test coverage

N/A

Other details

I guess one thing we do lose here is whether we want to see how often these happen?

@bouwkast bouwkast requested review from a team as code owners December 23, 2025 13:43
@bouwkast bouwkast requested a review from kathiehuang December 23, 2025 13:43
Copy link
Copy Markdown
Member

@andrewlock andrewlock left a comment

Choose a reason for hiding this comment

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

Thanks!

if (jsonFiles.Length == 0)
{
Log.Error("'{InputFolder}' doesn't contain any json file.", inputFolder);
Log.ErrorSkipTelemetry("'{InputFolder}' doesn't contain any json file.", inputFolder);
Copy link
Copy Markdown
Member

@andrewlock andrewlock Dec 23, 2025

Choose a reason for hiding this comment

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

@tonyredondo is this actually an error, or should it just be a warning? (ErrorSkipTelemetry is obvs fine for now, unless we hear otherwise)

@dd-trace-dotnet-ci-bot
Copy link
Copy Markdown

dd-trace-dotnet-ci-bot bot commented Dec 23, 2025

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8003) 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.27 ± (72.40 - 72.79) ms75.27 ± (75.19 - 75.59) ms+4.2%✅⬆️
.NET Framework 4.8 - Bailout
duration76.16 ± (76.05 - 76.40) ms79.75 ± (79.63 - 80.07) ms+4.7%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1095.57 ± (1093.81 - 1101.85) ms1106.60 ± (1106.18 - 1111.86) ms+1.0%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms23.13 ± (23.07 - 23.19) ms23.16 ± (23.10 - 23.22) ms+0.1%✅⬆️
process.time_to_main_ms88.89 ± (88.69 - 89.09) ms88.16 ± (87.95 - 88.37) ms-0.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.92) MB10.92 ± (10.92 - 10.93) MB+0.1%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms23.14 ± (23.09 - 23.19) ms23.18 ± (23.13 - 23.24) ms+0.2%✅⬆️
process.time_to_main_ms90.36 ± (90.14 - 90.59) ms90.37 ± (90.16 - 90.59) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.95 - 10.96) MB10.93 ± (10.92 - 10.94) MB-0.2%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms235.16 ± (234.14 - 236.17) ms233.40 ± (232.27 - 234.54) ms-0.7%
process.time_to_main_ms544.41 ± (543.08 - 545.73) ms540.59 ± (539.56 - 541.61) ms-0.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed47.82 ± (47.79 - 47.84) MB47.80 ± (47.77 - 47.83) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 29)28 ± (28 - 28)-0.4%
.NET 6 - Baseline
process.internal_duration_ms22.05 ± (22.00 - 22.10) ms21.79 ± (21.74 - 21.85) ms-1.2%
process.time_to_main_ms77.56 ± (77.35 - 77.76) ms76.99 ± (76.77 - 77.21) ms-0.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 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.90 ± (21.84 - 21.95) ms21.79 ± (21.74 - 21.84) ms-0.5%
process.time_to_main_ms78.38 ± (78.20 - 78.55) ms78.26 ± (78.06 - 78.46) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.70 ± (10.69 - 10.71) MB10.73 ± (10.73 - 10.74) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms385.09 ± (382.71 - 387.47) ms387.18 ± (384.67 - 389.69) ms+0.5%✅⬆️
process.time_to_main_ms540.26 ± (539.26 - 541.27) ms538.94 ± (538.03 - 539.85) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.84 ± (49.81 - 49.87) MB50.03 ± (50.00 - 50.05) MB+0.4%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.1%
.NET 8 - Baseline
process.internal_duration_ms20.03 ± (19.98 - 20.08) ms20.15 ± (20.11 - 20.19) ms+0.6%✅⬆️
process.time_to_main_ms75.92 ± (75.75 - 76.08) ms76.27 ± (76.11 - 76.43) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.66 ± (7.66 - 7.66) MB7.69 ± (7.68 - 7.70) MB+0.4%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.96 ± (19.91 - 20.01) ms20.08 ± (20.03 - 20.13) ms+0.6%✅⬆️
process.time_to_main_ms76.96 ± (76.75 - 77.17) ms77.51 ± (77.32 - 77.70) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.74) MB7.76 ± (7.75 - 7.77) MB+0.5%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms304.59 ± (302.32 - 306.85) ms307.67 ± (305.42 - 309.92) ms+1.0%✅⬆️
process.time_to_main_ms499.98 ± (499.16 - 500.79) ms502.43 ± (501.63 - 503.23) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.10 ± (37.07 - 37.13) MB37.08 ± (37.05 - 37.11) 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
duration213.57 ± (213.09 - 214.03) ms214.20 ± (213.56 - 214.50) ms+0.3%✅⬆️
.NET Framework 4.8 - Bailout
duration217.56 ± (217.20 - 218.23) ms217.83 ± (217.45 - 218.28) ms+0.1%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1219.98 ± (1221.50 - 1229.71) ms1242.43 ± (1242.04 - 1249.48) ms+1.8%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms203.57 ± (203.06 - 204.08) ms211.25 ± (210.70 - 211.80) ms+3.8%✅⬆️
process.time_to_main_ms88.68 ± (88.44 - 88.91) ms91.98 ± (91.58 - 92.38) ms+3.7%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.96 ± (15.94 - 15.97) MB15.92 ± (15.89 - 15.94) MB-0.2%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.3%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms203.96 ± (203.44 - 204.47) ms209.99 ± (209.45 - 210.53) ms+3.0%✅⬆️
process.time_to_main_ms89.58 ± (89.38 - 89.78) ms92.93 ± (92.66 - 93.19) ms+3.7%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.99 ± (15.96 - 16.01) MB15.96 ± (15.94 - 15.97) MB-0.2%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)+0.7%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms414.12 ± (412.70 - 415.54) ms422.35 ± (420.74 - 423.96) ms+2.0%✅⬆️
process.time_to_main_ms544.31 ± (542.89 - 545.73) ms556.14 ± (554.63 - 557.64) ms+2.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.67 ± (58.63 - 58.72) MB58.70 ± (58.65 - 58.74) MB+0.0%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.5%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms207.51 ± (206.97 - 208.05) ms217.50 ± (216.95 - 218.05) ms+4.8%✅⬆️
process.time_to_main_ms76.54 ± (76.30 - 76.78) ms80.71 ± (80.44 - 80.99) ms+5.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.23 ± (16.21 - 16.26) MB16.13 ± (16.10 - 16.15) MB-0.7%
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (20 - 20)+1.0%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms205.34 ± (204.82 - 205.85) ms217.04 ± (216.45 - 217.63) ms+5.7%✅⬆️
process.time_to_main_ms77.17 ± (76.95 - 77.38) ms81.70 ± (81.43 - 81.98) ms+5.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.28 ± (16.26 - 16.31) MB16.12 ± (16.10 - 16.14) MB-1.0%
runtime.dotnet.threads.count20 ± (20 - 20)21 ± (20 - 21)+2.0%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms599.33 ± (596.69 - 601.97) ms602.98 ± (600.58 - 605.38) ms+0.6%✅⬆️
process.time_to_main_ms548.76 ± (547.58 - 549.94) ms563.45 ± (562.17 - 564.73) ms+2.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.38 ± (61.28 - 61.47) MB61.31 ± (61.20 - 61.41) MB-0.1%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.5%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms209.35 ± (208.84 - 209.86) ms214.39 ± (213.90 - 214.88) ms+2.4%✅⬆️
process.time_to_main_ms77.68 ± (77.42 - 77.95) ms79.73 ± (79.45 - 80.02) ms+2.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.61 ± (11.60 - 11.63) MB11.57 ± (11.55 - 11.59) MB-0.3%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.9%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms207.94 ± (207.39 - 208.49) ms213.49 ± (212.98 - 213.99) ms+2.7%✅⬆️
process.time_to_main_ms78.42 ± (78.13 - 78.71) ms80.73 ± (80.48 - 80.97) ms+2.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.69 ± (11.67 - 11.71) MB11.64 ± (11.61 - 11.66) MB-0.4%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+2.0%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms536.46 ± (530.34 - 542.57) ms581.59 ± (574.01 - 589.17) ms+8.4%✅⬆️
process.time_to_main_ms508.23 ± (507.17 - 509.29) ms518.95 ± (517.78 - 520.11) ms+2.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.77 ± (50.69 - 50.85) MB51.17 ± (51.07 - 51.27) MB+0.8%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.3%✅⬆️
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 (8003) - mean (75ms)  : 72, 78
    master - mean (73ms)  : 70, 76

    section Bailout
    This PR (8003) - mean (80ms)  : 77, 83
    master - mean (76ms)  : 75, 78

    section CallTarget+Inlining+NGEN
    This PR (8003) - mean (1,109ms)  : 1069, 1149
    master - mean (1,098ms)  : 1039, 1157

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 (8003) - mean (119ms)  : 115, 122
    master - mean (119ms)  : 116, 123

    section Bailout
    This PR (8003) - mean (121ms)  : 117, 125
    master - mean (121ms)  : 117, 125

    section CallTarget+Inlining+NGEN
    This PR (8003) - mean (814ms)  : 792, 836
    master - mean (818ms)  : 795, 841

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8003) - mean (106ms)  : 101, 111
    master - mean (106ms)  : 103, 110

    section Bailout
    This PR (8003) - mean (107ms)  : 103, 111
    master - mean (107ms)  : 105, 109

    section CallTarget+Inlining+NGEN
    This PR (8003) - mean (955ms)  : 916, 994
    master - mean (956ms)  : 918, 993

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

    section Bailout
    This PR (8003) - mean (106ms)  : 103, 109
    master - mean (105ms)  : 103, 107

    section CallTarget+Inlining+NGEN
    This PR (8003) - mean (841ms)  : 806, 876
    master - mean (836ms)  : 801, 870

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 (8003) - mean (214ms)  : 209, 219
    master - mean (214ms)  : 207, 220

    section Bailout
    This PR (8003) - mean (218ms)  : 214, 222
    master - mean (218ms)  : 212, 223

    section CallTarget+Inlining+NGEN
    This PR (8003) - mean (1,246ms)  : 1192, 1300
    master - mean (1,226ms)  : 1164, 1287

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 (8003) - mean (313ms)  : 305, 322
    master - mean (302ms)  : 293, 311

    section Bailout
    This PR (8003) - mean (312ms)  : 304, 321
    master - mean (303ms)  : 297, 309

    section CallTarget+Inlining+NGEN
    This PR (8003) - mean (1,021ms)  : 989, 1053
    master - mean (999ms)  : 974, 1024

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8003) - mean (308ms)  : 300, 315
    master - mean (293ms)  : 285, 301

    section Bailout
    This PR (8003) - mean (309ms)  : crit, 301, 316
    master - mean (291ms)  : 284, 299

    section CallTarget+Inlining+NGEN
    This PR (8003) - mean (1,199ms)  : 1157, 1241
    master - mean (1,179ms)  : 1140, 1219

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8003) - mean (305ms)  : 298, 312
    master - mean (298ms)  : 290, 306

    section Bailout
    This PR (8003) - mean (306ms)  : 299, 312
    master - mean (297ms)  : 291, 304

    section CallTarget+Inlining+NGEN
    This PR (8003) - mean (1,133ms)  : 1009, 1257
    master - mean (1,080ms)  : 994, 1166

Loading

@bouwkast bouwkast force-pushed the steven/skip-errors branch from 4cce258 to 0a5bd0c Compare April 2, 2026 13:40
@bouwkast bouwkast enabled auto-merge (squash) April 2, 2026 14:45
@bouwkast bouwkast merged commit bd15745 into master Apr 2, 2026
141 of 142 checks passed
@bouwkast bouwkast deleted the steven/skip-errors branch April 2, 2026 15:07
@github-actions github-actions bot added this to the vNext-v3 milestone Apr 2, 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