feat(telemetry): add stable session identifier headers#1782
feat(telemetry): add stable session identifier headers#1782khanayan123 wants to merge 2 commits intomainfrom
Conversation
Add DD-Session-ID and DD-Root-Session-ID HTTP headers to all telemetry requests per the Stable Service Instance Identifier RFC. - Add SESSION_ID and ROOT_SESSION_ID header constants to http_client - Add root_session_id field to TelemetryWorkerBuilder (None = use runtime_id) - Store root_session_id on TelemetryWorker, defaulting to runtime_id when unset - Emit DD-Session-ID on every request (set to runtime_id) - Emit DD-Root-Session-ID only in child processes (when != runtime_id) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📚 Documentation Check Results📦
|
Clippy Allow Annotation ReportComparing clippy allow annotations between branches:
Summary by Rule
Annotation Counts by File
Annotation Stats by Crate
About This ReportThis report tracks Clippy allow annotations for specific rules, showing how they've changed in this PR. Decreasing the number of these annotations generally improves code quality. |
🔒 Cargo Deny Results📦
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
BenchmarksComparisonBenchmark execution time: 2026-03-23 19:18:11 Comparing candidate commit f1dcf15 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 61 metrics, 0 unstable metrics.
|
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| single_flag_killswitch/rules-based | execution_time | 189.978ns | 192.304ns ± 1.970ns | 191.939ns ± 1.452ns | 193.406ns | 196.263ns | 197.622ns | 199.323ns | 3.85% | 1.094 | 0.852 | 1.02% | 0.139ns | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| single_flag_killswitch/rules-based | execution_time | [192.031ns; 192.577ns] or [-0.142%; +0.142%] | None | None | None |
Group 2
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| profile_add_sample_frames_x1000 | execution_time | 4.167ms | 4.171ms ± 0.002ms | 4.171ms ± 0.002ms | 4.172ms | 4.176ms | 4.179ms | 4.181ms | 0.25% | 1.101 | 2.094 | 0.06% | 0.000ms | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| profile_add_sample_frames_x1000 | execution_time | [4.171ms; 4.172ms] or [-0.008%; +0.008%] | None | None | None |
Group 3
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| 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/2598 | execution_time | 3.411ms | 3.443ms ± 0.023ms | 3.437ms ± 0.010ms | 3.449ms | 3.494ms | 3.513ms | 3.573ms | 3.96% | 2.020 | 5.935 | 0.66% | 0.002ms | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| receiver_entry_point/report/2598 | execution_time | [3.440ms; 3.446ms] or [-0.092%; +0.092%] | None | None | None |
Group 4
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| 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 | 13.855µs | 13.959µs ± 0.050µs | 13.955µs ± 0.039µs | 13.992µs | 14.046µs | 14.075µs | 14.174µs | 1.57% | 0.606 | 0.687 | 0.36% | 0.004µs | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| two way interface | execution_time | [13.952µs; 13.966µs] or [-0.050%; +0.050%] | None | None | None |
Group 5
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sql/obfuscate_sql_string | execution_time | 85.141µs | 85.324µs ± 0.202µs | 85.285µs ± 0.055µs | 85.351µs | 85.567µs | 85.969µs | 87.362µs | 2.43% | 6.304 | 54.792 | 0.24% | 0.014µs | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| sql/obfuscate_sql_string | execution_time | [85.296µs; 85.352µs] or [-0.033%; +0.033%] | None | None | None |
Group 6
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| benching deserializing traces from msgpack to their internal representation | execution_time | 49.755ms | 50.098ms ± 1.003ms | 49.969ms ± 0.067ms | 50.010ms | 50.311ms | 56.024ms | 59.199ms | 18.47% | 7.751 | 61.767 | 2.00% | 0.071ms | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| benching deserializing traces from msgpack to their internal representation | execution_time | [49.959ms; 50.237ms] or [-0.277%; +0.277%] | None | None | None |
Group 7
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| benching serializing traces from their internal representation to msgpack | execution_time | 14.668ms | 14.735ms ± 0.033ms | 14.732ms ± 0.017ms | 14.748ms | 14.787ms | 14.856ms | 14.910ms | 1.21% | 1.894 | 6.201 | 0.22% | 0.002ms | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| benching serializing traces from their internal representation to msgpack | execution_time | [14.730ms; 14.739ms] or [-0.031%; +0.031%] | None | None | None |
Group 8
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| 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 | 5.359µs | 5.461µs ± 0.045µs | 5.467µs ± 0.037µs | 5.497µs | 5.527µs | 5.543µs | 5.573µs | 1.94% | -0.151 | -0.863 | 0.82% | 0.003µs | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| write only interface | execution_time | [5.455µs; 5.467µs] or [-0.115%; +0.115%] | None | None | None |
Group 9
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| profile_add_sample_timestamped_x1000 | execution_time | 4.178ms | 4.183ms ± 0.007ms | 4.182ms ± 0.001ms | 4.183ms | 4.186ms | 4.190ms | 4.274ms | 2.19% | 11.689 | 151.104 | 0.16% | 0.000ms | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| profile_add_sample_timestamped_x1000 | execution_time | [4.182ms; 4.184ms] or [-0.023%; +0.023%] | None | None | None |
Group 10
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| normalization/normalize_trace/test_trace | execution_time | 237.939ns | 250.403ns ± 15.566ns | 242.912ns ± 2.937ns | 252.662ns | 285.593ns | 295.888ns | 300.397ns | 23.67% | 1.594 | 1.303 | 6.20% | 1.101ns | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| normalization/normalize_trace/test_trace | execution_time | [248.245ns; 252.560ns] or [-0.862%; +0.862%] | None | None | None |
Group 11
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| profile_add_sample2_frames_x1000 | execution_time | 730.377µs | 731.676µs ± 0.563µs | 731.633µs ± 0.328µs | 731.978µs | 732.573µs | 733.213µs | 734.455µs | 0.39% | 0.994 | 2.846 | 0.08% | 0.040µs | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| profile_add_sample2_frames_x1000 | execution_time | [731.598µs; 731.754µs] or [-0.011%; +0.011%] | None | None | None |
Group 12
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... | execution_time | 495.272µs | 496.268µs ± 0.624µs | 496.225µs ± 0.274µs | 496.499µs | 496.928µs | 497.517µs | 501.671µs | 1.10% | 4.482 | 33.902 | 0.13% | 0.044µs | 1 | 200 |
| normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... | throughput | 1993337.160op/s | 2015043.274op/s ± 2517.778op/s | 2015213.744op/s ± 1112.293op/s | 2016319.643op/s | 2017810.394op/s | 2018477.278op/s | 2019091.633op/s | 0.19% | -4.422 | 33.269 | 0.12% | 178.034op/s | 1 | 200 |
| normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて | execution_time | 370.364µs | 371.239µs ± 0.325µs | 371.233µs ± 0.234µs | 371.464µs | 371.775µs | 371.919µs | 372.133µs | 0.24% | 0.054 | -0.360 | 0.09% | 0.023µs | 1 | 200 |
| normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて | throughput | 2687213.490op/s | 2693684.385op/s ± 2355.812op/s | 2693722.888op/s ± 1696.238op/s | 2695487.838op/s | 2697428.754op/s | 2698718.902op/s | 2700048.977op/s | 0.23% | -0.050 | -0.360 | 0.09% | 166.581op/s | 1 | 200 |
| normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters | execution_time | 167.951µs | 168.413µs ± 0.212µs | 168.418µs ± 0.148µs | 168.557µs | 168.774µs | 168.860µs | 168.947µs | 0.31% | 0.004 | -0.510 | 0.13% | 0.015µs | 1 | 200 |
| normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters | throughput | 5919016.023op/s | 5937799.309op/s ± 7481.066op/s | 5937621.967op/s ± 5226.301op/s | 5943200.830op/s | 5950193.047op/s | 5953466.422op/s | 5954133.235op/s | 0.28% | 0.002 | -0.511 | 0.13% | 528.991op/s | 1 | 200 |
| normalization/normalize_service/normalize_service/[empty string] | execution_time | 38.389µs | 38.486µs ± 0.039µs | 38.485µs ± 0.027µs | 38.511µs | 38.553µs | 38.579µs | 38.596µs | 0.29% | 0.240 | -0.154 | 0.10% | 0.003µs | 1 | 200 |
| normalization/normalize_service/normalize_service/[empty string] | throughput | 25909513.677op/s | 25983583.363op/s ± 26107.640op/s | 25984468.965op/s ± 18240.956op/s | 26002839.245op/s | 26021617.320op/s | 26040413.464op/s | 26049418.886op/s | 0.25% | -0.235 | -0.158 | 0.10% | 1846.089op/s | 1 | 200 |
| normalization/normalize_service/normalize_service/test_ASCII | execution_time | 46.201µs | 46.353µs ± 0.114µs | 46.343µs ± 0.043µs | 46.381µs | 46.469µs | 46.611µs | 47.538µs | 2.58% | 6.176 | 58.353 | 0.25% | 0.008µs | 1 | 200 |
| normalization/normalize_service/normalize_service/test_ASCII | throughput | 21035671.127op/s | 21573492.125op/s ± 52362.863op/s | 21578179.869op/s ± 19907.716op/s | 21598691.487op/s | 21622513.878op/s | 21638370.506op/s | 21644573.084op/s | 0.31% | -6.015 | 56.089 | 0.24% | 3702.614op/s | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... | execution_time | [496.182µs; 496.354µs] or [-0.017%; +0.017%] | None | None | None |
| normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... | throughput | [2014694.334op/s; 2015392.214op/s] or [-0.017%; +0.017%] | None | None | None |
| normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて | execution_time | [371.194µs; 371.284µs] or [-0.012%; +0.012%] | None | None | None |
| normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて | throughput | [2693357.892op/s; 2694010.877op/s] or [-0.012%; +0.012%] | None | None | None |
| normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters | execution_time | [168.383µs; 168.442µs] or [-0.017%; +0.017%] | None | None | None |
| normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters | throughput | [5936762.505op/s; 5938836.113op/s] or [-0.017%; +0.017%] | None | None | None |
| normalization/normalize_service/normalize_service/[empty string] | execution_time | [38.481µs; 38.491µs] or [-0.014%; +0.014%] | None | None | None |
| normalization/normalize_service/normalize_service/[empty string] | throughput | [25979965.095op/s; 25987201.631op/s] or [-0.014%; +0.014%] | None | None | None |
| normalization/normalize_service/normalize_service/test_ASCII | execution_time | [46.338µs; 46.369µs] or [-0.034%; +0.034%] | None | None | None |
| normalization/normalize_service/normalize_service/test_ASCII | throughput | [21566235.136op/s; 21580749.115op/s] or [-0.034%; +0.034%] | None | None | None |
Group 13
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sdk_test_data/rules-based | execution_time | 144.549µs | 146.370µs ± 1.623µs | 146.111µs ± 0.484µs | 146.595µs | 148.183µs | 150.921µs | 162.254µs | 11.05% | 6.030 | 50.443 | 1.11% | 0.115µs | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| sdk_test_data/rules-based | execution_time | [146.145µs; 146.595µs] or [-0.154%; +0.154%] | None | None | None |
Group 14
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ip_address/quantize_peer_ip_address_benchmark | execution_time | 4.971µs | 5.055µs ± 0.042µs | 5.052µs ± 0.028µs | 5.075µs | 5.123µs | 5.126µs | 5.129µs | 1.52% | 0.110 | -0.962 | 0.83% | 0.003µs | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| ip_address/quantize_peer_ip_address_benchmark | execution_time | [5.049µs; 5.061µs] or [-0.115%; +0.115%] | None | None | None |
Group 15
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| redis/obfuscate_redis_string | execution_time | 34.305µs | 34.923µs ± 0.945µs | 34.499µs ± 0.071µs | 34.606µs | 36.961µs | 36.992µs | 37.789µs | 9.53% | 1.704 | 1.000 | 2.70% | 0.067µs | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| redis/obfuscate_redis_string | execution_time | [34.792µs; 35.054µs] or [-0.375%; +0.375%] | None | None | None |
Group 16
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tags/replace_trace_tags | execution_time | 2.363µs | 2.415µs ± 0.017µs | 2.413µs ± 0.009µs | 2.421µs | 2.450µs | 2.457µs | 2.474µs | 2.53% | 0.521 | 0.973 | 0.71% | 0.001µs | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| tags/replace_trace_tags | execution_time | [2.413µs; 2.417µs] or [-0.099%; +0.099%] | None | None | None |
Group 17
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| credit_card/is_card_number/ | execution_time | 3.894µs | 3.913µs ± 0.003µs | 3.912µs ± 0.002µs | 3.914µs | 3.920µs | 3.921µs | 3.923µs | 0.26% | -0.035 | 4.949 | 0.08% | 0.000µs | 1 | 200 |
| credit_card/is_card_number/ | throughput | 254935459.737op/s | 255568140.763op/s ± 214130.358op/s | 255591258.830op/s ± 101800.659op/s | 255692848.466op/s | 255830915.544op/s | 255886300.760op/s | 256777143.459op/s | 0.46% | 0.052 | 5.025 | 0.08% | 15141.303op/s | 1 | 200 |
| credit_card/is_card_number/ 3782-8224-6310-005 | execution_time | 74.644µs | 75.902µs ± 0.671µs | 75.792µs ± 0.494µs | 76.342µs | 77.039µs | 77.606µs | 78.129µs | 3.08% | 0.406 | -0.046 | 0.88% | 0.047µs | 1 | 200 |
| credit_card/is_card_number/ 3782-8224-6310-005 | throughput | 12799375.467op/s | 13175985.673op/s ± 116170.094op/s | 13193961.458op/s ± 86484.782op/s | 13264292.865op/s | 13377564.794op/s | 13391159.861op/s | 13396845.798op/s | 1.54% | -0.359 | -0.111 | 0.88% | 8214.466op/s | 1 | 200 |
| credit_card/is_card_number/ 378282246310005 | execution_time | 68.514µs | 68.697µs ± 0.080µs | 68.694µs ± 0.051µs | 68.746µs | 68.803µs | 68.851µs | 69.255µs | 0.82% | 1.689 | 10.698 | 0.12% | 0.006µs | 1 | 200 |
| credit_card/is_card_number/ 378282246310005 | throughput | 14439296.407op/s | 14556610.593op/s ± 16860.422op/s | 14557357.141op/s ± 10864.955op/s | 14567950.145op/s | 14579071.460op/s | 14590427.192op/s | 14595472.484op/s | 0.26% | -1.655 | 10.423 | 0.12% | 1192.212op/s | 1 | 200 |
| credit_card/is_card_number/37828224631 | execution_time | 3.892µs | 3.912µs ± 0.003µs | 3.912µs ± 0.001µs | 3.913µs | 3.915µs | 3.917µs | 3.919µs | 0.17% | -2.341 | 19.117 | 0.06% | 0.000µs | 1 | 200 |
| credit_card/is_card_number/37828224631 | throughput | 255192243.992op/s | 255633723.307op/s ± 164343.737op/s | 255620361.557op/s ± 90263.220op/s | 255714428.708op/s | 255861238.636op/s | 255904809.837op/s | 256952411.750op/s | 0.52% | 2.372 | 19.400 | 0.06% | 11620.857op/s | 1 | 200 |
| credit_card/is_card_number/378282246310005 | execution_time | 64.592µs | 64.722µs ± 0.118µs | 64.692µs ± 0.034µs | 64.730µs | 64.905µs | 65.192µs | 65.675µs | 1.52% | 4.149 | 24.601 | 0.18% | 0.008µs | 1 | 200 |
| credit_card/is_card_number/378282246310005 | throughput | 15226521.024op/s | 15450705.550op/s ± 28002.986op/s | 15457924.303op/s ± 8022.440op/s | 15465480.275op/s | 15471521.803op/s | 15475530.313op/s | 15481878.461op/s | 0.15% | -4.099 | 24.026 | 0.18% | 1980.110op/s | 1 | 200 |
| credit_card/is_card_number/37828224631000521389798 | execution_time | 45.500µs | 45.741µs ± 0.091µs | 45.742µs ± 0.064µs | 45.810µs | 45.887µs | 45.931µs | 45.974µs | 0.51% | -0.043 | -0.395 | 0.20% | 0.006µs | 1 | 200 |
| credit_card/is_card_number/37828224631000521389798 | throughput | 21751206.522op/s | 21862219.396op/s ± 43565.138op/s | 21861528.083op/s ± 30829.416op/s | 21890661.453op/s | 21933662.477op/s | 21958492.419op/s | 21978207.253op/s | 0.53% | 0.052 | -0.393 | 0.20% | 3080.520op/s | 1 | 200 |
| credit_card/is_card_number/x371413321323331 | execution_time | 6.429µs | 6.437µs ± 0.004µs | 6.437µs ± 0.003µs | 6.440µs | 6.443µs | 6.446µs | 6.450µs | 0.21% | 0.330 | -0.193 | 0.06% | 0.000µs | 1 | 200 |
| credit_card/is_card_number/x371413321323331 | throughput | 155042472.059op/s | 155352754.503op/s ± 96103.591op/s | 155360678.225op/s ± 71711.589op/s | 155428346.245op/s | 155493172.292op/s | 155540733.413op/s | 155550043.572op/s | 0.12% | -0.327 | -0.198 | 0.06% | 6795.550op/s | 1 | 200 |
| credit_card/is_card_number_no_luhn/ | execution_time | 3.895µs | 3.912µs ± 0.002µs | 3.912µs ± 0.001µs | 3.913µs | 3.916µs | 3.918µs | 3.919µs | 0.16% | -1.506 | 13.699 | 0.06% | 0.000µs | 1 | 200 |
| credit_card/is_card_number_no_luhn/ | throughput | 255196075.651op/s | 255612239.457op/s ± 156875.022op/s | 255614736.190op/s ± 84140.030op/s | 255702575.090op/s | 255803871.849op/s | 255836281.090op/s | 256771184.728op/s | 0.45% | 1.531 | 13.896 | 0.06% | 11092.739op/s | 1 | 200 |
| credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 | execution_time | 61.438µs | 63.557µs ± 0.737µs | 63.634µs ± 0.496µs | 64.117µs | 64.619µs | 64.882µs | 65.076µs | 2.27% | -0.529 | 0.030 | 1.16% | 0.052µs | 1 | 200 |
| credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 | throughput | 15366600.098op/s | 15735910.996op/s ± 183686.424op/s | 15714916.608op/s ± 122506.941op/s | 15839313.593op/s | 16077020.770op/s | 16245892.583op/s | 16276639.001op/s | 3.57% | 0.591 | 0.126 | 1.16% | 12988.592op/s | 1 | 200 |
| credit_card/is_card_number_no_luhn/ 378282246310005 | execution_time | 53.906µs | 54.284µs ± 0.131µs | 54.310µs ± 0.060µs | 54.364µs | 54.449µs | 54.487µs | 54.633µs | 0.59% | -0.967 | 0.826 | 0.24% | 0.009µs | 1 | 200 |
| credit_card/is_card_number_no_luhn/ 378282246310005 | throughput | 18303959.107op/s | 18421600.602op/s ± 44712.229op/s | 18412746.597op/s ± 20396.104op/s | 18436179.946op/s | 18518937.470op/s | 18542191.688op/s | 18550693.480op/s | 0.75% | 0.980 | 0.843 | 0.24% | 3161.632op/s | 1 | 200 |
| credit_card/is_card_number_no_luhn/37828224631 | execution_time | 3.895µs | 3.913µs ± 0.003µs | 3.913µs ± 0.001µs | 3.914µs | 3.917µs | 3.919µs | 3.927µs | 0.38% | -0.310 | 12.342 | 0.07% | 0.000µs | 1 | 200 |
| credit_card/is_card_number_no_luhn/37828224631 | throughput | 254618916.701op/s | 255566009.220op/s ± 174070.992op/s | 255582067.415op/s ± 89968.211op/s | 255657753.618op/s | 255777363.694op/s | 255817594.830op/s | 256715986.614op/s | 0.44% | 0.340 | 12.428 | 0.07% | 12308.678op/s | 1 | 200 |
| credit_card/is_card_number_no_luhn/378282246310005 | execution_time | 50.179µs | 50.555µs ± 0.199µs | 50.569µs ± 0.107µs | 50.664µs | 50.778µs | 51.186µs | 51.307µs | 1.46% | 0.500 | 1.553 | 0.39% | 0.014µs | 1 | 200 |
| credit_card/is_card_number_no_luhn/378282246310005 | throughput | 19490678.216op/s | 19780578.904op/s ± 77536.330op/s | 19774947.198op/s ± 42024.649op/s | 19829780.277op/s | 19914746.472op/s | 19925142.243op/s | 19928651.422op/s | 0.78% | -0.461 | 1.457 | 0.39% | 5482.646op/s | 1 | 200 |
| credit_card/is_card_number_no_luhn/37828224631000521389798 | execution_time | 45.490µs | 45.725µs ± 0.092µs | 45.725µs ± 0.063µs | 45.787µs | 45.879µs | 45.920µs | 45.979µs | 0.55% | 0.091 | -0.349 | 0.20% | 0.006µs | 1 | 200 |
| credit_card/is_card_number_no_luhn/37828224631000521389798 | throughput | 21749206.228op/s | 21870129.117op/s ± 43768.718op/s | 21869884.086op/s ± 29943.922op/s | 21900674.549op/s | 21940737.807op/s | 21957410.872op/s | 21982751.871op/s | 0.52% | -0.081 | -0.352 | 0.20% | 3094.916op/s | 1 | 200 |
| credit_card/is_card_number_no_luhn/x371413321323331 | execution_time | 6.427µs | 6.436µs ± 0.004µs | 6.435µs ± 0.002µs | 6.438µs | 6.441µs | 6.444µs | 6.450µs | 0.23% | 0.420 | 0.953 | 0.06% | 0.000µs | 1 | 200 |
| credit_card/is_card_number_no_luhn/x371413321323331 | throughput | 155031737.610op/s | 155386502.231op/s ± 86889.672op/s | 155388547.866op/s ± 53154.745op/s | 155442315.286op/s | 155520576.662op/s | 155554690.745op/s | 155597250.635op/s | 0.13% | -0.415 | 0.941 | 0.06% | 6144.028op/s | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| credit_card/is_card_number/ | execution_time | [3.912µs; 3.913µs] or [-0.012%; +0.012%] | None | None | None |
| credit_card/is_card_number/ | throughput | [255538464.355op/s; 255597817.171op/s] or [-0.012%; +0.012%] | None | None | None |
| credit_card/is_card_number/ 3782-8224-6310-005 | execution_time | [75.808µs; 75.995µs] or [-0.123%; +0.123%] | None | None | None |
| credit_card/is_card_number/ 3782-8224-6310-005 | throughput | [13159885.615op/s; 13192085.731op/s] or [-0.122%; +0.122%] | None | None | None |
| credit_card/is_card_number/ 378282246310005 | execution_time | [68.686µs; 68.708µs] or [-0.016%; +0.016%] | None | None | None |
| credit_card/is_card_number/ 378282246310005 | throughput | [14554273.901op/s; 14558947.285op/s] or [-0.016%; +0.016%] | None | None | None |
| credit_card/is_card_number/37828224631 | execution_time | [3.912µs; 3.912µs] or [-0.009%; +0.009%] | None | None | None |
| credit_card/is_card_number/37828224631 | throughput | [255610946.846op/s; 255656499.769op/s] or [-0.009%; +0.009%] | None | None | None |
| credit_card/is_card_number/378282246310005 | execution_time | [64.706µs; 64.739µs] or [-0.025%; +0.025%] | None | None | None |
| credit_card/is_card_number/378282246310005 | throughput | [15446824.606op/s; 15454586.495op/s] or [-0.025%; +0.025%] | None | None | None |
| credit_card/is_card_number/37828224631000521389798 | execution_time | [45.729µs; 45.754µs] or [-0.028%; +0.028%] | None | None | None |
| credit_card/is_card_number/37828224631000521389798 | throughput | [21856181.687op/s; 21868257.105op/s] or [-0.028%; +0.028%] | None | None | None |
| credit_card/is_card_number/x371413321323331 | execution_time | [6.436µs; 6.438µs] or [-0.009%; +0.009%] | None | None | None |
| credit_card/is_card_number/x371413321323331 | throughput | [155339435.470op/s; 155366073.537op/s] or [-0.009%; +0.009%] | None | None | None |
| credit_card/is_card_number_no_luhn/ | execution_time | [3.912µs; 3.913µs] or [-0.008%; +0.008%] | None | None | None |
| credit_card/is_card_number_no_luhn/ | throughput | [255590498.087op/s; 255633980.826op/s] or [-0.009%; +0.009%] | None | None | None |
| credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 | execution_time | [63.455µs; 63.660µs] or [-0.161%; +0.161%] | None | None | None |
| credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 | throughput | [15710453.825op/s; 15761368.168op/s] or [-0.162%; +0.162%] | None | None | None |
| credit_card/is_card_number_no_luhn/ 378282246310005 | execution_time | [54.266µs; 54.303µs] or [-0.034%; +0.034%] | None | None | None |
| credit_card/is_card_number_no_luhn/ 378282246310005 | throughput | [18415403.917op/s; 18427797.287op/s] or [-0.034%; +0.034%] | None | None | None |
| credit_card/is_card_number_no_luhn/37828224631 | execution_time | [3.913µs; 3.913µs] or [-0.009%; +0.009%] | None | None | None |
| credit_card/is_card_number_no_luhn/37828224631 | throughput | [255541884.654op/s; 255590133.785op/s] or [-0.009%; +0.009%] | None | None | None |
| credit_card/is_card_number_no_luhn/378282246310005 | execution_time | [50.528µs; 50.583µs] or [-0.054%; +0.054%] | None | None | None |
| credit_card/is_card_number_no_luhn/378282246310005 | throughput | [19769833.114op/s; 19791324.694op/s] or [-0.054%; +0.054%] | None | None | None |
| credit_card/is_card_number_no_luhn/37828224631000521389798 | execution_time | [45.712µs; 45.737µs] or [-0.028%; +0.028%] | None | None | None |
| credit_card/is_card_number_no_luhn/37828224631000521389798 | throughput | [21864063.194op/s; 21876195.041op/s] or [-0.028%; +0.028%] | None | None | None |
| credit_card/is_card_number_no_luhn/x371413321323331 | execution_time | [6.435µs; 6.436µs] or [-0.008%; +0.008%] | None | None | None |
| credit_card/is_card_number_no_luhn/x371413321323331 | throughput | [155374460.158op/s; 155398544.304op/s] or [-0.008%; +0.008%] | None | None | None |
Group 18
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... | execution_time | 185.339µs | 185.837µs ± 0.261µs | 185.816µs ± 0.210µs | 186.044µs | 186.281µs | 186.377µs | 186.480µs | 0.36% | 0.278 | -0.853 | 0.14% | 0.018µs | 1 | 200 |
| normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... | throughput | 5362516.865op/s | 5381072.469op/s ± 7549.925op/s | 5381681.282op/s ± 6077.414op/s | 5387580.341op/s | 5392073.540op/s | 5394066.431op/s | 5395530.127op/s | 0.26% | -0.274 | -0.857 | 0.14% | 533.860op/s | 1 | 200 |
| normalization/normalize_name/normalize_name/bad-name | execution_time | 17.896µs | 18.001µs ± 0.058µs | 17.990µs ± 0.024µs | 18.023µs | 18.077µs | 18.123µs | 18.569µs | 3.22% | 4.801 | 44.260 | 0.32% | 0.004µs | 1 | 200 |
| normalization/normalize_name/normalize_name/bad-name | throughput | 53852952.477op/s | 55552121.872op/s ± 176397.987op/s | 55585034.882op/s ± 74358.466op/s | 55636594.856op/s | 55759581.750op/s | 55859929.591op/s | 55879615.586op/s | 0.53% | -4.582 | 41.484 | 0.32% | 12473.221op/s | 1 | 200 |
| normalization/normalize_name/normalize_name/good | execution_time | 10.094µs | 10.193µs ± 0.030µs | 10.192µs ± 0.019µs | 10.212µs | 10.242µs | 10.268µs | 10.285µs | 0.92% | -0.003 | 0.790 | 0.29% | 0.002µs | 1 | 200 |
| normalization/normalize_name/normalize_name/good | throughput | 97226396.083op/s | 98105674.777op/s ± 288329.344op/s | 98117810.534op/s ± 183732.429op/s | 98284415.740op/s | 98532224.592op/s | 98859285.256op/s | 99065928.375op/s | 0.97% | 0.028 | 0.796 | 0.29% | 20387.963op/s | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... | execution_time | [185.801µs; 185.873µs] or [-0.019%; +0.019%] | None | None | None |
| normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... | throughput | [5380026.122op/s; 5382118.816op/s] or [-0.019%; +0.019%] | None | None | None |
| normalization/normalize_name/normalize_name/bad-name | execution_time | [17.993µs; 18.009µs] or [-0.045%; +0.045%] | None | None | None |
| normalization/normalize_name/normalize_name/bad-name | throughput | [55527674.808op/s; 55576568.937op/s] or [-0.044%; +0.044%] | None | None | None |
| normalization/normalize_name/normalize_name/good | execution_time | [10.189µs; 10.197µs] or [-0.041%; +0.041%] | None | None | None |
| normalization/normalize_name/normalize_name/good | throughput | [98065715.103op/s; 98145634.451op/s] or [-0.041%; +0.041%] | None | None | None |
Group 19
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| 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 | 12.963ms | 12.992ms ± 0.017ms | 12.989ms ± 0.010ms | 13.001ms | 13.026ms | 13.043ms | 13.055ms | 0.51% | 1.114 | 1.441 | 0.13% | 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 | [12.990ms; 12.995ms] or [-0.018%; +0.018%] | None | None | None |
Group 20
| cpu_model | git_commit_sha | git_commit_date | git_branch |
|---|---|---|---|
| Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | f1dcf15 | 1774292392 | ayan.khan/stable-session-identifier-headers |
| scenario | metric | min | mean ± sd | median ± mad | p75 | p95 | p99 | max | peak_to_median_ratio | skewness | kurtosis | cv | sem | runs | sample_size |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| benching string interning on wordpress profile | execution_time | 160.543µs | 161.232µs ± 0.381µs | 161.184µs ± 0.133µs | 161.325µs | 161.716µs | 161.986µs | 165.161µs | 2.47% | 5.630 | 54.602 | 0.24% | 0.027µs | 1 | 200 |
| scenario | metric | 95% CI mean | Shapiro-Wilk pvalue | Ljung-Box pvalue (lag=1) | Dip test pvalue |
|---|---|---|---|---|---|
| benching string interning on wordpress profile | execution_time | [161.179µs; 161.285µs] or [-0.033%; +0.033%] | None | None | None |
Baseline
Omitted due to size.
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: f1dcf15 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
Point all libdatadog workspace deps at the stable-session-identifier-headers branch so CI can compile builder.root_session_id. Revert to crates.io versions once the libdatadog PR is merged and published. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1782 +/- ##
==========================================
+ Coverage 70.34% 70.40% +0.05%
==========================================
Files 410 410
Lines 62138 62151 +13
==========================================
+ Hits 43710 43756 +46
+ Misses 18428 18395 -33
🚀 New features to boost your workflow:
|
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
|
Summary
Implements the Stable Service Instance Identifier RFC for
libdd-telemetry.DD-Session-ID: added to every telemetry request, set to the currentruntime_idDD-Root-Session-ID: added only in child processes (whenroot_session_id != runtime_id); backend infersroot = selfwhen absentroot_session_idfield onTelemetryWorkerBuilder— callers set this to the inherited root from the parent process; defaults toruntime_id(making this process the root)Changes
src/worker/http_client.rs: addSESSION_IDandROOT_SESSION_IDheader name constantssrc/worker/mod.rs:TelemetryWorkerBuilder: addpub root_session_id: Option<String>TelemetryWorker: addroot_session_id: Stringbuild_worker(): computeroot_session_idfrom builder field, falling back toruntime_idbuild_request(): emitDD-Session-IDalways; emitDD-Root-Session-IDwhenruntime_id != root_session_idRelated
Test plan
build_request()asserting header presence/absence