Skip to content

Revert "switch process tags on by default (#8296)"#8405

Closed
andrewlock wants to merge 1 commit intomasterfrom
andrew/revert-process-tags
Closed

Revert "switch process tags on by default (#8296)"#8405
andrewlock wants to merge 1 commit intomasterfrom
andrew/revert-process-tags

Conversation

@andrewlock
Copy link
Copy Markdown
Member

Summary of changes

This reverts commit b68393d.

Reason for change

Master is broken - all the debugger tests are broken

Implementation details

Reverts the commit so it can be addressed separately

@andrewlock andrewlock requested review from a team as code owners April 2, 2026 12:18
@andrewlock andrewlock added the area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) label Apr 2, 2026
@andrewlock andrewlock requested review from a team as code owners April 2, 2026 12:18
@andrewlock andrewlock requested a review from a team as a code owner April 2, 2026 12:18
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Snapshots difference summary

The following differences have been observed in committed snapshots. It is meant to help the reviewer.
The diff is simplistic, so please check some files anyway while we improve it.

4 occurrences of :

-        "_dd.tags.process": "entrypoint.basedir:VALUE,entrypoint.name:VALUE,entrypoint.workdir:VALUE,svc.auto:VALUE",

Copy link
Copy Markdown
Contributor

@vandonr vandonr left a comment

Choose a reason for hiding this comment

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

it saddens me but I can only approve

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

Execution-Time Benchmarks Report ⏱️

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

