Skip to content

Conversation

@gyuheon0h
Copy link
Contributor

@gyuheon0h gyuheon0h commented Oct 3, 2025

What does this PR do?

With the new Errors intake, we want to support dual uploads to Errors intake and the current telemetry intake

Motivation

What inspired you to submit this pull request?

Additional Notes

Errors Intake endpoints and conditions; this was largely follows how Telemetry handles CrashInfo uploads

  1. Agent Proxy Mode
  • Endpoint: http://localhost:8126/evp_proxy/v4/api/v2/errorsintake
  • Path: /evp_proxy/v4/api/v2/errorsintake
  • When used: Default behavior - when either condition is true:
    • No DD_API_KEY is set
    • _DD_DIRECT_SUBMISSION_ENABLED is false/unset
  • Headers: X-Datadog-EVP-Subdomain: event-platform-intake
  • Authentication: No API key needed (agent handles it)
  1. Direct Errors Intake Submission
  • Endpoint: https://event-platform-intake.{site}/api/v2/errorsintake
  • Path: /api/v2/errorsintake
  • When used: When both conditions are met:
    • _DD_DIRECT_SUBMISSION_ENABLED=true
    • DD_API_KEY is set
  • Headers: DD-API-KEY: {api_key} (added automatically)
  • Default site: event-platform-intake.datad0g.com
  1. Custom Agent Host/Port
  • Endpoint: http://{host}:{port}/evp_proxy/v4/api/v2/errorsintake
  • When used: Agent proxy mode with custom location
  • Config: DD_AGENT_HOST and/or DD_TRACE_AGENT_PORT
  • Defaults: host=localhost, port=8126
  1. Unix Domain Socket (UDS)
  • Endpoint: unix:///var/run/datadog/apm.socket/evp_proxy/v4/api/v2/errorsintake
  • When used: Unix systems when socket file exists at /var/run/datadog/apm.socket
  • Priority: Used as fallback when explicit host/port not configured
  • Path: Still uses agent proxy path
  1. Windows Named Pipes
  • Endpoint: windows:{pipe_name}/evp_proxy/v4/api/v2/errorsintake
  • When used: Windows systems with DD_TRACE_PIPE_NAME set
  • Config: DD_TRACE_PIPE_NAME environment variable
  • Path: Uses agent proxy path
  1. Direct Agent URL Override
  • Endpoint: {DD_TRACE_AGENT_URL}/evp_proxy/v4/api/v2/errorsintake
  • When used: When DD_TRACE_AGENT_URL is explicitly set
  • Supports: http://, https://, unix:// schemes
  • Path: Agent proxy path appended to custom URL
  1. File Endpoint (Testing)
  • Endpoint: file://{path}.errors
  • When used: Testing/debugging with file:// URLs
  • Behavior: Writes JSON payload to file instead of HTTP request
  • File extension: Automatically appends .errors to the base path

How to test the change?

Unit tests
Run a tracer that points to the latest commit on this PR for libdatadog locally and crash a program
https://dd.datad0g.com/error-tracking?query=service%3Atest_app&fromUser=false&order=first_seen&refresh_mode=sliding&source=all&from_ts=1759843044695&to_ts=1760447844695&live=true

@pr-commenter
Copy link

pr-commenter bot commented Oct 3, 2025

Benchmarks

Comparison

Benchmark execution time: 2025-11-03 01:16:14

Comparing candidate commit d45b1fd in PR branch gyuheon0h/prof-12603-dual-uploads with baseline commit 21b4481 in branch main.

Found 2 performance improvements and 1 performance regressions! Performance is the same for 52 metrics, 2 unstable metrics.

scenario:normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo...

  • 🟩 execution_time [-9.921µs; -9.473µs] or [-5.071%; -4.841%]
  • 🟩 throughput [+260069.277op/s; +272267.690op/s] or [+5.088%; +5.327%]

scenario:redis/obfuscate_redis_string

  • 🟥 execution_time [+1.621µs; +2.013µs] or [+4.793%; +5.952%]

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 d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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.200µs 3.206µs ± 1.441µs 2.974µs ± 0.023µs 3.006µs 3.649µs 14.256µs 14.746µs 395.77% 7.285 54.387 44.84% 0.102µ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.007µs; 3.406µs] or [-6.229%; +6.229%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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.201ms 14.240ms ± 0.025ms 14.236ms ± 0.010ms 14.248ms 14.271ms 14.353ms 14.396ms 1.13% 2.962 12.699 0.18% 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.237ms; 14.244ms] or [-0.025%; +0.025%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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.572µs 185.958µs ± 0.250µs 185.929µs ± 0.150µs 186.079µs 186.301µs 186.643µs 187.774µs 0.99% 2.397 13.279 0.13% 0.018µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 5325554.473op/s 5377571.127op/s ± 7212.590op/s 5378410.148op/s ± 4327.294op/s 5382672.887op/s 5386098.390op/s 5388518.843op/s 5388737.458op/s 0.19% -2.359 12.934 0.13% 510.007op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 17.795µs 17.890µs ± 0.037µs 17.888µs ± 0.026µs 17.915µs 17.953µs 17.982µs 17.994µs 0.59% 0.236 -0.004 0.21% 0.003µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 55573016.172op/s 55897418.388op/s ± 116562.847op/s 55902873.727op/s ± 81305.723op/s 55982507.115op/s 56067193.614op/s 56153175.026op/s 56194897.126op/s 0.52% -0.224 -0.008 0.21% 8242.238op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.518µs 10.564µs ± 0.020µs 10.558µs ± 0.010µs 10.579µs 10.601µs 10.613µs 10.624µs 0.63% 0.614 0.065 0.19% 0.001µs 1 200
normalization/normalize_name/normalize_name/good throughput 94127791.051op/s 94662223.020op/s ± 175709.128op/s 94717202.283op/s ± 88940.886op/s 94776734.773op/s 94878625.613op/s 95028854.215op/s 95071590.359op/s 0.37% -0.604 0.056 0.19% 12424.512op/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.923µs; 185.993µ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 [5376571.532op/s; 5378570.723op/s] or [-0.019%; +0.019%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [17.885µs; 17.895µs] or [-0.029%; +0.029%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [55881263.899op/s; 55913572.878op/s] or [-0.029%; +0.029%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.561µs; 10.567µs] or [-0.026%; +0.026%] None None None
normalization/normalize_name/normalize_name/good throughput [94637871.425op/s; 94686574.616op/s] or [-0.026%; +0.026%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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 496.115µs 496.955µs ± 0.643µs 496.901µs ± 0.242µs 497.143µs 497.517µs 498.116µs 503.778µs 1.38% 6.663 64.509 0.13% 0.045µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1985002.206op/s 2012256.905op/s ± 2583.102op/s 2012472.410op/s ± 978.879op/s 2013431.659op/s 2014611.541op/s 2015222.963op/s 2015663.497op/s 0.16% -6.578 63.283 0.13% 182.653op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 369.873µs 370.810µs ± 0.445µs 370.775µs ± 0.239µs 371.027µs 371.331µs 372.151µs 374.508µs 1.01% 3.189 23.225 0.12% 0.031µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2670169.000op/s 2696799.307op/s ± 3221.212op/s 2697049.990op/s ± 1737.240op/s 2698628.440op/s 2700959.584op/s 2702171.753op/s 2703628.799op/s 0.24% -3.135 22.666 0.12% 227.774op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 168.433µs 168.962µs ± 0.329µs 168.864µs ± 0.163µs 169.071µs 169.616µs 169.980µs 170.372µs 0.89% 1.492 2.607 0.19% 0.023µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5869517.887op/s 5918498.934op/s ± 11503.586op/s 5921919.631op/s ± 5730.314op/s 5926536.650op/s 5930245.270op/s 5935018.971op/s 5937062.444op/s 0.26% -1.478 2.548 0.19% 813.426op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 36.178µs 36.367µs ± 0.087µs 36.360µs ± 0.061µs 36.427µs 36.517µs 36.560µs 36.561µs 0.55% 0.115 -0.505 0.24% 0.006µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 27351383.220op/s 27497921.593op/s ± 66014.462op/s 27502655.173op/s ± 46020.195op/s 27543236.343op/s 27605614.440op/s 27628477.230op/s 27641407.216op/s 0.50% -0.104 -0.508 0.24% 4667.927op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 46.214µs 46.330µs ± 0.067µs 46.316µs ± 0.040µs 46.373µs 46.441µs 46.476µs 46.648µs 0.72% 0.935 1.739 0.14% 0.005µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21437131.621op/s 21584159.773op/s ± 30942.438op/s 21590907.656op/s ± 18618.219op/s 21607150.174op/s 21624075.259op/s 21637790.065op/s 21638265.292op/s 0.22% -0.923 1.683 0.14% 2187.961op/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.866µs; 497.044µs] or [-0.018%; +0.018%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [2011898.912op/s; 2012614.898op/s] or [-0.018%; +0.018%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [370.749µs; 370.872µs] or [-0.017%; +0.017%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2696352.878op/s; 2697245.736op/s] or [-0.017%; +0.017%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [168.917µs; 169.008µs] or [-0.027%; +0.027%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5916904.647op/s; 5920093.220op/s] or [-0.027%; +0.027%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [36.354µs; 36.379µs] or [-0.033%; +0.033%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [27488772.623op/s; 27507070.562op/s] or [-0.033%; +0.033%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [46.321µs; 46.340µs] or [-0.020%; +0.020%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21579871.449op/s; 21588448.097op/s] or [-0.020%; +0.020%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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.378µs 2.414µs ± 0.020µs 2.410µs ± 0.008µs 2.426µs 2.464µs 2.469µs 2.474µs 2.67% 1.135 1.237 0.81% 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.412µs; 2.417µs] or [-0.113%; +0.113%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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.653ms 10.684ms ± 0.015ms 10.682ms ± 0.010ms 10.693ms 10.706ms 10.721ms 10.763ms 0.76% 1.138 4.168 0.14% 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.682ms; 10.686ms] or [-0.019%; +0.019%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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 239.230ns 251.327ns ± 13.495ns 245.803ns ± 4.181ns 253.894ns 286.420ns 292.575ns 296.467ns 20.61% 1.723 2.177 5.36% 0.954ns 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 [249.456ns; 253.197ns] or [-0.744%; +0.744%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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.899µs 3.915µs ± 0.003µs 3.915µs ± 0.002µs 3.917µs 3.920µs 3.922µs 3.925µs 0.25% -0.426 5.055 0.07% 0.000µs 1 200
credit_card/is_card_number/ throughput 254793292.579op/s 255418864.701op/s ± 182424.147op/s 255436479.713op/s ± 109870.185op/s 255532975.810op/s 255673815.575op/s 255733280.205op/s 256472876.110op/s 0.41% 0.441 5.124 0.07% 12899.335op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 77.919µs 79.040µs ± 0.828µs 78.964µs ± 0.694µs 79.621µs 80.344µs 80.915µs 81.057µs 2.65% 0.361 -0.959 1.04% 0.059µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12336955.804op/s 12653225.600op/s ± 132037.062op/s 12664020.847op/s ± 111904.230op/s 12777354.057op/s 12827247.704op/s 12831057.550op/s 12833801.667op/s 1.34% -0.332 -0.997 1.04% 9336.430op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 71.664µs 72.036µs ± 0.222µs 72.010µs ± 0.150µs 72.178µs 72.408µs 72.545µs 72.802µs 1.10% 0.481 -0.108 0.31% 0.016µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13735835.165op/s 13882162.006op/s ± 42667.877op/s 13886978.741op/s ± 28858.967op/s 13910392.042op/s 13945709.631op/s 13953825.661op/s 13953983.947op/s 0.48% -0.465 -0.137 0.31% 3017.074op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.898µs 3.916µs ± 0.008µs 3.916µs ± 0.002µs 3.917µs 3.920µs 3.923µs 3.992µs 1.96% 8.060 73.473 0.20% 0.001µs 1 200
credit_card/is_card_number/37828224631 throughput 250475614.242op/s 255342491.501op/s ± 503638.805op/s 255392490.398op/s ± 118302.243op/s 255509767.131op/s 255621116.387op/s 255688514.609op/s 256559166.734op/s 0.46% -7.997 72.741 0.20% 35612.641op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 68.233µs 68.560µs ± 0.296µs 68.527µs ± 0.202µs 68.676µs 69.120µs 69.607µs 69.920µs 2.03% 1.470 2.752 0.43% 0.021µs 1 200
credit_card/is_card_number/378282246310005 throughput 14302111.334op/s 14586047.092op/s ± 62523.311op/s 14592832.006op/s ± 43219.516op/s 14636634.398op/s 14647262.395op/s 14651606.352op/s 14655763.715op/s 0.43% -1.437 2.585 0.43% 4421.066op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 45.480µs 45.743µs ± 0.096µs 45.741µs ± 0.070µs 45.817µs 45.897µs 45.931µs 45.945µs 0.45% -0.108 -0.458 0.21% 0.007µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 21765236.187op/s 21861305.947op/s ± 46116.076op/s 21862142.421op/s ± 33411.046op/s 21894489.706op/s 21933291.557op/s 21971713.627op/s 21987488.216op/s 0.57% 0.118 -0.450 0.21% 3260.899op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.557µs 6.622µs ± 0.017µs 6.626µs ± 0.010µs 6.635µs 6.641µs 6.647µs 6.652µs 0.39% -1.087 1.035 0.26% 0.001µs 1 200
credit_card/is_card_number/x371413321323331 throughput 150342028.114op/s 151011443.341op/s ± 390677.969op/s 150930777.246op/s ± 233411.961op/s 151197637.618op/s 151808215.825op/s 152194983.962op/s 152511815.127op/s 1.05% 1.102 1.082 0.26% 27625.104op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.895µs 3.914µs ± 0.003µs 3.914µs ± 0.002µs 3.916µs 3.918µs 3.921µs 3.933µs 0.48% -0.108 13.256 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254261340.454op/s 255474122.505op/s ± 200271.772op/s 255470799.717op/s ± 126278.812op/s 255605155.962op/s 255729042.439op/s 255786538.482op/s 256760307.972op/s 0.50% 0.144 13.288 0.08% 14161.353op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 65.575µs 65.746µs ± 0.051µs 65.748µs ± 0.029µs 65.774µs 65.834µs 65.861µs 65.911µs 0.25% -0.074 0.924 0.08% 0.004µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15172008.933op/s 15210091.730op/s ± 11853.301op/s 15209555.617op/s ± 6738.827op/s 15217071.147op/s 15228423.214op/s 15239001.565op/s 15249803.746op/s 0.26% 0.081 0.927 0.08% 838.155op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 53.357µs 53.429µs ± 0.035µs 53.430µs ± 0.025µs 53.455µs 53.482µs 53.515µs 53.532µs 0.19% 0.101 -0.250 0.06% 0.002µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18680445.151op/s 18716317.584op/s ± 12182.278op/s 18715913.145op/s ± 8672.065op/s 18725088.415op/s 18736554.280op/s 18740089.602op/s 18741677.773op/s 0.14% -0.097 -0.253 0.06% 861.417op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.896µs 3.915µs ± 0.003µs 3.916µs ± 0.002µs 3.917µs 3.920µs 3.921µs 3.922µs 0.17% -1.231 8.130 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254958239.237op/s 255397227.182op/s ± 192623.384op/s 255388076.176op/s ± 99597.837op/s 255500817.606op/s 255666376.234op/s 255778233.808op/s 256666008.008op/s 0.50% 1.251 8.269 0.08% 13620.530op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 50.154µs 50.240µs ± 0.033µs 50.243µs ± 0.021µs 50.261µs 50.290µs 50.312µs 50.326µs 0.17% -0.206 -0.185 0.07% 0.002µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 19870555.255op/s 19904601.023op/s ± 13050.008op/s 19903429.555op/s ± 8251.281op/s 19914073.759op/s 19926030.196op/s 19935766.999op/s 19938461.931op/s 0.18% 0.210 -0.185 0.07% 922.775op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 45.502µs 45.740µs ± 0.093µs 45.737µs ± 0.070µs 45.810µs 45.893µs 45.930µs 45.944µs 0.45% -0.062 -0.601 0.20% 0.007µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 21765508.745op/s 21862795.542op/s ± 44651.416op/s 21863991.100op/s ± 33338.438op/s 21894786.308op/s 21939294.373op/s 21950909.691op/s 21977294.144op/s 0.52% 0.070 -0.600 0.20% 3157.332op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.592µs 6.633µs ± 0.010µs 6.635µs ± 0.004µs 6.639µs 6.643µs 6.647µs 6.648µs 0.20% -1.844 3.920 0.15% 0.001µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 150415949.908op/s 150771575.574op/s ± 233318.684op/s 150710808.565op/s ± 93885.172op/s 150818286.716op/s 151235701.276op/s 151686982.003op/s 151695996.401op/s 0.65% 1.855 3.973 0.15% 16498.122op/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.915µs; 3.916µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ throughput [255393582.469op/s; 255444146.933op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [78.925µs; 79.155µs] or [-0.145%; +0.145%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12634926.533op/s; 12671524.666op/s] or [-0.145%; +0.145%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [72.005µs; 72.066µs] or [-0.043%; +0.043%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13876248.649op/s; 13888075.364op/s] or [-0.043%; +0.043%] None None None
credit_card/is_card_number/37828224631 execution_time [3.915µs; 3.917µs] or [-0.028%; +0.028%] None None None
credit_card/is_card_number/37828224631 throughput [255272692.007op/s; 255412290.996op/s] or [-0.027%; +0.027%] None None None
credit_card/is_card_number/378282246310005 execution_time [68.519µs; 68.601µs] or [-0.060%; +0.060%] None None None
credit_card/is_card_number/378282246310005 throughput [14577381.962op/s; 14594712.222op/s] or [-0.059%; +0.059%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [45.730µs; 45.756µs] or [-0.029%; +0.029%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [21854914.702op/s; 21867697.191op/s] or [-0.029%; +0.029%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.620µs; 6.624µs] or [-0.036%; +0.036%] None None None
credit_card/is_card_number/x371413321323331 throughput [150957299.132op/s; 151065587.550op/s] or [-0.036%; +0.036%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.914µs; 3.915µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ throughput [255446366.764op/s; 255501878.247op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [65.739µs; 65.753µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15208448.977op/s; 15211734.484op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [53.425µs; 53.434µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18714629.237op/s; 18718005.930op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.915µs; 3.916µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255370531.434op/s; 255423922.931op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [50.235µs; 50.244µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [19902792.417op/s; 19906409.629op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [45.727µs; 45.753µs] or [-0.028%; +0.028%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [21856607.285op/s; 21868983.798op/s] or [-0.028%; +0.028%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.631µs; 6.634µs] or [-0.021%; +0.021%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [150739239.848op/s; 150803911.299op/s] or [-0.021%; +0.021%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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 59.494ms 59.943ms ± 1.955ms 59.646ms ± 0.096ms 59.767ms 60.266ms 70.672ms 78.769ms 32.06% 8.363 70.771 3.25% 0.138ms 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 [59.672ms; 60.214ms] or [-0.452%; +0.452%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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.451µs 25.177µs ± 9.794µs 17.710µs ± 0.190µs 34.581µs 43.372µs 44.749µs 61.922µs 249.65% 0.900 -0.083 38.80% 0.693µ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.820µs; 26.535µs] or [-5.391%; +5.391%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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 7.958ms 8.312ms ± 0.072ms 8.295ms ± 0.027ms 8.344ms 8.436ms 8.500ms 8.550ms 3.07% -0.332 5.526 0.86% 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 [8.302ms; 8.322ms] or [-0.120%; +0.120%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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.846µs 86.049µs ± 0.181µs 86.026µs ± 0.059µs 86.091µs 86.181µs 86.520µs 88.155µs 2.47% 8.237 91.069 0.21% 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 [86.024µs; 86.074µs] or [-0.029%; +0.029%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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 35.126µs 35.633µs ± 0.852µs 35.232µs ± 0.039µs 35.359µs 37.457µs 37.503µs 38.299µs 8.70% 1.712 1.031 2.39% 0.060µ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.515µs; 35.751µs] or [-0.331%; +0.331%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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 162.221µs 163.058µs ± 0.305µs 163.042µs ± 0.133µs 163.190µs 163.493µs 163.736µs 165.296µs 1.38% 1.795 14.010 0.19% 0.022µ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 [163.015µs; 163.100µs] or [-0.026%; +0.026%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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.991µs 5.054µs ± 0.040µs 5.036µs ± 0.020µs 5.087µs 5.120µs 5.124µs 5.146µs 2.17% 0.563 -1.162 0.78% 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.060µs] or [-0.108%; +0.108%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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 172.631ns 176.222ns ± 3.007ns 175.758ns ± 1.421ns 177.329ns 181.429ns 188.024ns 190.374ns 8.32% 1.820 4.762 1.70% 0.213ns 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 [175.805ns; 176.639ns] or [-0.237%; +0.237%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz d45b1fd 1762131772 gyuheon0h/prof-12603-dual-uploads
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 120.928µs 122.392µs ± 1.211µs 122.179µs ± 0.385µs 122.624µs 123.715µs 126.777µs 133.638µs 9.38% 5.326 41.166 0.99% 0.086µ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 [122.224µs; 122.560µs] or [-0.137%; +0.137%] None None None

Baseline

Omitted due to size.

@codecov-commenter
Copy link

codecov-commenter commented Oct 3, 2025

Codecov Report

❌ Patch coverage is 81.78244% with 139 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.21%. Comparing base (c55d7fd) to head (d45b1fd).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1259      +/-   ##
==========================================
+ Coverage   72.11%   72.21%   +0.10%     
==========================================
  Files         368      370       +2     
  Lines       58111    58952     +841     
==========================================
+ Hits        41907    42575     +668     
- Misses      16204    16377     +173     
Components Coverage Δ
datadog-crashtracker 55.45% <81.78%> (+4.81%) ⬆️
datadog-crashtracker-ffi 5.86% <ø> (ø)
datadog-alloc 98.73% <ø> (ø)
data-pipeline 88.19% <ø> (ø)
data-pipeline-ffi 88.19% <ø> (ø)
ddcommon 80.98% <ø> (+0.02%) ⬆️
ddcommon-ffi 73.84% <ø> (ø)
ddtelemetry 59.98% <ø> (-0.04%) ⬇️
ddtelemetry-ffi 21.24% <ø> (ø)
dogstatsd-client 83.26% <ø> (ø)
datadog-ipc 82.39% <ø> (-0.11%) ⬇️
datadog-profiling 76.50% <ø> (-0.40%) ⬇️
datadog-profiling-ffi 62.11% <ø> (-0.01%) ⬇️
datadog-sidecar 37.62% <ø> (ø)
datdog-sidecar-ffi 15.88% <ø> (ø)
spawn-worker 55.18% <ø> (ø)
tinybytes 92.44% <ø> (ø)
datadog-trace-normalization 98.24% <ø> (ø)
datadog-trace-obfuscation 94.17% <ø> (ø)
datadog-trace-protobuf 59.65% <ø> (ø)
datadog-trace-utils 90.19% <ø> (ø)
datadog-tracer-flare 64.98% <ø> (ø)
datadog-log 75.57% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Oct 3, 2025

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: d45b1fd | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@dd-octo-sts
Copy link

dd-octo-sts bot commented Oct 3, 2025

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 71.36 MB 71.61 MB +.34% (+250.64 KB) 🔍
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 7.25 MB 7.25 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 83.71 MB 84.07 MB +.42% (+367.71 KB) 🔍
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.20 MB 9.28 MB +.80% (+76.03 KB) 🔍
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 18.61 MB 18.69 MB +.39% (+75.00 KB) 🔍
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 65.77 KB 65.77 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 131.06 MB 131.43 MB +.28% (+376.00 KB) 🔍
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 692.06 MB 698.47 MB +.92% (+6.40 MB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 5.93 MB 5.97 MB +.62% (+38.00 KB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 65.77 KB 65.77 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 17.51 MB 17.58 MB +.40% (+72.00 KB) 🔍
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 32.46 MB 32.62 MB +.48% (+160.91 KB) 🔍
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 15.85 MB 15.91 MB +.43% (+70.50 KB) 🔍
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 66.79 KB 66.79 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 133.16 MB 133.55 MB +.29% (+400.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 680.68 MB 687.08 MB +.94% (+6.39 MB) 🔍
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 4.54 MB 4.57 MB +.53% (+25.00 KB) 🔍
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 66.79 KB 66.79 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 18.66 MB 18.73 MB +.41% (+80.00 KB) 🔍
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 30.52 MB 30.66 MB +.47% (+149.48 KB) 🔍
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 63.98 MB 64.20 MB +.34% (+227.08 KB) 🔍
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 8.56 MB 8.59 MB +.36% (+32.00 KB) 🔍
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 78.42 MB 78.74 MB +.40% (+323.65 KB) 🔍
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.91 MB 9.94 MB +.36% (+37.17 KB) 🔍

@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12603-dual-uploads branch from 7a55094 to d42530c Compare October 6, 2025 17:45
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12603-dual-uploads branch from 74a5f22 to 9e55d5f Compare October 7, 2025 14:46
@gyuheon0h gyuheon0h marked this pull request as ready for review October 7, 2025 14:47
@gyuheon0h gyuheon0h requested a review from a team as a code owner October 7, 2025 14:47
@gyuheon0h gyuheon0h changed the title [crashtracking] upload to both telemetry intake and errors intake [WIP] upload to both telemetry intake and errors intake Oct 7, 2025
@gyuheon0h gyuheon0h changed the title [WIP] upload to both telemetry intake and errors intake [WIP][crashtracking] upload to both telemetry intake and errors intake Oct 7, 2025
@gyuheon0h gyuheon0h requested a review from a team as a code owner October 7, 2025 17:22
@gyuheon0h gyuheon0h changed the title [WIP][crashtracking] upload to both telemetry intake and errors intake [crashtracking] upload to both telemetry intake and errors intake Oct 7, 2025
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12603-dual-uploads branch 3 times, most recently from fca11ec to af27f4b Compare October 14, 2025 12:35
@gyuheon0h gyuheon0h requested a review from gleocadie October 14, 2025 13:17
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12603-dual-uploads branch 3 times, most recently from 23cc5f8 to d8a46d6 Compare October 20, 2025 12:52
@gyuheon0h
Copy link
Contributor Author

TODOs:

  1. Update hardcoded staging vars after done with testing
  2. Add test to confirm that a failed request doesn't interfere with other requests

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12603-dual-uploads branch 2 times, most recently from d39b44b to 7211c87 Compare October 27, 2025 13:53
@gyuheon0h
Copy link
Contributor Author

TODO: Needs to be a flag for the whole feat.

Copy link
Member

@GianlucaBortoli GianlucaBortoli left a comment

Choose a reason for hiding this comment

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

LGTM after this tiny change

@github-actions github-actions bot removed the common label Oct 31, 2025
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12603-dual-uploads branch 2 times, most recently from fb5b7bb to e58f1f4 Compare October 31, 2025 16:51
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12603-dual-uploads branch 24 times, most recently from ec87afc to c235ddf Compare November 3, 2025 00:45
@gyuheon0h gyuheon0h force-pushed the gyuheon0h/prof-12603-dual-uploads branch from c235ddf to d45b1fd Compare November 3, 2025 01:03
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.

5 participants