Skip to content

feat(common): add current thread id API#1569

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit intomainfrom
pr1/add-samples-benchmark
Feb 17, 2026
Merged

feat(common): add current thread id API#1569
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit intomainfrom
pr1/add-samples-benchmark

Conversation

@morrisonlevi
Copy link
Copy Markdown
Contributor

@morrisonlevi morrisonlevi commented Feb 13, 2026

What does this PR do?

Adds a new public helper API, libdd_common::threading::get_current_thread_id() -> i64,
with platform-specific implementations for Linux, macOS, and Windows.

It updates libdd-profiling's add_samples benchmark to always include a numeric "thread id"
label in both try_add_sample and try_add_sample2 paths.

Motivation

This PR improves the add_samples benchmark because in the future I want to modify the
internals of our implementation, and I want labels to be represented in the benchmark.

@gyuheon0h asked for it to be in common so it could be used in other places as well. This is fine with me, as long as we keep the i64 representation for profiling.

Additional Notes

Supported implementations:

  • Linux: syscall(SYS_gettid), since gettid() does not exist on older glibc versions.
  • macOS: pthread_threadid_np
  • Windows: GetCurrentThreadId via windows-sys

Unsupported platforms fail at compile time via compile_error!.

How to test the change?

  1. Check out branch pr1/add-samples-benchmark.
  2. Run compile checks:
    • cargo check -p libdd-common
    • cargo check -p libdd-profiling
    • cargo check -p libdd-profiling --benches
  3. Run benchmark:
    • cargo bench -p libdd-profiling --bench main -- add_sample --noplot
  4. Confirm:
    • benchmark runs successfully
    • add_samples includes "thread id" labels for both legacy and api2 benchmark loops

@morrisonlevi morrisonlevi added the profiling Relates to the profiling* modules. label Feb 13, 2026
@github-actions github-actions bot removed the profiling Relates to the profiling* modules. label Feb 13, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 13, 2026

Clippy Allow Annotation Report

Comparing clippy allow annotations between branches:

  • Base Branch: origin/main
  • PR Branch: origin/pr1/add-samples-benchmark

Summary by Rule

Rule Base Branch PR Branch Change
unwrap_used 3 3 No change (0%)
Total 3 3 No change (0%)

Annotation Counts by File

File Base Branch PR Branch Change
libdd-common/src/lib.rs 3 3 No change (0%)

Annotation Stats by Crate

Crate Base Branch PR Branch Change
clippy-annotation-reporter 5 5 No change (0%)
datadog-ffe-ffi 1 1 No change (0%)
datadog-ipc 27 27 No change (0%)
datadog-live-debugger 6 6 No change (0%)
datadog-live-debugger-ffi 10 10 No change (0%)
datadog-profiling-replayer 4 4 No change (0%)
datadog-remote-config 3 3 No change (0%)
datadog-sidecar 59 59 No change (0%)
libdd-common 10 10 No change (0%)
libdd-common-ffi 12 12 No change (0%)
libdd-crashtracker 12 12 No change (0%)
libdd-data-pipeline 6 6 No change (0%)
libdd-ddsketch 2 2 No change (0%)
libdd-dogstatsd-client 1 1 No change (0%)
libdd-profiling 13 13 No change (0%)
libdd-telemetry 19 19 No change (0%)
libdd-tinybytes 4 4 No change (0%)
libdd-trace-normalization 2 2 No change (0%)
libdd-trace-obfuscation 9 9 No change (0%)
libdd-trace-utils 15 15 No change (0%)
Total 220 220 No change (0%)

About This Report

This 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.

@morrisonlevi morrisonlevi force-pushed the pr1/add-samples-benchmark branch from 3085ed2 to 4ec810b Compare February 13, 2026 21:44
@morrisonlevi morrisonlevi marked this pull request as ready for review February 13, 2026 21:48
@morrisonlevi morrisonlevi requested review from a team as code owners February 13, 2026 21:48
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 13, 2026

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.82%. Comparing base (68d63e1) to head (69f24d8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1569      +/-   ##
==========================================
- Coverage   70.83%   70.82%   -0.02%     
==========================================
  Files         423      424       +1     
  Lines       61862    61865       +3     
==========================================
- Hits        43823    43818       -5     
- Misses      18039    18047       +8     
Components Coverage Δ
libdd-crashtracker 62.43% <ø> (ø)
libdd-crashtracker-ffi 15.80% <ø> (ø)
libdd-alloc 98.77% <ø> (ø)
libdd-data-pipeline 85.96% <ø> (ø)
libdd-data-pipeline-ffi 75.63% <ø> (ø)
libdd-common 79.79% <0.00%> (-0.07%) ⬇️
libdd-common-ffi 73.75% <ø> (ø)
libdd-telemetry 62.52% <ø> (ø)
libdd-telemetry-ffi 16.75% <ø> (ø)
libdd-dogstatsd-client 82.64% <ø> (ø)
datadog-ipc 80.71% <ø> (-0.12%) ⬇️
libdd-profiling 81.23% <ø> (ø)
libdd-profiling-ffi 63.66% <ø> (ø)
datadog-sidecar 32.76% <ø> (ø)
datdog-sidecar-ffi 9.50% <ø> (ø)
spawn-worker 54.69% <ø> (ø)
libdd-tinybytes 93.16% <ø> (ø)
libdd-trace-normalization 81.71% <ø> (ø)
libdd-trace-obfuscation 94.18% <ø> (ø)
libdd-trace-protobuf 68.00% <ø> (ø)
libdd-trace-utils 88.72% <ø> (ø)
datadog-tracer-flare 88.95% <ø> (ø)
libdd-log 74.69% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Feb 13, 2026

Benchmarks

Comparison

Benchmark execution time: 2026-02-17 18:54:43

Comparing candidate commit 69f24d8 in PR branch pr1/add-samples-benchmark with baseline commit 68d63e1 in branch main.

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

scenario:profile_add_sample2_frames_x1000

  • 🟥 execution_time [+204.251µs; +204.455µs] or [+38.218%; +38.256%]

scenario:profile_add_sample_frames_x1000

  • 🟥 execution_time [+207.576µs; +210.435µs] or [+5.225%; +5.297%]

scenario:tags/replace_trace_tags

  • 🟥 execution_time [+145.205ns; +150.548ns] or [+6.091%; +6.315%]

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 69f24d8 1771353455 pr1/add-samples-benchmark
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.919µs 3.922µs 3.924µs 0.29% -0.188 6.538 0.08% 0.000µs 1 200
credit_card/is_card_number/ throughput 254872542.788op/s 255583876.450op/s ± 208379.866op/s 255608000.535op/s ± 101187.295op/s 255697631.752op/s 255833821.903op/s 255928284.848op/s 256829726.413op/s 0.48% 0.208 6.633 0.08% 14734.682op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 79.742µs 81.815µs ± 0.674µs 81.832µs ± 0.410µs 82.239µs 82.837µs 83.346µs 83.487µs 2.02% -0.374 0.522 0.82% 0.048µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 11977900.969op/s 12223473.143op/s ± 101091.349op/s 12220203.052op/s ± 61580.119op/s 12281650.876op/s 12405017.965op/s 12518014.168op/s 12540518.982op/s 2.62% 0.433 0.592 0.82% 7148.238op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 71.821µs 72.356µs ± 0.385µs 72.272µs ± 0.276µs 72.596µs 72.997µs 73.535µs 73.793µs 2.10% 0.970 0.916 0.53% 0.027µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13551494.852op/s 13821028.095op/s ± 73146.784op/s 13836623.450op/s ± 52686.951op/s 13875499.684op/s 13909790.059op/s 13916842.497op/s 13923536.346op/s 0.63% -0.939 0.811 0.53% 5172.259op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.891µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.917µs 3.921µs 3.927µs 0.39% -0.376 9.296 0.08% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254622123.734op/s 255601837.640op/s ± 214265.509op/s 255620526.330op/s ± 116238.988op/s 255727876.727op/s 255846820.546op/s 255867921.360op/s 256975176.962op/s 0.53% 0.404 9.415 0.08% 15150.859op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 68.550µs 69.115µs ± 0.320µs 69.036µs ± 0.195µs 69.298µs 69.679µs 70.052µs 70.496µs 2.11% 0.997 1.342 0.46% 0.023µs 1 200
credit_card/is_card_number/378282246310005 throughput 14185206.160op/s 14468989.147op/s ± 66743.686op/s 14485185.277op/s ± 41041.411op/s 14515379.880op/s 14557044.180op/s 14574363.475op/s 14587937.546op/s 0.71% -0.964 1.221 0.46% 4719.491op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 45.478µs 45.717µs ± 0.085µs 45.727µs ± 0.055µs 45.779µs 45.839µs 45.883µs 45.913µs 0.41% -0.365 -0.200 0.19% 0.006µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 21780371.311op/s 21873610.680op/s ± 40627.998op/s 21868752.833op/s ± 26143.778op/s 21896054.331op/s 21948890.281op/s 21973028.968op/s 21988779.698op/s 0.55% 0.374 -0.192 0.19% 2872.833op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.428µs 6.436µs ± 0.005µs 6.436µs ± 0.003µs 6.439µs 6.442µs 6.446µs 6.468µs 0.49% 1.823 10.610 0.07% 0.000µs 1 200
credit_card/is_card_number/x371413321323331 throughput 154617844.717op/s 155373626.817op/s ± 108979.998op/s 155376750.748op/s ± 69993.203op/s 155447017.120op/s 155528822.058op/s 155557627.722op/s 155577154.560op/s 0.13% -1.803 10.450 0.07% 7706.050op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.892µs 3.913µs ± 0.003µs 3.914µs ± 0.002µs 3.915µs 3.917µs 3.919µs 3.922µs 0.20% -1.954 14.741 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254994617.279op/s 255533032.396op/s ± 188055.988op/s 255509230.346op/s ± 106771.376op/s 255647620.761op/s 255794195.119op/s 255890445.124op/s 256950816.136op/s 0.56% 1.983 14.986 0.07% 13297.566op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 61.464µs 63.008µs ± 0.612µs 63.018µs ± 0.403µs 63.397µs 64.078µs 64.403µs 64.656µs 2.60% 0.047 -0.220 0.97% 0.043µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15466542.882op/s 15872587.759op/s ± 154060.962op/s 15868362.150op/s ± 101504.436op/s 15970843.419op/s 16126848.582op/s 16196040.863op/s 16269776.789op/s 2.53% 0.004 -0.236 0.97% 10893.755op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 53.833µs 54.019µs ± 0.067µs 54.014µs ± 0.043µs 54.060µs 54.135µs 54.172µs 54.205µs 0.35% 0.251 -0.070 0.12% 0.005µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18448630.829op/s 18512075.075op/s ± 23124.639op/s 18513574.008op/s ± 14749.174op/s 18527803.177op/s 18548788.557op/s 18559714.607op/s 18575994.243op/s 0.34% -0.244 -0.071 0.12% 1635.159op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.894µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.916µs 3.917µs 3.919µs 0.18% -1.208 8.798 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 255149406.149op/s 255607770.274op/s ± 176537.204op/s 255621075.961op/s ± 104945.823op/s 255713658.347op/s 255847022.881op/s 255889892.085op/s 256796724.094op/s 0.46% 1.227 8.942 0.07% 12483.065op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 50.193µs 50.364µs ± 0.093µs 50.352µs ± 0.054µs 50.412µs 50.496µs 50.748µs 50.901µs 1.09% 2.048 8.962 0.18% 0.007µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 19645851.443op/s 19855701.452op/s ± 36677.435op/s 19860235.840op/s ± 21488.879op/s 19877854.083op/s 19903800.133op/s 19912910.270op/s 19923090.862op/s 0.32% -2.011 8.721 0.18% 2593.486op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 45.454µs 45.740µs ± 0.090µs 45.737µs ± 0.059µs 45.805µs 45.878µs 45.928µs 45.950µs 0.47% -0.309 0.204 0.20% 0.006µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 21762565.049op/s 21862863.526op/s ± 42975.339op/s 21864248.675op/s ± 28114.096op/s 21885630.989op/s 21934459.065op/s 21975625.595op/s 22000401.030op/s 0.62% 0.321 0.220 0.20% 3038.815op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.425µs 6.435µs ± 0.006µs 6.434µs ± 0.002µs 6.436µs 6.441µs 6.446µs 6.494µs 0.94% 6.571 67.499 0.09% 0.000µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 153979018.018op/s 155408013.008op/s ± 132250.572op/s 155424503.678op/s ± 48008.950op/s 155471272.677op/s 155522851.606op/s 155568699.692op/s 155632168.102op/s 0.13% -6.504 66.515 0.08% 9351.528op/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.011%; +0.011%] None None None
credit_card/is_card_number/ throughput [255554997.005op/s; 255612755.895op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [81.722µs; 81.909µs] or [-0.114%; +0.114%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12209462.854op/s; 12237483.431op/s] or [-0.115%; +0.115%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [72.302µs; 72.409µs] or [-0.074%; +0.074%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13810890.654op/s; 13831165.536op/s] or [-0.073%; +0.073%] None None None
credit_card/is_card_number/37828224631 execution_time [3.912µs; 3.913µs] or [-0.012%; +0.012%] None None None
credit_card/is_card_number/37828224631 throughput [255572142.501op/s; 255631532.779op/s] or [-0.012%; +0.012%] None None None
credit_card/is_card_number/378282246310005 execution_time [69.070µs; 69.159µs] or [-0.064%; +0.064%] None None None
credit_card/is_card_number/378282246310005 throughput [14459739.114op/s; 14478239.180op/s] or [-0.064%; +0.064%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [45.706µs; 45.729µs] or [-0.026%; +0.026%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [21867980.030op/s; 21879241.330op/s] or [-0.026%; +0.026%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.435µs; 6.437µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/x371413321323331 throughput [155358523.238op/s; 155388730.397op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.913µs; 3.914µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/ throughput [255506969.645op/s; 255559095.147op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [62.923µs; 63.092µs] or [-0.135%; +0.135%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15851236.392op/s; 15893939.127op/s] or [-0.135%; +0.135%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [54.010µs; 54.028µs] or [-0.017%; +0.017%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18508870.223op/s; 18515279.928op/s] or [-0.017%; +0.017%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.912µs; 3.913µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255583303.915op/s; 255632236.633op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [50.351µs; 50.376µs] or [-0.026%; +0.026%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [19850618.312op/s; 19860784.591op/s] or [-0.026%; +0.026%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [45.727µs; 45.752µs] or [-0.027%; +0.027%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [21856907.558op/s; 21868819.495op/s] or [-0.027%; +0.027%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.434µs; 6.435µs] or [-0.012%; +0.012%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [155389684.350op/s; 155426341.665op/s] or [-0.012%; +0.012%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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.177ms 4.181ms ± 0.008ms 4.180ms ± 0.002ms 4.182ms 4.185ms 4.190ms 4.287ms 2.55% 11.796 153.136 0.19% 0.001ms 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.180ms; 4.182ms] or [-0.026%; +0.026%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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 10.643ms 10.669ms ± 0.013ms 10.667ms ± 0.009ms 10.679ms 10.689ms 10.702ms 10.717ms 0.47% 0.519 0.272 0.12% 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 [10.668ms; 10.671ms] or [-0.017%; +0.017%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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.763µs 35.332µs ± 1.026µs 34.874µs ± 0.046µs 34.937µs 37.498µs 37.551µs 39.184µs 12.36% 1.775 1.397 2.90% 0.073µ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 [35.190µs; 35.474µs] or [-0.402%; +0.402%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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 241.582ns 255.602ns ± 15.011ns 247.061ns ± 4.015ns 265.365ns 287.275ns 290.446ns 293.480ns 18.79% 1.061 -0.302 5.86% 1.061ns 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 [253.522ns; 257.682ns] or [-0.814%; +0.814%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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.485µs 2.532µs ± 0.014µs 2.530µs ± 0.005µs 2.537µs 2.555µs 2.570µs 2.600µs 2.76% 0.409 3.910 0.56% 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.530µs; 2.534µs] or [-0.077%; +0.077%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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 146.148µs 147.860µs ± 1.937µs 147.484µs ± 0.516µs 148.097µs 149.632µs 155.200µs 167.905µs 13.85% 6.703 60.091 1.31% 0.137µ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 [147.592µs; 148.129µs] or [-0.182%; +0.182%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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.924µs 5.017µs ± 0.051µs 5.035µs ± 0.045µs 5.049µs 5.089µs 5.105µs 5.108µs 1.43% -0.121 -1.291 1.01% 0.004µ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.010µs; 5.024µs] or [-0.141%; +0.141%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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/2597 execution_time 9.484ms 9.861ms ± 0.077ms 9.869ms ± 0.031ms 9.900ms 9.948ms 9.987ms 10.238ms 3.74% -1.373 8.755 0.78% 0.005ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
receiver_entry_point/report/2597 execution_time [9.851ms; 9.872ms] or [-0.108%; +0.108%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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.315µs 185.863µs ± 0.342µs 185.838µs ± 0.202µs 185.999µs 186.463µs 187.203µs 187.324µs 0.80% 1.664 4.140 0.18% 0.024µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 5338330.723op/s 5380326.871op/s ± 9883.262op/s 5381031.155op/s ± 5858.553op/s 5387629.504op/s 5391023.620op/s 5395899.187op/s 5396206.332op/s 0.28% -1.645 4.061 0.18% 698.852op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 17.344µs 17.518µs ± 0.073µs 17.516µs ± 0.053µs 17.570µs 17.646µs 17.697µs 17.711µs 1.11% 0.203 -0.271 0.41% 0.005µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 56461415.976op/s 57084457.379op/s ± 236601.281op/s 57090673.695op/s ± 172980.215op/s 57255395.354op/s 57438131.907op/s 57559608.480op/s 57657692.578op/s 0.99% -0.182 -0.283 0.41% 16730.237op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 9.870µs 9.922µs ± 0.022µs 9.921µs ± 0.014µs 9.937µs 9.953µs 9.978µs 9.987µs 0.66% -0.096 0.028 0.22% 0.002µs 1 200
normalization/normalize_name/normalize_name/good throughput 100134692.455op/s 100784506.949op/s ± 225289.462op/s 100793120.604op/s ± 146773.005op/s 100900881.769op/s 101208424.787op/s 101251793.432op/s 101320904.636op/s 0.52% 0.109 0.021 0.22% 15930.371op/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.815µs; 185.910µs] or [-0.026%; +0.026%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [5378957.145op/s; 5381696.596op/s] or [-0.025%; +0.025%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [17.508µs; 17.528µs] or [-0.057%; +0.057%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [57051666.717op/s; 57117248.041op/s] or [-0.057%; +0.057%] None None None
normalization/normalize_name/normalize_name/good execution_time [9.919µs; 9.925µs] or [-0.031%; +0.031%] None None None
normalization/normalize_name/normalize_name/good throughput [100753283.996op/s; 100815729.902op/s] or [-0.031%; +0.031%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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 737.244µs 738.794µs ± 0.651µs 738.720µs ± 0.433µs 739.218µs 739.809µs 740.355µs 742.352µs 0.49% 1.028 3.474 0.09% 0.046µ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 [738.703µs; 738.884µs] or [-0.012%; +0.012%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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 17.843µs 25.237µs ± 9.343µs 18.234µs ± 0.172µs 32.441µs 40.939µs 50.391µs 72.702µs 298.73% 1.503 3.765 36.93% 0.661µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [23.942µs; 26.532µs] or [-5.131%; +5.131%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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 493.169µs 494.240µs ± 0.895µs 494.128µs ± 0.312µs 494.486µs 494.979µs 495.644µs 505.063µs 2.21% 8.929 105.003 0.18% 0.063µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1979952.758op/s 2023313.764op/s ± 3607.848op/s 2023768.714op/s ± 1276.011op/s 2024838.639op/s 2026077.395op/s 2026895.930op/s 2027703.842op/s 0.19% -8.782 102.614 0.18% 255.113op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 371.699µs 372.305µs ± 0.303µs 372.278µs ± 0.188µs 372.481µs 372.771µs 372.986µs 374.388µs 0.57% 1.749 9.851 0.08% 0.021µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2671029.193op/s 2685973.920op/s ± 2181.391op/s 2686163.072op/s ± 1355.354op/s 2687324.010op/s 2688829.386op/s 2689774.345op/s 2690350.800op/s 0.16% -1.728 9.676 0.08% 154.248op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 167.715µs 168.074µs ± 0.395µs 168.009µs ± 0.140µs 168.183µs 168.376µs 168.471µs 173.014µs 2.98% 9.871 120.546 0.23% 0.028µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5779877.531op/s 5949781.936op/s ± 13672.456op/s 5952051.388op/s ± 4949.044op/s 5955560.714op/s 5958676.042op/s 5961007.376op/s 5962491.767op/s 0.18% -9.695 117.581 0.23% 966.789op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 38.574µs 38.820µs ± 0.076µs 38.828µs ± 0.048µs 38.869µs 38.923µs 38.997µs 39.078µs 0.64% -0.176 0.904 0.20% 0.005µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 25589818.501op/s 25760006.536op/s ± 50519.048op/s 25754298.292op/s ± 31744.834op/s 25790234.204op/s 25853939.162op/s 25887460.957op/s 25924346.547op/s 0.66% 0.193 0.898 0.20% 3572.236op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 45.603µs 45.786µs ± 0.228µs 45.773µs ± 0.045µs 45.813µs 45.869µs 45.932µs 47.969µs 4.80% 8.657 79.899 0.50% 0.016µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 20846681.000op/s 21841053.058op/s ± 104108.702op/s 21847062.312op/s ± 21425.973op/s 21874239.528op/s 21903868.691op/s 21918060.481op/s 21928563.562op/s 0.37% -8.552 78.602 0.48% 7361.597op/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 [494.116µs; 494.364µs] or [-0.025%; +0.025%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [2022813.751op/s; 2023813.777op/s] or [-0.025%; +0.025%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [372.263µs; 372.347µs] or [-0.011%; +0.011%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2685671.600op/s; 2686276.240op/s] or [-0.011%; +0.011%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [168.020µs; 168.129µs] or [-0.033%; +0.033%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5947887.065op/s; 5951676.807op/s] or [-0.032%; +0.032%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [38.809µs; 38.831µs] or [-0.027%; +0.027%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [25753005.082op/s; 25767007.990op/s] or [-0.027%; +0.027%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [45.755µs; 45.818µs] or [-0.069%; +0.069%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21826624.593op/s; 21855481.523op/s] or [-0.066%; +0.066%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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.225µs 3.218µs ± 1.405µs 3.004µs ± 0.024µs 3.028µs 3.659µs 13.798µs 14.752µs 391.10% 7.332 55.009 43.54% 0.099µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [3.023µs; 3.413µs] or [-6.050%; +6.050%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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 187.776ns 190.109ns ± 2.019ns 189.888ns ± 1.459ns 191.099ns 193.827ns 195.882ns 197.839ns 4.19% 1.024 0.892 1.06% 0.143ns 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 [189.829ns; 190.388ns] or [-0.147%; +0.147%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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 90.898µs 91.127µs ± 0.179µs 91.112µs ± 0.043µs 91.151µs 91.257µs 91.646µs 93.239µs 2.33% 8.701 96.803 0.20% 0.013µ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 [91.102µs; 91.152µs] or [-0.027%; +0.027%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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 48.743ms 49.065ms ± 0.674ms 48.901ms ± 0.074ms 49.045ms 49.368ms 52.467ms 55.209ms 12.90% 6.545 47.941 1.37% 0.048ms 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 [48.971ms; 49.158ms] or [-0.190%; +0.190%] None None None

Group 18

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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.114µs 160.959µs ± 0.272µs 160.920µs ± 0.119µs 161.047µs 161.442µs 161.827µs 162.388µs 0.91% 1.280 5.370 0.17% 0.019µ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 [160.922µs; 160.997µs] or [-0.023%; +0.023%] None None None

Group 19

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 69f24d8 1771353455 pr1/add-samples-benchmark
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.843ms 14.879ms ± 0.037ms 14.871ms ± 0.010ms 14.882ms 14.959ms 15.018ms 15.175ms 2.04% 4.397 25.389 0.25% 0.003ms 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.873ms; 14.884ms] or [-0.034%; +0.034%] None None None

Baseline

Omitted due to size.

@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts bot commented Feb 13, 2026

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 8.38 MB 8.38 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 91.60 MB 91.60 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.76 MB 10.76 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 106.31 MB 106.31 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 25.02 MB 25.01 MB --.04% (-10.50 KB) 💪
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 75.94 KB 75.94 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 166.56 MB 166.58 MB +0% (+16.00 KB) 👌
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 838.10 MB 838.60 MB +.05% (+508.17 KB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 9.57 MB 9.57 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 75.94 KB 75.94 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 23.02 MB 23.02 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 48.42 MB 48.42 MB -0% (-2.29 KB) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 21.08 MB 21.09 MB +.05% (+12.50 KB) 🔍
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 77.12 KB 77.12 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 170.31 MB 170.37 MB +.03% (+56.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 823.46 MB 824.57 MB +.13% (+1.10 MB) 🔍
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 7.24 MB 7.24 MB --.02% (-1.50 KB) 💪
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 77.12 KB 77.12 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 24.62 MB 24.62 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 44.15 MB 44.15 MB +0% (+70 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 80.15 MB 80.15 MB +0% (+8 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 9.87 MB 9.87 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 100.25 MB 100.25 MB +0% (+8 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 11.44 MB 11.44 MB 0% (0 B) 👌

Copy link
Copy Markdown
Contributor

@gyuheon0h gyuheon0h left a comment

Choose a reason for hiding this comment

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

Neat helper! Any chance this could go in common? I think we have some usecases of getting TID for crashtracker also. Not sure what is the protocol for sharing code between crates but it would be nice to have a shared helper for the smae functionality.

@gyuheon0h
Copy link
Copy Markdown
Contributor

Neat helper! Any chance this could go in common? I think we have some usecases of getting TID for crashtracker also. Not sure what is the protocol for sharing code between crates but it would be nice to have a shared helper for the smae functionality.

Ah, I see that this is i64 profiling specific :)

@morrisonlevi
Copy link
Copy Markdown
Contributor Author

morrisonlevi commented Feb 15, 2026

Neat helper! Any chance this could go in common? I think we have some usecases of getting TID for crashtracker also. Not sure what is the protocol for sharing code between crates but it would be nice to have a shared helper for the [same] functionality.

Ah, I see that this is i64 profiling specific :)

Yes but it's mostly a 64-bit number. If other people are interested in this, I suppose that's fine, as long as we can keep our i64 representation :D

But first I need feedback from Windows folks to make sure the Win stuff is good.

@morrisonlevi morrisonlevi changed the title feat(profiling): add current thread id API feat(common): add current thread id API Feb 17, 2026
@morrisonlevi morrisonlevi force-pushed the pr1/add-samples-benchmark branch from 4ec810b to 89bfdbc Compare February 17, 2026 18:35
@morrisonlevi
Copy link
Copy Markdown
Contributor Author

@gyuheon0h I got a review from .NET folks in Slack, and I've moved it to common.

Add libdd_common::threading::get_current_thread_id() and update the profiling add_samples benchmark to use the shared helper.

Co-authored-by: Cursor <[email protected]>
@morrisonlevi morrisonlevi force-pushed the pr1/add-samples-benchmark branch from 89bfdbc to 69f24d8 Compare February 17, 2026 18:37
@gyuheon0h
Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 bot commented Feb 17, 2026

View all feedbacks in Devflow UI.

2026-02-17 19:55:09 UTC ℹ️ Start processing command /merge


2026-02-17 19:55:13 UTC ℹ️ MergeQueue: pull request added to the queue

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


2026-02-17 20:26:03 UTC ℹ️ MergeQueue: This merge request was merged

Copy link
Copy Markdown
Contributor

@gleocadie gleocadie left a comment

Choose a reason for hiding this comment

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

LGTM

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot merged commit 367c8b2 into main Feb 17, 2026
76 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot deleted the pr1/add-samples-benchmark branch February 17, 2026 20:26
paullegranddc pushed a commit that referenced this pull request Feb 23, 2026
# Release proposal for libdd-data-pipeline and its dependencies

This PR contains version bumps based on public API changes and commits
since last release.

## libdd-common
**Next version:** `2.0.0`

**Semver bump:** `major`
**Tag:** `libdd-common-v2.0.0`

### Commits

- refactor(ddcommon)!: remove direct dependency on hyper client
everywhere in common (#1604)
- feat!: enable non-blocking DNS for reqwest (#1558)
- feat: unify Azure tags (#1553)
- feat(common): add current thread id API (#1569)
- refactor!: switch from multipart to multer to resolve deprecation
warnings and dependabot alerts (#1540)
- feat: single source of truth for headers (fixes issue in profiling
with missing headers) (#1493)
- refactor!: make reqwest available in common (#1504)
## libdd-ddsketch
**Next version:** `1.0.1`

**Semver bump:** `patch`
**Tag:** `libdd-ddsketch-v1.0.1`

### Commits

- chore: remove manual changelog modifications (#1472)
- build: update `prost` crates (#1426)
- chore: add changelog for every published crate (#1396)
## libdd-trace-protobuf
**Next version:** `1.1.0`

**Semver bump:** `minor`
**Tag:** `libdd-trace-protobuf-v1.1.0`

### Commits

- chore: remove manual changelog modifications (#1472)
- build: update `prost` crates (#1426)
- chore: add changelog for every published crate (#1396)
- Handle null span tag values (#1394)
## libdd-dogstatsd-client
**Next version:** `1.0.1`

**Semver bump:** `patch`
**Tag:** `libdd-dogstatsd-client-v1.0.1`

### Commits

- refactor(ddcommon)!: remove direct dependency on hyper client
everywhere in common (#1604)
- chore: release libddcommon-v1.1.0 (#1456)
- chore: add changelog for every published crate (#1396)
- style: fix recent clippy warnings (#1346)
## libdd-telemetry
**Next version:** `3.0.0`

**Semver bump:** `major`
**Tag:** `libdd-telemetry-v3.0.0`

### Commits

- refactor(ddcommon)!: remove direct dependency on hyper client
everywhere in common (#1604)
- chore(deps): bump tracing-subscriber to remove regex dep duplicate
(#1608)
- feat(telemetry)!: add process_tags to Application in telemetry (#1459)
- fix(telemetry)!: fix logs payload format [APMSP-2590] (#1498)
- feat(appsec): add endpoints collection (#1182)
## libdd-trace-normalization
**Next version:** `1.0.1`

**Semver bump:** `patch`
**Tag:** `libdd-trace-normalization-v1.0.1`

### Commits

- Prevent span start overflow panic (#1373)
- [CHAOSPLT-932] Add support for internal fuzzing infra  (#1372)
- chore: add changelog for every published crate (#1396)
## libdd-trace-utils
**Next version:** `2.0.0`

**Semver bump:** `major`
**Tag:** `libdd-trace-utils-v2.0.0`

### Commits

- refactor(ddcommon)!: remove direct dependency on hyper client
everywhere in common (#1604)
- feat: unify Azure tags (#1553)
- fix(serverless): set hostname on stats from tracer to empty string
(#1530)
- chore: remove manual changelog modifications (#1472)
- feat(sidecar)!: introduce TraceData to unify text and binary data
(#1247)
- chore: release libddcommon-v1.1.0 (#1456)
- fix(test-agent): undo commenting arg in docker cmd (#1439)
- [SLES-2652] Log error details when trace request fails (2) (#1441)
- build: update `prost` crates (#1426)
- chore(trace-utils): bump the test agent version used for integration
tests (#1417)
- [Serverless] Skip AAS metadata tagging when span is from API
Management (#1409)
- chore: add changelog for every published crate (#1396)
- Handle null span tag values (#1394)
- [SVLS-7934] Log error details when trace request fails (#1392)
- Fix trace utils clippy warning (#1397)
- feat(trace_utils): Allow sending trace stats using custom HTTP client
(#1345)
## libdd-trace-stats
**Next version:** `1.0.1`

**Semver bump:** `patch`
**Tag:** `libdd-trace-stats-v1.0.1`

### Commits

- feat(sidecar)!: introduce TraceData to unify text and binary data
(#1247)
- chore: add changelog for every published crate (#1396)
## libdd-data-pipeline
**Next version:** `2.0.0`

**Semver bump:** `major`
**Tag:** `libdd-data-pipeline-v2.0.0`

### Commits

- refactor(ddcommon)!: remove direct dependency on hyper client
everywhere in common (#1604)
- refactor(trace_exporter)!: remove Proxy TraceExporter input mode
(#1583)
- refactor(libdd-data-pipeline): health metrics (#1433)
- feat(data-pipeline)!: include reason for chunks dropped telemetry
(#1449)
- feat(sidecar)!: introduce TraceData to unify text and binary data
(#1247)
- chore: release libddcommon-v1.1.0 (#1456)
- chore: prepare libdd-telemetry-v2.0.0 (#1457)
- Allow submitting Vec<Vec<Span>> asynchronously (#1302)
- test(data-pipeline): handle EINTR in test_health_metrics_disabled
(#1430)
- chore: add changelog for every published crate (#1396)

[APMSP-2590]:
https://datadoghq.atlassian.net/browse/APMSP-2590?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

---------

Co-authored-by: dd-octo-sts[bot] <200755185+dd-octo-sts[bot]@users.noreply.github.com>
dd-octo-sts bot added a commit that referenced this pull request Feb 25, 2026
# Release proposal for libdd-data-pipeline and its dependencies

This PR contains version bumps based on public API changes and commits
since last release.

## libdd-common
**Next version:** `2.0.0`

**Semver bump:** `major`
**Tag:** `libdd-common-v2.0.0`

### Commits

- refactor(ddcommon)!: remove direct dependency on hyper client
everywhere in common (#1604)
- feat!: enable non-blocking DNS for reqwest (#1558)
- feat: unify Azure tags (#1553)
- feat(common): add current thread id API (#1569)
- refactor!: switch from multipart to multer to resolve deprecation
warnings and dependabot alerts (#1540)
- feat: single source of truth for headers (fixes issue in profiling
with missing headers) (#1493)
- refactor!: make reqwest available in common (#1504)
## libdd-ddsketch
**Next version:** `1.0.1`

**Semver bump:** `patch`
**Tag:** `libdd-ddsketch-v1.0.1`

### Commits

- chore: remove manual changelog modifications (#1472)
- build: update `prost` crates (#1426)
- chore: add changelog for every published crate (#1396)
## libdd-trace-protobuf
**Next version:** `1.1.0`

**Semver bump:** `minor`
**Tag:** `libdd-trace-protobuf-v1.1.0`

### Commits

- chore: remove manual changelog modifications (#1472)
- build: update `prost` crates (#1426)
- chore: add changelog for every published crate (#1396)
- Handle null span tag values (#1394)
## libdd-dogstatsd-client
**Next version:** `1.0.1`

**Semver bump:** `patch`
**Tag:** `libdd-dogstatsd-client-v1.0.1`

### Commits

- refactor(ddcommon)!: remove direct dependency on hyper client
everywhere in common (#1604)
- chore: release libddcommon-v1.1.0 (#1456)
- chore: add changelog for every published crate (#1396)
- style: fix recent clippy warnings (#1346)
## libdd-telemetry
**Next version:** `3.0.0`

**Semver bump:** `major`
**Tag:** `libdd-telemetry-v3.0.0`

### Commits

- refactor(ddcommon)!: remove direct dependency on hyper client
everywhere in common (#1604)
- chore(deps): bump tracing-subscriber to remove regex dep duplicate
(#1608)
- feat(telemetry)!: add process_tags to Application in telemetry (#1459)
- fix(telemetry)!: fix logs payload format [APMSP-2590] (#1498)
- feat(appsec): add endpoints collection (#1182)
## libdd-trace-normalization
**Next version:** `1.0.1`

**Semver bump:** `patch`
**Tag:** `libdd-trace-normalization-v1.0.1`

### Commits

- Prevent span start overflow panic (#1373)
- [CHAOSPLT-932] Add support for internal fuzzing infra  (#1372)
- chore: add changelog for every published crate (#1396)
## libdd-trace-utils
**Next version:** `2.0.0`

**Semver bump:** `major`
**Tag:** `libdd-trace-utils-v2.0.0`

### Commits

- refactor(ddcommon)!: remove direct dependency on hyper client
everywhere in common (#1604)
- feat: unify Azure tags (#1553)
- fix(serverless): set hostname on stats from tracer to empty string
(#1530)
- chore: remove manual changelog modifications (#1472)
- feat(sidecar)!: introduce TraceData to unify text and binary data
(#1247)
- chore: release libddcommon-v1.1.0 (#1456)
- fix(test-agent): undo commenting arg in docker cmd (#1439)
- [SLES-2652] Log error details when trace request fails (2) (#1441)
- build: update `prost` crates (#1426)
- chore(trace-utils): bump the test agent version used for integration
tests (#1417)
- [Serverless] Skip AAS metadata tagging when span is from API
Management (#1409)
- chore: add changelog for every published crate (#1396)
- Handle null span tag values (#1394)
- [SVLS-7934] Log error details when trace request fails (#1392)
- Fix trace utils clippy warning (#1397)
- feat(trace_utils): Allow sending trace stats using custom HTTP client
(#1345)
## libdd-trace-stats
**Next version:** `1.0.1`

**Semver bump:** `patch`
**Tag:** `libdd-trace-stats-v1.0.1`

### Commits

- feat(sidecar)!: introduce TraceData to unify text and binary data
(#1247)
- chore: add changelog for every published crate (#1396)
## libdd-data-pipeline
**Next version:** `2.0.0`

**Semver bump:** `major`
**Tag:** `libdd-data-pipeline-v2.0.0`

### Commits

- refactor(ddcommon)!: remove direct dependency on hyper client
everywhere in common (#1604)
- refactor(trace_exporter)!: remove Proxy TraceExporter input mode
(#1583)
- refactor(libdd-data-pipeline): health metrics (#1433)
- feat(data-pipeline)!: include reason for chunks dropped telemetry
(#1449)
- feat(sidecar)!: introduce TraceData to unify text and binary data
(#1247)
- chore: release libddcommon-v1.1.0 (#1456)
- chore: prepare libdd-telemetry-v2.0.0 (#1457)
- Allow submitting Vec<Vec<Span>> asynchronously (#1302)
- test(data-pipeline): handle EINTR in test_health_metrics_disabled
(#1430)
- chore: add changelog for every published crate (#1396)

[APMSP-2590]:
https://datadoghq.atlassian.net/browse/APMSP-2590?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

---------

Co-authored-by: dd-octo-sts[bot] <200755185+dd-octo-sts[bot]@users.noreply.github.com>
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.

4 participants