Skip to content

refactor(telemetry): avoid doing two separate http requests in stop telemetry - #2435

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
bob/consolidate-stop-telem
Aug 31, 2026
Merged

refactor(telemetry): avoid doing two separate http requests in stop telemetry#2435
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
bob/consolidate-stop-telem

Conversation

@bwoebi

@bwoebi bwoebi commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

This has not much impact in practice, but is observable, and obviously also races against each other, delivering payloads after app closing, which is not that problematic, but could be unexpected.

@bwoebi
bwoebi requested a review from a team as a code owner August 28, 2026 17:41
@datadog-datadog-us1-prod

datadog-datadog-us1-prod Bot commented Aug 28, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 80.00%
Overall Coverage: 76.64% (-0.03%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 02d95f0 | Docs | View more details | Give us feedback!

@pr-commenter

pr-commenter Bot commented Aug 28, 2026

Copy link
Copy Markdown

Benchmarks

Comparison

Benchmark execution time: 2026-08-31 11:29:59

Comparing candidate commit 02d95f0 in PR branch bob/consolidate-stop-telem with baseline commit 9fb27ea in branch main.

Found 3 performance improvements and 0 performance regressions! Performance is the same for 22 metrics, 0 unstable metrics.

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:trace_buffer/4_senders/no_delay

  • 🟩 execution_time [-240.185µs; -206.771µs] or [-9.870%; -8.497%]
  • 🟩 throughput [+138650.622op/s; +161533.424op/s] or [+9.360%; +10.905%]

scenario:trace_buffer/8_senders/no_delay

  • 🟩 throughput [+44231.526op/s; +53376.405op/s] or [+4.157%; +5.017%]

Benchmark execution time: 2026-08-31 11:27:34

Comparing candidate commit 02d95f0 in PR branch bob/consolidate-stop-telem with baseline commit 9fb27ea in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics.

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 ----------------------------------'

Candidate

Candidate benchmark details

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 02d95f0 1788175021 bob/consolidate-stop-telem
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
trace_buffer/1_senders/10us_delay execution_time 56.282ms 56.809ms ± 0.354ms 56.662ms ± 0.148ms 57.060ms 57.529ms 57.596ms 57.657ms 1.76% 0.867 -0.517 0.62% 0.025ms 1 200
trace_buffer/1_senders/10us_delay throughput 15609.441op/s 15843.213op/s ± 98.279op/s 15883.799op/s ± 41.354op/s 15916.411op/s 15952.539op/s 15978.638op/s 15990.919op/s 0.67% -0.853 -0.540 0.62% 6.949op/s 1 200
trace_buffer/1_senders/1us_delay execution_time 50.024ms 50.073ms ± 0.033ms 50.071ms ± 0.016ms 50.086ms 50.139ms 50.178ms 50.201ms 0.26% 1.137 2.035 0.07% 0.002ms 1 200
trace_buffer/1_senders/1us_delay throughput 17927.895op/s 17973.821op/s ± 11.841op/s 17974.416op/s ± 5.792op/s 17982.494op/s 17988.945op/s 17990.062op/s 17991.435op/s 0.09% -1.132 2.017 0.07% 0.837op/s 1 200
trace_buffer/1_senders/no_delay execution_time 332.619µs 338.983µs ± 5.726µs 338.192µs ± 1.576µs 339.942µs 343.162µs 354.714µs 408.055µs 20.66% 9.076 104.761 1.68% 0.405µs 1 200
trace_buffer/1_senders/no_delay throughput 2205586.695op/s 2655660.675op/s ± 39249.399op/s 2661208.687op/s ± 12399.040op/s 2672817.298op/s 2685875.083op/s 2697026.597op/s 2705794.772op/s 1.68% -7.903 85.500 1.47% 2775.352op/s 1 200
trace_buffer/2_senders/10us_delay execution_time 56.745ms 57.240ms ± 0.201ms 57.215ms ± 0.133ms 57.383ms 57.612ms 57.679ms 57.739ms 0.92% 0.252 -0.493 0.35% 0.014ms 1 200
trace_buffer/2_senders/10us_delay throughput 31174.579op/s 31446.837op/s ± 110.428op/s 31460.341op/s ± 73.293op/s 31524.396op/s 31607.440op/s 31670.869op/s 31721.041op/s 0.83% -0.236 -0.497 0.35% 7.808op/s 1 200
trace_buffer/2_senders/1us_delay execution_time 50.046ms 50.108ms ± 0.032ms 50.105ms ± 0.019ms 50.120ms 50.168ms 50.204ms 50.251ms 0.29% 1.365 2.954 0.06% 0.002ms 1 200
trace_buffer/2_senders/1us_delay throughput 35820.199op/s 35922.464op/s ± 22.870op/s 35924.725op/s ± 13.362op/s 35939.226op/s 35951.334op/s 35956.371op/s 35966.834op/s 0.12% -1.359 2.930 0.06% 1.617op/s 1 200
trace_buffer/2_senders/no_delay execution_time 850.320µs 895.855µs ± 18.950µs 895.158µs ± 12.518µs 906.806µs 925.381µs 938.893µs 987.618µs 10.33% 0.548 2.106 2.11% 1.340µs 1 200
trace_buffer/2_senders/no_delay throughput 1822567.219op/s 2010139.348op/s ± 42133.814op/s 2010817.681op/s ± 28144.912op/s 2040264.052op/s 2079316.572op/s 2108725.005op/s 2116850.127op/s 5.27% -0.325 1.407 2.09% 2979.311op/s 1 200
trace_buffer/4_senders/10us_delay execution_time 57.301ms 57.576ms ± 0.114ms 57.568ms ± 0.064ms 57.633ms 57.773ms 57.933ms 57.960ms 0.68% 0.751 1.261 0.20% 0.008ms 1 200
trace_buffer/4_senders/10us_delay throughput 62111.762op/s 62526.643op/s ± 123.764op/s 62534.479op/s ± 69.797op/s 62602.748op/s 62702.472op/s 62761.632op/s 62825.773op/s 0.47% -0.735 1.227 0.20% 8.751op/s 1 200
trace_buffer/4_senders/1us_delay execution_time 50.106ms 50.176ms ± 0.046ms 50.162ms ± 0.022ms 50.198ms 50.268ms 50.285ms 50.418ms 0.51% 1.614 3.798 0.09% 0.003ms 1 200
trace_buffer/4_senders/1us_delay throughput 71403.154op/s 71747.445op/s ± 65.105op/s 71766.929op/s ± 30.898op/s 71787.696op/s 71817.948op/s 71833.512op/s 71847.345op/s 0.11% -1.605 3.745 0.09% 4.604op/s 1 200
trace_buffer/4_senders/no_delay execution_time 1.961ms 2.210ms ± 0.084ms 2.217ms ± 0.061ms 2.274ms 2.335ms 2.365ms 2.393ms 7.93% -0.357 -0.301 3.79% 0.006ms 1 200
trace_buffer/4_senders/no_delay throughput 1504681.597op/s 1631384.694op/s ± 62983.784op/s 1623929.383op/s ± 43420.724op/s 1672205.228op/s 1738386.049op/s 1796703.566op/s 1835834.924op/s 13.05% 0.542 -0.029 3.85% 4453.626op/s 1 200
trace_buffer/8_senders/10us_delay execution_time 57.679ms 58.039ms ± 0.273ms 57.947ms ± 0.147ms 58.222ms 58.577ms 58.742ms 58.784ms 1.44% 0.938 -0.164 0.47% 0.019ms 1 200
trace_buffer/8_senders/10us_delay throughput 122482.056op/s 124056.485op/s ± 581.187op/s 124250.971op/s ± 313.753op/s 124509.404op/s 124706.051op/s 124768.380op/s 124828.941op/s 0.47% -0.925 -0.194 0.47% 41.096op/s 1 200
trace_buffer/8_senders/1us_delay execution_time 50.217ms 50.292ms ± 0.060ms 50.278ms ± 0.033ms 50.321ms 50.381ms 50.552ms 50.634ms 0.71% 2.111 7.454 0.12% 0.004ms 1 200
trace_buffer/8_senders/1us_delay throughput 142195.999op/s 143163.451op/s ± 170.870op/s 143204.324op/s ± 92.848op/s 143281.048op/s 143352.028op/s 143371.032op/s 143377.855op/s 0.12% -2.093 7.335 0.12% 12.082op/s 1 200
trace_buffer/8_senders/no_delay execution_time 5.687ms 6.474ms ± 0.166ms 6.500ms ± 0.098ms 6.592ms 6.674ms 6.722ms 6.792ms 4.50% -1.318 2.819 2.55% 0.012ms 1 200
trace_buffer/8_senders/no_delay throughput 1060041.954op/s 1112808.313op/s ± 29592.560op/s 1107766.787op/s ± 16419.917op/s 1125483.005op/s 1167466.508op/s 1212106.582op/s 1266029.190op/s 14.29% 1.578 4.116 2.65% 2092.510op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
trace_buffer/1_senders/10us_delay execution_time [56.760ms; 56.858ms] or [-0.086%; +0.086%] None None None
trace_buffer/1_senders/10us_delay throughput [15829.592op/s; 15856.833op/s] or [-0.086%; +0.086%] None None None
trace_buffer/1_senders/1us_delay execution_time [50.068ms; 50.077ms] or [-0.009%; +0.009%] None None None
trace_buffer/1_senders/1us_delay throughput [17972.180op/s; 17975.462op/s] or [-0.009%; +0.009%] None None None
trace_buffer/1_senders/no_delay execution_time [338.189µs; 339.776µs] or [-0.234%; +0.234%] None None None
trace_buffer/1_senders/no_delay throughput [2650221.086op/s; 2661100.264op/s] or [-0.205%; +0.205%] None None None
trace_buffer/2_senders/10us_delay execution_time [57.212ms; 57.268ms] or [-0.049%; +0.049%] None None None
trace_buffer/2_senders/10us_delay throughput [31431.533op/s; 31462.142op/s] or [-0.049%; +0.049%] None None None
trace_buffer/2_senders/1us_delay execution_time [50.104ms; 50.112ms] or [-0.009%; +0.009%] None None None
trace_buffer/2_senders/1us_delay throughput [35919.294op/s; 35925.633op/s] or [-0.009%; +0.009%] None None None
trace_buffer/2_senders/no_delay execution_time [893.229µs; 898.481µs] or [-0.293%; +0.293%] None None None
trace_buffer/2_senders/no_delay throughput [2004300.007op/s; 2015978.689op/s] or [-0.290%; +0.290%] None None None
trace_buffer/4_senders/10us_delay execution_time [57.560ms; 57.591ms] or [-0.027%; +0.027%] None None None
trace_buffer/4_senders/10us_delay throughput [62509.491op/s; 62543.796op/s] or [-0.027%; +0.027%] None None None
trace_buffer/4_senders/1us_delay execution_time [50.170ms; 50.182ms] or [-0.013%; +0.013%] None None None
trace_buffer/4_senders/1us_delay throughput [71738.423op/s; 71756.468op/s] or [-0.013%; +0.013%] None None None
trace_buffer/4_senders/no_delay execution_time [2.198ms; 2.222ms] or [-0.526%; +0.526%] None None None
trace_buffer/4_senders/no_delay throughput [1622655.747op/s; 1640113.640op/s] or [-0.535%; +0.535%] None None None
trace_buffer/8_senders/10us_delay execution_time [58.002ms; 58.077ms] or [-0.065%; +0.065%] None None None
trace_buffer/8_senders/10us_delay throughput [123975.938op/s; 124137.032op/s] or [-0.065%; +0.065%] None None None
trace_buffer/8_senders/1us_delay execution_time [50.284ms; 50.301ms] or [-0.017%; +0.017%] None None None
trace_buffer/8_senders/1us_delay throughput [143139.771op/s; 143187.132op/s] or [-0.017%; +0.017%] None None None
trace_buffer/8_senders/no_delay execution_time [6.452ms; 6.497ms] or [-0.355%; +0.355%] None None None
trace_buffer/8_senders/no_delay throughput [1108707.069op/s; 1116909.557op/s] or [-0.369%; +0.369%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 02d95f0 1788175021 bob/consolidate-stop-telem
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
concentrator/add_spans_to_concentrator execution_time 9.570ms 9.598ms ± 0.019ms 9.593ms ± 0.012ms 9.608ms 9.630ms 9.645ms 9.704ms 1.16% 1.404 3.984 0.20% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
concentrator/add_spans_to_concentrator execution_time [9.595ms; 9.601ms] or [-0.027%; +0.027%] None None None

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 02d95f0 1788175021 bob/consolidate-stop-telem
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
receiver_entry_point/report/2644 execution_time 5.072ms 5.102ms ± 0.018ms 5.101ms ± 0.011ms 5.110ms 5.139ms 5.157ms 5.158ms 1.12% 0.818 0.662 0.35% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
receiver_entry_point/report/2644 execution_time [5.100ms; 5.105ms] or [-0.048%; +0.048%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 02d95f0 1788175021 bob/consolidate-stop-telem
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
write only interface execution_time 1.058µs 1.074µs ± 0.006µs 1.074µs ± 0.004µs 1.078µs 1.081µs 1.082µs 1.083µs 0.83% -0.728 -0.011 0.51% 0.000µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [1.073µs; 1.074µs] or [-0.071%; +0.071%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 02d95f0 1788175021 bob/consolidate-stop-telem
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
two way interface execution_time 14.671µs 15.652µs ± 0.240µs 15.630µs ± 0.099µs 15.732µs 15.953µs 16.160µs 17.755µs 13.59% 3.391 30.171 1.53% 0.017µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [15.619µs; 15.685µs] or [-0.212%; +0.212%] None None None

Baseline

Baseline benchmark details

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9fb27ea 1787934813 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
trace_buffer/1_senders/10us_delay execution_time 56.289ms 56.582ms ± 0.165ms 56.546ms ± 0.082ms 56.654ms 56.854ms 57.138ms 57.535ms 1.75% 2.089 7.804 0.29% 0.012ms 1 200
trace_buffer/1_senders/10us_delay throughput 15642.604op/s 15906.213op/s ± 46.133op/s 15916.304op/s ± 23.120op/s 15935.661op/s 15957.384op/s 15970.249op/s 15988.834op/s 0.46% -2.042 7.496 0.29% 3.262op/s 1 200
trace_buffer/1_senders/1us_delay execution_time 50.023ms 50.083ms ± 0.034ms 50.079ms ± 0.011ms 50.088ms 50.160ms 50.189ms 50.210ms 0.26% 1.368 2.815 0.07% 0.002ms 1 200
trace_buffer/1_senders/1us_delay throughput 17924.552op/s 17970.099op/s ± 12.026op/s 17971.622op/s ± 3.903op/s 17975.868op/s 17988.780op/s 17991.167op/s 17991.628op/s 0.11% -1.362 2.800 0.07% 0.850op/s 1 200
trace_buffer/1_senders/no_delay execution_time 326.962µs 333.928µs ± 4.848µs 333.840µs ± 1.343µs 335.040µs 337.357µs 346.964µs 385.809µs 15.57% 6.471 64.741 1.45% 0.343µs 1 200
trace_buffer/1_senders/no_delay throughput 2332758.651op/s 2695714.775op/s ± 36031.014op/s 2695899.757op/s ± 10804.719op/s 2710041.855op/s 2738240.167op/s 2750479.133op/s 2752614.965op/s 2.10% -5.473 50.884 1.33% 2547.777op/s 1 200
trace_buffer/2_senders/10us_delay execution_time 56.829ms 57.216ms ± 0.163ms 57.227ms ± 0.120ms 57.321ms 57.495ms 57.554ms 57.570ms 0.60% -0.033 -0.549 0.28% 0.012ms 1 200
trace_buffer/2_senders/10us_delay throughput 31266.080op/s 31460.052op/s ± 89.832op/s 31453.794op/s ± 66.020op/s 31526.285op/s 31600.345op/s 31651.759op/s 31674.189op/s 0.70% 0.045 -0.547 0.28% 6.352op/s 1 200
trace_buffer/2_senders/1us_delay execution_time 49.984ms 50.111ms ± 0.039ms 50.105ms ± 0.018ms 50.121ms 50.192ms 50.241ms 50.318ms 0.42% 1.580 5.015 0.08% 0.003ms 1 200
trace_buffer/2_senders/1us_delay throughput 35772.730op/s 35920.620op/s ± 27.906op/s 35924.698op/s ± 12.625op/s 35937.756op/s 35951.589op/s 35959.277op/s 36011.813op/s 0.24% -1.569 4.973 0.08% 1.973op/s 1 200
trace_buffer/2_senders/no_delay execution_time 839.989µs 890.739µs ± 19.991µs 889.555µs ± 11.336µs 902.128µs 918.763µs 934.171µs 1043.052µs 17.26% 2.135 15.538 2.24% 1.414µs 1 200
trace_buffer/2_senders/no_delay throughput 1725705.734op/s 2021766.477op/s ± 43667.092op/s 2023484.335op/s ± 25729.356op/s 2047865.197op/s 2087464.543op/s 2119465.194op/s 2142884.667op/s 5.90% -1.401 9.498 2.15% 3087.730op/s 1 200
trace_buffer/4_senders/10us_delay execution_time 57.155ms 57.501ms ± 0.129ms 57.501ms ± 0.084ms 57.573ms 57.735ms 57.831ms 57.855ms 0.62% 0.254 0.233 0.22% 0.009ms 1 200
trace_buffer/4_senders/10us_delay throughput 62224.528op/s 62608.348op/s ± 140.092op/s 62607.752op/s ± 91.449op/s 62707.499op/s 62823.832op/s 62908.968op/s 62986.132op/s 0.60% -0.239 0.223 0.22% 9.906op/s 1 200
trace_buffer/4_senders/1us_delay execution_time 50.115ms 50.170ms ± 0.042ms 50.160ms ± 0.021ms 50.190ms 50.258ms 50.288ms 50.353ms 0.38% 1.326 1.702 0.08% 0.003ms 1 200
trace_buffer/4_senders/1us_delay throughput 71495.634op/s 71755.734op/s ± 60.436op/s 71770.649op/s ± 30.229op/s 71798.248op/s 71824.220op/s 71830.373op/s 71835.252op/s 0.09% -1.321 1.682 0.08% 4.273op/s 1 200
trace_buffer/4_senders/no_delay execution_time 2.178ms 2.433ms ± 0.087ms 2.440ms ± 0.060ms 2.496ms 2.560ms 2.604ms 2.632ms 7.84% -0.257 -0.251 3.55% 0.006ms 1 200
trace_buffer/4_senders/no_delay throughput 1367926.874op/s 1481292.671op/s ± 53370.937op/s 1475161.089op/s ± 37087.034op/s 1514607.007op/s 1573197.075op/s 1615768.520op/s 1652937.623op/s 12.05% 0.443 -0.017 3.59% 3773.895op/s 1 200
trace_buffer/8_senders/10us_delay execution_time 57.563ms 57.909ms ± 0.212ms 57.841ms ± 0.138ms 58.068ms 58.308ms 58.424ms 58.574ms 1.27% 0.759 -0.270 0.36% 0.015ms 1 200
trace_buffer/8_senders/10us_delay throughput 122922.367op/s 124334.727op/s ± 453.023op/s 124478.434op/s ± 297.415op/s 124682.264op/s 124883.321op/s 124976.142op/s 125081.164op/s 0.48% -0.746 -0.297 0.36% 32.034op/s 1 200
trace_buffer/8_senders/1us_delay execution_time 50.200ms 50.293ms ± 0.067ms 50.276ms ± 0.039ms 50.325ms 50.433ms 50.510ms 50.553ms 0.55% 1.262 1.722 0.13% 0.005ms 1 200
trace_buffer/8_senders/1us_delay throughput 142424.652op/s 143162.405op/s ± 189.846op/s 143209.076op/s ± 110.930op/s 143290.313op/s 143388.320op/s 143420.083op/s 143427.621op/s 0.15% -1.254 1.693 0.13% 13.424op/s 1 200
trace_buffer/8_senders/no_delay execution_time 6.320ms 6.768ms ± 0.091ms 6.781ms ± 0.050ms 6.826ms 6.900ms 6.934ms 6.956ms 2.59% -1.147 3.067 1.34% 0.006ms 1 200
trace_buffer/8_senders/no_delay throughput 1035044.746op/s 1064004.347op/s ± 14587.101op/s 1061868.548op/s ± 7881.645op/s 1070785.837op/s 1089715.969op/s 1111559.765op/s 1139195.744op/s 7.28% 1.306 3.782 1.37% 1031.464op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
trace_buffer/1_senders/10us_delay execution_time [56.559ms; 56.605ms] or [-0.040%; +0.040%] None None None
trace_buffer/1_senders/10us_delay throughput [15899.819op/s; 15912.607op/s] or [-0.040%; +0.040%] None None None
trace_buffer/1_senders/1us_delay execution_time [50.079ms; 50.088ms] or [-0.009%; +0.009%] None None None
trace_buffer/1_senders/1us_delay throughput [17968.433op/s; 17971.766op/s] or [-0.009%; +0.009%] None None None
trace_buffer/1_senders/no_delay execution_time [333.256µs; 334.599µs] or [-0.201%; +0.201%] None None None
trace_buffer/1_senders/no_delay throughput [2690721.223op/s; 2700708.327op/s] or [-0.185%; +0.185%] None None None
trace_buffer/2_senders/10us_delay execution_time [57.193ms; 57.239ms] or [-0.040%; +0.040%] None None None
trace_buffer/2_senders/10us_delay throughput [31447.602op/s; 31472.502op/s] or [-0.040%; +0.040%] None None None
trace_buffer/2_senders/1us_delay execution_time [50.105ms; 50.116ms] or [-0.011%; +0.011%] None None None
trace_buffer/2_senders/1us_delay throughput [35916.752op/s; 35924.487op/s] or [-0.011%; +0.011%] None None None
trace_buffer/2_senders/no_delay execution_time [887.968µs; 893.510µs] or [-0.311%; +0.311%] None None None
trace_buffer/2_senders/no_delay throughput [2015714.638op/s; 2027818.316op/s] or [-0.299%; +0.299%] None None None
trace_buffer/4_senders/10us_delay execution_time [57.483ms; 57.518ms] or [-0.031%; +0.031%] None None None
trace_buffer/4_senders/10us_delay throughput [62588.933op/s; 62627.763op/s] or [-0.031%; +0.031%] None None None
trace_buffer/4_senders/1us_delay execution_time [50.164ms; 50.176ms] or [-0.012%; +0.012%] None None None
trace_buffer/4_senders/1us_delay throughput [71747.359op/s; 71764.110op/s] or [-0.012%; +0.012%] None None None
trace_buffer/4_senders/no_delay execution_time [2.421ms; 2.445ms] or [-0.493%; +0.493%] None None None
trace_buffer/4_senders/no_delay throughput [1473895.972op/s; 1488689.369op/s] or [-0.499%; +0.499%] None None None
trace_buffer/8_senders/10us_delay execution_time [57.880ms; 57.938ms] or [-0.051%; +0.051%] None None None
trace_buffer/8_senders/10us_delay throughput [124271.942op/s; 124397.511op/s] or [-0.050%; +0.050%] None None None
trace_buffer/8_senders/1us_delay execution_time [50.283ms; 50.302ms] or [-0.018%; +0.018%] None None None
trace_buffer/8_senders/1us_delay throughput [143136.094op/s; 143188.716op/s] or [-0.018%; +0.018%] None None None
trace_buffer/8_senders/no_delay execution_time [6.755ms; 6.781ms] or [-0.187%; +0.187%] None None None
trace_buffer/8_senders/no_delay throughput [1061982.715op/s; 1066025.979op/s] or [-0.190%; +0.190%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9fb27ea 1787934813 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
concentrator/add_spans_to_concentrator execution_time 9.575ms 9.605ms ± 0.016ms 9.601ms ± 0.012ms 9.616ms 9.633ms 9.646ms 9.650ms 0.51% 0.463 -0.469 0.17% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
concentrator/add_spans_to_concentrator execution_time [9.602ms; 9.607ms] or [-0.023%; +0.023%] None None None

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9fb27ea 1787934813 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
receiver_entry_point/report/2644 execution_time 5.062ms 5.119ms ± 0.032ms 5.111ms ± 0.013ms 5.128ms 5.192ms 5.217ms 5.239ms 2.51% 1.389 1.941 0.61% 0.002ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
receiver_entry_point/report/2644 execution_time [5.115ms; 5.123ms] or [-0.085%; +0.085%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9fb27ea 1787934813 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
write only interface execution_time 1.068µs 1.085µs ± 0.007µs 1.086µs ± 0.005µs 1.090µs 1.096µs 1.098µs 1.105µs 1.78% -0.083 0.010 0.61% 0.000µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [1.084µs; 1.086µs] or [-0.085%; +0.085%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9fb27ea 1787934813 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
two way interface execution_time 15.406µs 15.777µs ± 0.287µs 15.721µs ± 0.074µs 15.819µs 16.023µs 17.056µs 18.419µs 17.17% 5.750 42.887 1.82% 0.020µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [15.738µs; 15.817µs] or [-0.252%; +0.252%] None None None

@dd-octo-sts

dd-octo-sts Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 89.74 MB 89.46 MB --.32% (-295.03 KB) 💪
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 8.26 MB 8.20 MB --.75% (-64.00 KB) 💪
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 11.13 MB 11.06 MB --.66% (-75.83 KB) 💪
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 100.97 MB 100.67 MB --.29% (-305.66 KB) 💪
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 26.68 MB 26.55 MB --.47% (-131.00 KB) 💪
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 94.96 KB 94.96 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 181.16 MB 179.98 MB --.65% (-1.18 MB) 💪
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 770.91 MB 763.56 MB --.95% (-7.35 MB) 💪
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 8.75 MB 8.72 MB --.32% (-29.00 KB) 💪
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 94.96 KB 94.96 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 25.70 MB 25.61 MB --.36% (-96.00 KB) 💪
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 51.17 MB 51.00 MB --.32% (-171.06 KB) 💪
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 23.25 MB 23.13 MB --.50% (-121.00 KB) 💪
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 96.45 KB 96.45 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 186.11 MB 184.90 MB --.65% (-1.21 MB) 💪
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 756.49 MB 750.97 MB --.72% (-5.51 MB) 💪
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 6.76 MB 6.73 MB --.41% (-28.50 KB) 💪
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 96.45 KB 96.45 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 27.64 MB 27.54 MB --.36% (-104.00 KB) 💪
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 48.71 MB 48.55 MB --.33% (-165.07 KB) 💪
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 80.03 MB 79.76 MB --.33% (-277.67 KB) 💪
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 9.18 MB 9.15 MB --.29% (-28.00 KB) 💪
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 95.76 MB 95.48 MB --.28% (-280.94 KB) 💪
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 11.20 MB 11.17 MB --.25% (-29.72 KB) 💪

This has not much impact in practice, but is observable, and obviously also races against each other, delivering payloads after app closing, which is not that problematic, but could be unexpected.
@bwoebi
bwoebi force-pushed the bob/consolidate-stop-telem branch from 34a918e to 02d95f0 Compare August 31, 2026 11:17
@bwoebi bwoebi changed the title Avoid doing two separate http requests in stop telemetry refactor(telemetry): avoid doing two separate http requests in stop telemetry Aug 31, 2026
@bwoebi

bwoebi commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Aug 31, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-08-31 11:54:59 UTC ℹ️ Start processing command /merge


2026-08-31 11:55:05 UTC ℹ️ MergeQueue: Pull request is not mergeable yet

It will be processed automatically as soon as GitHub reports it as mergeable. View in MergeQueue UI.

  • Run /code blockers to see what is blocking it.
  • Run /remove to cancel it.

2026-08-31 14:55:08 UTC ℹ️ MergeQueue: merge request added to the queue

The expected merge time in main is approximately 49m (p90).


2026-08-31 15:38:53 UTC ℹ️ MergeQueue: This merge request was merged

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