⚠️ Potential regressions detected

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration188.83 ± (188.81 - 189.47) ms208.06 ± (207.52 - 208.35) ms+10.2%❌⬆️
.NET Framework 4.8 - Bailout
duration192.84 ± (192.62 - 192.99) ms213.02 ± (212.92 - 213.94) ms+10.5%❌⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1133.72 ± (1135.38 - 1142.68) ms1214.66 ± (1216.35 - 1224.67) ms+7.1%❌⬆️
Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration72.04 ± (72.10 - 72.43) ms75.37 ± (75.35 - 75.74) ms+4.6%✅⬆️
.NET Framework 4.8 - Bailout
duration76.09 ± (75.98 - 76.39) ms79.07 ± (78.99 - 79.38) ms+3.9%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1060.67 ± (1062.47 - 1067.55) ms1093.30 ± (1093.43 - 1101.03) ms+3.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.43 ± (22.39 - 22.48) ms22.98 ± (22.92 - 23.04) ms+2.4%✅⬆️
process.time_to_main_ms83.51 ± (83.32 - 83.70) ms87.91 ± (87.69 - 88.14) ms+5.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.92 ± (10.91 - 10.92) MB10.92 ± (10.92 - 10.93) MB+0.0%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.29 ± (22.25 - 22.32) ms23.00 ± (22.94 - 23.05) ms+3.2%✅⬆️
process.time_to_main_ms84.58 ± (84.40 - 84.75) ms89.36 ± (89.17 - 89.55) ms+5.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.96 ± (10.95 - 10.96) MB10.95 ± (10.94 - 10.95) MB-0.1%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms224.48 ± (223.12 - 225.84) ms232.20 ± (230.97 - 233.43) ms+3.4%✅⬆️
process.time_to_main_ms513.89 ± (512.64 - 515.13) ms532.04 ± (530.54 - 533.54) ms+3.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed47.78 ± (47.75 - 47.82) MB47.74 ± (47.70 - 47.78) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.9%
.NET 6 - Baseline
process.internal_duration_ms21.02 ± (20.99 - 21.06) ms21.66 ± (21.63 - 21.70) ms+3.0%✅⬆️
process.time_to_main_ms72.43 ± (72.25 - 72.61) ms76.23 ± (76.03 - 76.42) ms+5.2%✅⬆️
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.01 ± (20.97 - 21.04) ms21.43 ± (21.37 - 21.49) ms+2.0%✅⬆️
process.time_to_main_ms73.10 ± (72.92 - 73.28) ms76.41 ± (76.21 - 76.62) ms+4.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.73 ± (10.73 - 10.73) MB10.74 ± (10.74 - 10.74) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms385.73 ± (383.81 - 387.65) ms383.03 ± (381.05 - 385.01) ms-0.7%
process.time_to_main_ms517.89 ± (516.96 - 518.83) ms534.62 ± (533.62 - 535.61) ms+3.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.95 ± (49.92 - 49.98) MB49.72 ± (49.69 - 49.75) MB-0.5%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.34 ± (19.30 - 19.38) ms19.87 ± (19.82 - 19.91) ms+2.7%✅⬆️
process.time_to_main_ms71.95 ± (71.80 - 72.11) ms75.04 ± (74.88 - 75.21) ms+4.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.68 - 7.69) MB7.67 ± (7.66 - 7.67) MB-0.2%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.36 ± (19.32 - 19.40) ms20.04 ± (19.99 - 20.09) ms+3.5%✅⬆️
process.time_to_main_ms72.94 ± (72.76 - 73.12) ms76.76 ± (76.58 - 76.94) ms+5.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.76 ± (7.75 - 7.77) MB7.72 ± (7.72 - 7.73) MB-0.4%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms305.98 ± (303.89 - 308.08) ms309.17 ± (307.11 - 311.23) ms+1.0%✅⬆️
process.time_to_main_ms476.96 ± (476.22 - 477.71) ms493.95 ± (492.99 - 494.92) ms+3.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.02 ± (37.00 - 37.04) MB37.01 ± (36.98 - 37.03) MB-0.0%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.2%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration188.83 ± (188.81 - 189.47) ms208.06 ± (207.52 - 208.35) ms+10.2%❌⬆️
.NET Framework 4.8 - Bailout
duration192.84 ± (192.62 - 192.99) ms213.02 ± (212.92 - 213.94) ms+10.5%❌⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1133.72 ± (1135.38 - 1142.68) ms1214.66 ± (1216.35 - 1224.67) ms+7.1%❌⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms184.52 ± (184.24 - 184.80) ms204.32 ± (203.82 - 204.83) ms+10.7%✅⬆️
process.time_to_main_ms79.26 ± (79.06 - 79.47) ms88.41 ± (88.15 - 88.66) ms+11.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.14 ± (16.11 - 16.17) MB15.87 ± (15.85 - 15.89) MB-1.7%
runtime.dotnet.threads.count19 ± (19 - 20)20 ± (20 - 20)+3.0%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms183.91 ± (183.70 - 184.12) ms204.60 ± (204.08 - 205.11) ms+11.2%✅⬆️
process.time_to_main_ms80.70 ± (80.60 - 80.81) ms90.33 ± (90.10 - 90.57) ms+11.9%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.16 ± (16.13 - 16.19) MB15.97 ± (15.94 - 15.99) MB-1.2%
runtime.dotnet.threads.count20 ± (20 - 21)21 ± (21 - 21)+2.0%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms389.69 ± (388.22 - 391.17) ms413.33 ± (411.87 - 414.78) ms+6.1%✅⬆️
process.time_to_main_ms498.56 ± (497.26 - 499.86) ms544.31 ± (542.72 - 545.90) ms+9.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.89 ± (57.67 - 58.12) MB58.70 ± (58.66 - 58.73) MB+1.4%✅⬆️
runtime.dotnet.threads.count30 ± (29 - 30)30 ± (30 - 30)+0.7%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms188.38 ± (188.11 - 188.65) ms211.89 ± (211.33 - 212.45) ms+12.5%✅⬆️
process.time_to_main_ms69.16 ± (69.01 - 69.31) ms78.14 ± (77.86 - 78.43) ms+13.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.62 ± (15.44 - 15.80) MB16.20 ± (16.18 - 16.22) MB+3.7%✅⬆️
runtime.dotnet.threads.count18 ± (17 - 18)20 ± (19 - 20)+11.1%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms187.58 ± (187.43 - 187.73) ms210.89 ± (210.36 - 211.42) ms+12.4%✅⬆️
process.time_to_main_ms69.94 ± (69.89 - 69.99) ms79.29 ± (79.04 - 79.54) ms+13.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.50 ± (15.33 - 15.67) MB16.23 ± (16.21 - 16.25) MB+4.7%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 19)20 ± (20 - 21)+10.9%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms596.91 ± (593.58 - 600.24) ms596.68 ± (594.09 - 599.28) ms-0.0%
process.time_to_main_ms503.78 ± (502.96 - 504.60) ms549.37 ± (548.36 - 550.38) ms+9.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.53 ± (61.44 - 61.62) MB61.33 ± (61.23 - 61.43) MB-0.3%
runtime.dotnet.threads.count30 ± (30 - 30)31 ± (31 - 31)+1.5%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms186.03 ± (185.83 - 186.24) ms208.65 ± (208.11 - 209.19) ms+12.2%✅⬆️
process.time_to_main_ms68.37 ± (68.19 - 68.54) ms77.37 ± (77.12 - 77.62) ms+13.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.78 ± (11.70 - 11.86) MB11.65 ± (11.63 - 11.66) MB-1.1%
runtime.dotnet.threads.count18 ± (18 - 18)19 ± (19 - 19)+5.6%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms185.75 ± (185.57 - 185.93) ms208.95 ± (208.46 - 209.45) ms+12.5%✅⬆️
process.time_to_main_ms69.36 ± (69.31 - 69.41) ms78.79 ± (78.56 - 79.02) ms+13.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.92 ± (11.89 - 11.95) MB11.70 ± (11.68 - 11.72) MB-1.8%
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (20 - 20)+4.6%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms520.81 ± (518.20 - 523.42) ms557.84 ± (550.14 - 565.53) ms+7.1%✅⬆️
process.time_to_main_ms461.17 ± (460.51 - 461.84) ms507.15 ± (506.22 - 508.07) ms+10.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.66 ± (50.63 - 50.69) MB50.97 ± (50.87 - 51.07) MB+0.6%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.5%✅⬆️
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 (8405) - mean (76ms)  : 73, 78
    master - mean (72ms)  : 70, 75

    section Bailout
    This PR (8405) - mean (79ms)  : 77, 81
    master - mean (76ms)  : 74, 78

    section CallTarget+Inlining+NGEN
    This PR (8405) - mean (1,097ms)  : 1040, 1154
    master - mean (1,065ms)  : 1029, 1101

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 (8405) - mean (118ms)  : 114, 122
    master - mean (113ms)  : 109, 117

    section Bailout
    This PR (8405) - mean (119ms)  : 117, 122
    master - mean (113ms)  : 111, 116

    section CallTarget+Inlining+NGEN
    This PR (8405) - mean (803ms)  : 785, 821
    master - mean (778ms)  : 754, 802

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8405) - mean (105ms)  : 100, 109
    master - mean (100ms)  : 96, 103

    section Bailout
    This PR (8405) - mean (105ms)  : 102, 107
    master - mean (100ms)  : 98, 103

    section CallTarget+Inlining+NGEN
    This PR (8405) - mean (946ms)  : 912, 979
    master - mean (931ms)  : 899, 964

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8405) - mean (103ms)  : 100, 106
    master - mean (99ms)  : 96, 103

    section Bailout
    This PR (8405) - mean (105ms)  : 102, 107
    master - mean (100ms)  : 98, 102

    section CallTarget+Inlining+NGEN
    This PR (8405) - mean (834ms)  : 802, 867
    master - mean (814ms)  : 778, 849

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 (8405) - mean (208ms)  : 204, 212
    master - mean (189ms)  : 186, 192

    section Bailout
    This PR (8405) - mean (213ms)  : crit, 209, 218
    master - mean (193ms)  : 191, 195

    section CallTarget+Inlining+NGEN
    This PR (8405) - mean (1,221ms)  : crit, 1157, 1284
    master - mean (1,139ms)  : 1085, 1193

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 (8405) - mean (303ms)  : 294, 311
    master - mean (272ms)  : 268, 276

    section Bailout
    This PR (8405) - mean (304ms)  : crit, 298, 311
    master - mean (272ms)  : 270, 275

    section CallTarget+Inlining+NGEN
    This PR (8405) - mean (1,001ms)  : crit, 979, 1023
    master - mean (921ms)  : 899, 943

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8405) - mean (299ms)  : 293, 306
    master - mean (266ms)  : 261, 271

    section Bailout
    This PR (8405) - mean (299ms)  : crit, 291, 308
    master - mean (265ms)  : 263, 268

    section CallTarget+Inlining+NGEN
    This PR (8405) - mean (1,178ms)  : 1139, 1217
    master - mean (1,131ms)  : 1083, 1179

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8405) - mean (297ms)  : 290, 304
    master - mean (264ms)  : 259, 268

    section Bailout
    This PR (8405) - mean (298ms)  : crit, 292, 304
    master - mean (264ms)  : 261, 268

    section CallTarget+Inlining+NGEN
    This PR (8405) - mean (1,097ms)  : crit, 983, 1210
    master - mean (1,014ms)  : 974, 1055

Loading

Copy link
Copy Markdown
Contributor

@vandonr vandonr left a comment

Choose a reason for hiding this comment

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

fixed in #8406

@andrewlock andrewlock closed this Apr 2, 2026
@andrewlock andrewlock deleted the andrew/revert-process-tags branch April 2, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:configuration area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants