fix(data-pipeline): pass obfuscation config to OTLP stats - #2444
Conversation
Initialize the shared stats obfuscation configuration from the builder flag before the OTLP concentrator starts, and cover enabled and disabled SQL aggregation behavior. Refs APMAPI-2317.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
✅ All CI checks and tests passed. 🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: 1e57bb1 | Docs | View more details | Give us feedback! |
BenchmarksComparisonBenchmark execution time: 2026-09-01 17:35:02 Comparing candidate commit 1e57bb1 in PR branch Found 2 performance improvements and 0 performance regressions! Performance is the same for 22 metrics, 0 unstable metrics.
|
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | 1e57bb1 | 1788283238 | codex/apmapi-2317-otlp-stats-obfuscation |
| 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.297ms | 56.627ms ± 0.186ms | 56.587ms ± 0.110ms | 56.735ms | 56.982ms | 57.186ms | 57.299ms | 1.26% | 0.982 | 0.798 | 0.33% | 0.013ms | 1 | 200 |
| trace_buffer/1_senders/10us_delay | throughput | 15707.136op/s | 15893.680op/s ± 52.106op/s | 15904.680op/s ± 30.881op/s | 15930.666op/s | 15956.395op/s | 15975.240op/s | 15986.622op/s | 0.52% | -0.964 | 0.748 | 0.33% | 3.684op/s | 1 | 200 |
| trace_buffer/1_senders/1us_delay | execution_time | 50.014ms | 50.078ms ± 0.034ms | 50.079ms ± 0.015ms | 50.087ms | 50.144ms | 50.182ms | 50.189ms | 0.22% | 0.928 | 1.216 | 0.07% | 0.002ms | 1 | 200 |
| trace_buffer/1_senders/1us_delay | throughput | 17932.166op/s | 17971.888op/s ± 12.360op/s | 17971.724op/s ± 5.406op/s | 17979.151op/s | 17988.900op/s | 17990.696op/s | 17994.955op/s | 0.13% | -0.923 | 1.205 | 0.07% | 0.874op/s | 1 | 200 |
| trace_buffer/1_senders/no_delay | execution_time | 332.216µs | 338.800µs ± 3.973µs | 338.210µs ± 1.838µs | 340.117µs | 345.430µs | 352.648µs | 365.758µs | 8.15% | 2.574 | 12.492 | 1.17% | 0.281µs | 1 | 200 |
| trace_buffer/1_senders/no_delay | throughput | 2460644.584op/s | 2656788.605op/s ± 30291.645op/s | 2661065.266op/s ± 14463.412op/s | 2673674.406op/s | 2693604.206op/s | 2705404.276op/s | 2709083.348op/s | 1.80% | -2.314 | 10.490 | 1.14% | 2141.943op/s | 1 | 200 |
| trace_buffer/2_senders/10us_delay | execution_time | 56.675ms | 57.122ms ± 0.197ms | 57.092ms ± 0.130ms | 57.242ms | 57.477ms | 57.554ms | 57.758ms | 1.17% | 0.460 | -0.266 | 0.34% | 0.014ms | 1 | 200 |
| trace_buffer/2_senders/10us_delay | throughput | 31164.547op/s | 31511.667op/s ± 108.687op/s | 31527.942op/s ± 71.687op/s | 31590.746op/s | 31671.910op/s | 31696.312op/s | 31760.043op/s | 0.74% | -0.444 | -0.286 | 0.34% | 7.685op/s | 1 | 200 |
| trace_buffer/2_senders/1us_delay | execution_time | 50.056ms | 50.113ms ± 0.037ms | 50.108ms ± 0.021ms | 50.129ms | 50.187ms | 50.233ms | 50.245ms | 0.27% | 1.269 | 1.733 | 0.07% | 0.003ms | 1 | 200 |
| trace_buffer/2_senders/1us_delay | throughput | 35824.690op/s | 35918.912op/s ± 26.701op/s | 35922.152op/s ± 15.379op/s | 35938.179op/s | 35951.489op/s | 35956.300op/s | 35959.574op/s | 0.10% | -1.265 | 1.718 | 0.07% | 1.888op/s | 1 | 200 |
| trace_buffer/2_senders/no_delay | execution_time | 837.794µs | 878.388µs ± 17.800µs | 875.533µs ± 11.192µs | 888.166µs | 910.477µs | 919.452µs | 961.803µs | 9.85% | 0.799 | 1.596 | 2.02% | 1.259µs | 1 | 200 |
| trace_buffer/2_senders/no_delay | throughput | 1871485.527op/s | 2050033.274op/s ± 40950.940op/s | 2055891.442op/s ± 26226.450op/s | 2078914.824op/s | 2104893.617op/s | 2129993.652op/s | 2148498.297op/s | 4.50% | -0.632 | 1.030 | 1.99% | 2895.669op/s | 1 | 200 |
| trace_buffer/4_senders/10us_delay | execution_time | 57.079ms | 57.496ms ± 0.139ms | 57.488ms ± 0.082ms | 57.566ms | 57.742ms | 57.875ms | 57.972ms | 0.84% | 0.376 | 0.887 | 0.24% | 0.010ms | 1 | 200 |
| trace_buffer/4_senders/10us_delay | throughput | 62099.467op/s | 62613.714op/s ± 151.634op/s | 62621.710op/s ± 89.049op/s | 62711.559op/s | 62836.728op/s | 62993.927op/s | 63070.633op/s | 0.72% | -0.357 | 0.872 | 0.24% | 10.722op/s | 1 | 200 |
| trace_buffer/4_senders/1us_delay | execution_time | 50.090ms | 50.169ms ± 0.042ms | 50.160ms ± 0.022ms | 50.185ms | 50.266ms | 50.299ms | 50.326ms | 0.33% | 1.287 | 1.676 | 0.08% | 0.003ms | 1 | 200 |
| trace_buffer/4_senders/1us_delay | throughput | 71533.798op/s | 71757.505op/s ± 59.308op/s | 71770.989op/s ± 31.335op/s | 71800.315op/s | 71827.003op/s | 71839.479op/s | 71870.659op/s | 0.14% | -1.282 | 1.660 | 0.08% | 4.194op/s | 1 | 200 |
| trace_buffer/4_senders/no_delay | execution_time | 1.918ms | 2.230ms ± 0.104ms | 2.241ms ± 0.064ms | 2.295ms | 2.390ms | 2.458ms | 2.494ms | 11.30% | -0.226 | -0.041 | 4.67% | 0.007ms | 1 | 200 |
| trace_buffer/4_senders/no_delay | throughput | 1443405.137op/s | 1617731.728op/s ± 76984.795op/s | 1606445.742op/s ± 46355.838op/s | 1662497.101op/s | 1760849.788op/s | 1802178.948op/s | 1877110.894op/s | 16.85% | 0.499 | 0.228 | 4.75% | 5443.647op/s | 1 | 200 |
| trace_buffer/8_senders/10us_delay | execution_time | 57.595ms | 57.890ms ± 0.240ms | 57.809ms ± 0.114ms | 58.003ms | 58.433ms | 58.556ms | 58.585ms | 1.34% | 1.188 | 0.488 | 0.41% | 0.017ms | 1 | 200 |
| trace_buffer/8_senders/10us_delay | throughput | 122898.288op/s | 124375.461op/s ± 513.742op/s | 124548.252op/s ± 244.829op/s | 124746.222op/s | 124923.469op/s | 124975.536op/s | 125010.509op/s | 0.37% | -1.175 | 0.454 | 0.41% | 36.327op/s | 1 | 200 |
| trace_buffer/8_senders/1us_delay | execution_time | 50.203ms | 50.299ms ± 0.077ms | 50.276ms ± 0.031ms | 50.334ms | 50.431ms | 50.527ms | 50.856ms | 1.15% | 2.638 | 13.356 | 0.15% | 0.005ms | 1 | 200 |
| trace_buffer/8_senders/1us_delay | throughput | 141576.574op/s | 143144.393op/s ± 217.122op/s | 143210.258op/s ± 87.529op/s | 143274.756op/s | 143369.125op/s | 143402.153op/s | 143417.864op/s | 0.14% | -2.600 | 12.987 | 0.15% | 15.353op/s | 1 | 200 |
| trace_buffer/8_senders/no_delay | execution_time | 5.862ms | 6.467ms ± 0.107ms | 6.481ms ± 0.062ms | 6.543ms | 6.598ms | 6.630ms | 6.662ms | 2.81% | -1.587 | 5.131 | 1.64% | 0.008ms | 1 | 200 |
| trace_buffer/8_senders/no_delay | throughput | 1080682.884op/s | 1113657.973op/s ± 18895.202op/s | 1111007.240op/s ± 10649.394op/s | 1121541.191op/s | 1150162.448op/s | 1172016.355op/s | 1228149.738op/s | 10.54% | 1.837 | 6.752 | 1.69% | 1336.093op/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.601ms; 56.653ms] or [-0.046%; +0.046%] | None | None | None |
| trace_buffer/1_senders/10us_delay | throughput | [15886.459op/s; 15900.901op/s] or [-0.045%; +0.045%] | None | None | None |
| trace_buffer/1_senders/1us_delay | execution_time | [50.073ms; 50.083ms] or [-0.010%; +0.010%] | None | None | None |
| trace_buffer/1_senders/1us_delay | throughput | [17970.175op/s; 17973.601op/s] or [-0.010%; +0.010%] | None | None | None |
| trace_buffer/1_senders/no_delay | execution_time | [338.249µs; 339.351µs] or [-0.163%; +0.163%] | None | None | None |
| trace_buffer/1_senders/no_delay | throughput | [2652590.474op/s; 2660986.735op/s] or [-0.158%; +0.158%] | None | None | None |
| trace_buffer/2_senders/10us_delay | execution_time | [57.095ms; 57.150ms] or [-0.048%; +0.048%] | None | None | None |
| trace_buffer/2_senders/10us_delay | throughput | [31496.604op/s; 31526.730op/s] or [-0.048%; +0.048%] | None | None | None |
| trace_buffer/2_senders/1us_delay | execution_time | [50.108ms; 50.118ms] or [-0.010%; +0.010%] | None | None | None |
| trace_buffer/2_senders/1us_delay | throughput | [35915.211op/s; 35922.612op/s] or [-0.010%; +0.010%] | None | None | None |
| trace_buffer/2_senders/no_delay | execution_time | [875.921µs; 880.855µs] or [-0.281%; +0.281%] | None | None | None |
| trace_buffer/2_senders/no_delay | throughput | [2044357.868op/s; 2055708.680op/s] or [-0.277%; +0.277%] | None | None | None |
| trace_buffer/4_senders/10us_delay | execution_time | [57.476ms; 57.515ms] or [-0.034%; +0.034%] | None | None | None |
| trace_buffer/4_senders/10us_delay | throughput | [62592.699op/s; 62634.729op/s] or [-0.034%; +0.034%] | None | None | None |
| trace_buffer/4_senders/1us_delay | execution_time | [50.163ms; 50.175ms] or [-0.011%; +0.011%] | None | None | None |
| trace_buffer/4_senders/1us_delay | throughput | [71749.286op/s; 71765.725op/s] or [-0.011%; +0.011%] | None | None | None |
| trace_buffer/4_senders/no_delay | execution_time | [2.216ms; 2.245ms] or [-0.648%; +0.648%] | None | None | None |
| trace_buffer/4_senders/no_delay | throughput | [1607062.376op/s; 1628401.081op/s] or [-0.660%; +0.660%] | None | None | None |
| trace_buffer/8_senders/10us_delay | execution_time | [57.857ms; 57.924ms] or [-0.058%; +0.058%] | None | None | None |
| trace_buffer/8_senders/10us_delay | throughput | [124304.261op/s; 124446.661op/s] or [-0.057%; +0.057%] | None | None | None |
| trace_buffer/8_senders/1us_delay | execution_time | [50.288ms; 50.310ms] or [-0.021%; +0.021%] | None | None | None |
| trace_buffer/8_senders/1us_delay | throughput | [143114.302op/s; 143174.484op/s] or [-0.021%; +0.021%] | None | None | None |
| trace_buffer/8_senders/no_delay | execution_time | [6.452ms; 6.482ms] or [-0.229%; +0.229%] | None | None | None |
| trace_buffer/8_senders/no_delay | throughput | [1111039.280op/s; 1116276.666op/s] or [-0.235%; +0.235%] | 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 | 3c5ccac | 1788282925 | 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.308ms | 56.624ms ± 0.198ms | 56.588ms ± 0.107ms | 56.707ms | 56.998ms | 57.470ms | 57.513ms | 1.63% | 1.808 | 4.881 | 0.35% | 0.014ms | 1 | 200 |
| trace_buffer/1_senders/10us_delay | throughput | 15648.740op/s | 15894.645op/s ± 55.372op/s | 15904.354op/s ± 30.016op/s | 15933.923op/s | 15956.991op/s | 15971.337op/s | 15983.575op/s | 0.50% | -1.770 | 4.688 | 0.35% | 3.915op/s | 1 | 200 |
| trace_buffer/1_senders/1us_delay | execution_time | 50.008ms | 50.077ms ± 0.036ms | 50.076ms ± 0.014ms | 50.087ms | 50.142ms | 50.200ms | 50.217ms | 0.28% | 1.442 | 3.259 | 0.07% | 0.003ms | 1 | 200 |
| trace_buffer/1_senders/1us_delay | throughput | 17922.147op/s | 17972.296op/s ± 12.967op/s | 17972.649op/s ± 4.908op/s | 17979.136op/s | 17989.188op/s | 17990.496op/s | 17997.290op/s | 0.14% | -1.435 | 3.237 | 0.07% | 0.917op/s | 1 | 200 |
| trace_buffer/1_senders/no_delay | execution_time | 326.456µs | 335.627µs ± 5.527µs | 335.097µs ± 1.745µs | 336.965µs | 340.691µs | 348.993µs | 396.757µs | 18.40% | 6.980 | 73.380 | 1.64% | 0.391µs | 1 | 200 |
| trace_buffer/1_senders/no_delay | throughput | 2268388.927op/s | 2682200.263op/s ± 39990.757op/s | 2685790.106op/s ± 13988.430op/s | 2698787.128op/s | 2726057.554op/s | 2737660.616op/s | 2756879.947op/s | 2.65% | -5.774 | 55.992 | 1.49% | 2827.774op/s | 1 | 200 |
| trace_buffer/2_senders/10us_delay | execution_time | 56.568ms | 57.120ms ± 0.220ms | 57.095ms ± 0.137ms | 57.260ms | 57.559ms | 57.628ms | 57.634ms | 0.94% | 0.480 | -0.240 | 0.38% | 0.016ms | 1 | 200 |
| trace_buffer/2_senders/10us_delay | throughput | 31231.752op/s | 31512.954op/s ± 120.964op/s | 31526.447op/s ± 75.907op/s | 31601.468op/s | 31674.851op/s | 31727.121op/s | 31820.042op/s | 0.93% | -0.463 | -0.252 | 0.38% | 8.553op/s | 1 | 200 |
| trace_buffer/2_senders/1us_delay | execution_time | 50.054ms | 50.113ms ± 0.037ms | 50.106ms ± 0.018ms | 50.123ms | 50.190ms | 50.231ms | 50.246ms | 0.28% | 1.379 | 1.897 | 0.07% | 0.003ms | 1 | 200 |
| trace_buffer/2_senders/1us_delay | throughput | 35823.790op/s | 35918.702op/s ± 26.470op/s | 35924.005op/s ± 12.812op/s | 35936.769op/s | 35949.745op/s | 35956.231op/s | 35961.140op/s | 0.10% | -1.374 | 1.883 | 0.07% | 1.872op/s | 1 | 200 |
| trace_buffer/2_senders/no_delay | execution_time | 845.943µs | 892.884µs ± 17.924µs | 892.194µs ± 11.903µs | 904.349µs | 920.633µs | 930.511µs | 987.702µs | 10.70% | 0.695 | 3.017 | 2.00% | 1.267µs | 1 | 200 |
| trace_buffer/2_senders/no_delay | throughput | 1822411.926op/s | 2016737.818op/s ± 40030.017op/s | 2017498.378op/s ± 26977.354op/s | 2044260.613op/s | 2076093.976op/s | 2111552.037op/s | 2127803.731op/s | 5.47% | -0.447 | 2.028 | 1.98% | 2830.550op/s | 1 | 200 |
| trace_buffer/4_senders/10us_delay | execution_time | 57.163ms | 57.468ms ± 0.153ms | 57.450ms ± 0.095ms | 57.549ms | 57.749ms | 57.893ms | 57.965ms | 0.90% | 0.589 | 0.370 | 0.27% | 0.011ms | 1 | 200 |
| trace_buffer/4_senders/10us_delay | throughput | 62106.179op/s | 62643.828op/s ± 166.666op/s | 62663.375op/s ± 103.130op/s | 62753.363op/s | 62899.162op/s | 62956.657op/s | 62977.549op/s | 0.50% | -0.572 | 0.343 | 0.27% | 11.785op/s | 1 | 200 |
| trace_buffer/4_senders/1us_delay | execution_time | 50.111ms | 50.173ms ± 0.044ms | 50.161ms ± 0.023ms | 50.194ms | 50.263ms | 50.297ms | 50.364ms | 0.40% | 1.171 | 1.392 | 0.09% | 0.003ms | 1 | 200 |
| trace_buffer/4_senders/1us_delay | throughput | 71479.231op/s | 71752.181op/s ± 63.307op/s | 71768.372op/s ± 33.231op/s | 71796.401op/s | 71825.204op/s | 71840.828op/s | 71840.944op/s | 0.10% | -1.166 | 1.371 | 0.09% | 4.477op/s | 1 | 200 |
| trace_buffer/4_senders/no_delay | execution_time | 2.252ms | 2.416ms ± 0.060ms | 2.422ms ± 0.042ms | 2.462ms | 2.503ms | 2.523ms | 2.536ms | 4.71% | -0.379 | -0.403 | 2.47% | 0.004ms | 1 | 200 |
| trace_buffer/4_senders/no_delay | throughput | 1419747.665op/s | 1491208.627op/s ± 37360.110op/s | 1486660.891op/s ± 25877.822op/s | 1513890.031op/s | 1559335.193op/s | 1586851.509op/s | 1598247.914op/s | 7.51% | 0.489 | -0.253 | 2.50% | 2641.759op/s | 1 | 200 |
| trace_buffer/8_senders/10us_delay | execution_time | 57.550ms | 57.905ms ± 0.245ms | 57.829ms ± 0.149ms | 58.058ms | 58.354ms | 58.538ms | 58.592ms | 1.32% | 0.793 | -0.387 | 0.42% | 0.017ms | 1 | 200 |
| trace_buffer/8_senders/10us_delay | throughput | 122882.844op/s | 124342.774op/s ± 523.671op/s | 124505.639op/s ± 322.042op/s | 124771.591op/s | 124947.527op/s | 125006.863op/s | 125109.562op/s | 0.49% | -0.781 | -0.412 | 0.42% | 37.029op/s | 1 | 200 |
| trace_buffer/8_senders/1us_delay | execution_time | 50.200ms | 50.290ms ± 0.055ms | 50.274ms ± 0.029ms | 50.316ms | 50.384ms | 50.473ms | 50.498ms | 0.45% | 1.362 | 2.071 | 0.11% | 0.004ms | 1 | 200 |
| trace_buffer/8_senders/1us_delay | throughput | 142578.970op/s | 143168.970op/s ± 156.640op/s | 143214.224op/s ± 81.849op/s | 143276.214op/s | 143343.831op/s | 143389.109op/s | 143426.678op/s | 0.15% | -1.354 | 2.045 | 0.11% | 11.076op/s | 1 | 200 |
| trace_buffer/8_senders/no_delay | execution_time | 6.022ms | 6.439ms ± 0.122ms | 6.467ms ± 0.083ms | 6.534ms | 6.604ms | 6.636ms | 6.658ms | 2.96% | -0.592 | -0.198 | 1.89% | 0.009ms | 1 | 200 |
| trace_buffer/8_senders/no_delay | throughput | 1081390.235op/s | 1118613.530op/s ± 21431.332op/s | 1113425.650op/s ± 14302.278op/s | 1134429.828op/s | 1157038.679op/s | 1171741.862op/s | 1195539.178op/s | 7.37% | 0.677 | -0.001 | 1.91% | 1515.424op/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.596ms; 56.651ms] or [-0.049%; +0.049%] | None | None | None |
| trace_buffer/1_senders/10us_delay | throughput | [15886.971op/s; 15902.319op/s] or [-0.048%; +0.048%] | None | None | None |
| trace_buffer/1_senders/1us_delay | execution_time | [50.072ms; 50.082ms] or [-0.010%; +0.010%] | None | None | None |
| trace_buffer/1_senders/1us_delay | throughput | [17970.499op/s; 17974.093op/s] or [-0.010%; +0.010%] | None | None | None |
| trace_buffer/1_senders/no_delay | execution_time | [334.861µs; 336.393µs] or [-0.228%; +0.228%] | None | None | None |
| trace_buffer/1_senders/no_delay | throughput | [2676657.929op/s; 2687742.597op/s] or [-0.207%; +0.207%] | None | None | None |
| trace_buffer/2_senders/10us_delay | execution_time | [57.090ms; 57.151ms] or [-0.053%; +0.053%] | None | None | None |
| trace_buffer/2_senders/10us_delay | throughput | [31496.189op/s; 31529.718op/s] or [-0.053%; +0.053%] | None | None | None |
| trace_buffer/2_senders/1us_delay | execution_time | [50.108ms; 50.118ms] or [-0.010%; +0.010%] | None | None | None |
| trace_buffer/2_senders/1us_delay | throughput | [35915.033op/s; 35922.370op/s] or [-0.010%; +0.010%] | None | None | None |
| trace_buffer/2_senders/no_delay | execution_time | [890.400µs; 895.368µs] or [-0.278%; +0.278%] | None | None | None |
| trace_buffer/2_senders/no_delay | throughput | [2011190.043op/s; 2022285.594op/s] or [-0.275%; +0.275%] | None | None | None |
| trace_buffer/4_senders/10us_delay | execution_time | [57.447ms; 57.489ms] or [-0.037%; +0.037%] | None | None | None |
| trace_buffer/4_senders/10us_delay | throughput | [62620.730op/s; 62666.927op/s] or [-0.037%; +0.037%] | None | None | None |
| trace_buffer/4_senders/1us_delay | execution_time | [50.167ms; 50.179ms] or [-0.012%; +0.012%] | None | None | None |
| trace_buffer/4_senders/1us_delay | throughput | [71743.407op/s; 71760.954op/s] or [-0.012%; +0.012%] | None | None | None |
| trace_buffer/4_senders/no_delay | execution_time | [2.407ms; 2.424ms] or [-0.343%; +0.343%] | None | None | None |
| trace_buffer/4_senders/no_delay | throughput | [1486030.875op/s; 1496386.378op/s] or [-0.347%; +0.347%] | None | None | None |
| trace_buffer/8_senders/10us_delay | execution_time | [57.872ms; 57.939ms] or [-0.059%; +0.059%] | None | None | None |
| trace_buffer/8_senders/10us_delay | throughput | [124270.198op/s; 124415.350op/s] or [-0.058%; +0.058%] | None | None | None |
| trace_buffer/8_senders/1us_delay | execution_time | [50.283ms; 50.298ms] or [-0.015%; +0.015%] | None | None | None |
| trace_buffer/8_senders/1us_delay | throughput | [143147.261op/s; 143190.678op/s] or [-0.015%; +0.015%] | None | None | None |
| trace_buffer/8_senders/no_delay | execution_time | [6.422ms; 6.456ms] or [-0.262%; +0.262%] | None | None | None |
| trace_buffer/8_senders/no_delay | throughput | [1115643.353op/s; 1121583.706op/s] or [-0.266%; +0.266%] | None | None | None |
Artifact Size Benchmark Reportaarch64-alpine-linux-musl
aarch64-unknown-linux-gnu
libdatadog-x64-windows
libdatadog-x86-windows
x86_64-alpine-linux-musl
x86_64-unknown-linux-gnu
|
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
1688816
into
main
What does this PR do?
Passes the builder client-side stats obfuscation flag to the OTLP stats concentrator through the same shared configuration stored by the trace exporter.
Adds regression coverage proving SQL resources remain raw when the flag is disabled and are obfuscated before OTLP aggregation when it is enabled.
Motivation
APMAPI-2317 found that the OTLP stats path created its concentrator with an independent, disabled obfuscation configuration. This change ensures the first OTLP stats bucket receives the configured opt-in state.
Additional Notes
There are no public API or wire-format changes. The behavior remains gated by the existing
stats-obfuscationfeature.How to test the change?
cargo +nightly-2026-07-26 fmt --all -- --checkcargo check -p libdd-data-pipeline --features stats-obfuscationcargo +stable clippy -p libdd-data-pipeline --all-targets --features stats-obfuscation -- -D warningscargo nextest run -p libdd-data-pipeline --features stats-obfuscation(200 tests passed)