Skip to content

feat: add capped sampling rate increases#10715

Open
raphaelgavache wants to merge 2 commits intomasterfrom
raphael/sampling_capped_increase
Open

feat: add capped sampling rate increases#10715
raphaelgavache wants to merge 2 commits intomasterfrom
raphael/sampling_capped_increase

Conversation

@raphaelgavache
Copy link
Member

@raphaelgavache raphaelgavache commented Mar 2, 2026

When the trace-agent is restarted, a rate of 100% is initially provided by the trace-agent, increasing dramatically the number of traces sampled. A rate could go suddenly from 0.1% to 100% and back to 0.1% when the trace-agent eventually computes the new sampling rate.

Passing system tests with link to RFC

In particular it is observed that when the agent restarts, the payload buffering that waits for new container tags breaches its memory limit and we send spans without container tags.

This PR applies a limit of sampling rate increases of x2 every 1s resulting in a x10 completed every 3-4s
1->100% takes 7s
0.1 -> 100% takes 10s

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

@pr-commenter
Copy link

pr-commenter bot commented Mar 2, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master raphael/sampling_capped_increase
git_commit_date 1772465864 1772749097
git_commit_sha 1c44c6f 866193c
release_version 1.60.0-SNAPSHOT~1c44c6f9a7 1.60.0-SNAPSHOT~866193c877
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1772750973 1772750973
ci_job_id 1481450551 1481450551
ci_pipeline_id 100779345 100779345
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-rd3pgtuy 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-rd3pgtuy 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None

Summary

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

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.60.0-SNAPSHOT~866193c877, baseline=1.60.0-SNAPSHOT~1c44c6f9a7

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.066 s) : 0, 1065542
Total [baseline] (10.934 s) : 0, 10934382
Agent [candidate] (1.075 s) : 0, 1074851
Total [candidate] (10.904 s) : 0, 10904200
section appsec
Agent [baseline] (1.242 s) : 0, 1242076
Total [baseline] (10.944 s) : 0, 10944360
Agent [candidate] (1.245 s) : 0, 1244931
Total [candidate] (10.942 s) : 0, 10941886
section iast
Agent [baseline] (1.23 s) : 0, 1230268
Total [baseline] (11.155 s) : 0, 11155303
Agent [candidate] (1.238 s) : 0, 1238438
Total [candidate] (11.166 s) : 0, 11166284
section profiling
Agent [baseline] (1.192 s) : 0, 1192466
Total [baseline] (10.921 s) : 0, 10921327
Agent [candidate] (1.194 s) : 0, 1194406
Total [candidate] (10.956 s) : 0, 10956416
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.066 s -
Agent appsec 1.242 s 176.533 ms (16.6%)
Agent iast 1.23 s 164.726 ms (15.5%)
Agent profiling 1.192 s 126.924 ms (11.9%)
Total tracing 10.934 s -
Total appsec 10.944 s 9.978 ms (0.1%)
Total iast 11.155 s 220.921 ms (2.0%)
Total profiling 10.921 s -13.055 ms (-0.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.075 s -
Agent appsec 1.245 s 170.08 ms (15.8%)
Agent iast 1.238 s 163.587 ms (15.2%)
Agent profiling 1.194 s 119.555 ms (11.1%)
Total tracing 10.904 s -
Total appsec 10.942 s 37.686 ms (0.3%)
Total iast 11.166 s 262.084 ms (2.4%)
Total profiling 10.956 s 52.216 ms (0.5%)
gantt
    title petclinic - break down per module: candidate=1.60.0-SNAPSHOT~866193c877, baseline=1.60.0-SNAPSHOT~1c44c6f9a7

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.2 ms) : 0, 1200
crashtracking [candidate] (1.19 ms) : 0, 1190
BytebuddyAgent [baseline] (627.73 ms) : 0, 627730
BytebuddyAgent [candidate] (632.288 ms) : 0, 632288
AgentMeter [baseline] (29.108 ms) : 0, 29108
AgentMeter [candidate] (29.36 ms) : 0, 29360
GlobalTracer [baseline] (258.184 ms) : 0, 258184
GlobalTracer [candidate] (260.379 ms) : 0, 260379
AppSec [baseline] (32.881 ms) : 0, 32881
AppSec [candidate] (33.214 ms) : 0, 33214
Debugger [baseline] (64.567 ms) : 0, 64567
Debugger [candidate] (66.309 ms) : 0, 66309
Remote Config [baseline] (615.172 µs) : 0, 615
Remote Config [candidate] (621.198 µs) : 0, 621
Telemetry [baseline] (10.594 ms) : 0, 10594
Telemetry [candidate] (10.713 ms) : 0, 10713
Flare Poller [baseline] (4.532 ms) : 0, 4532
Flare Poller [candidate] (4.438 ms) : 0, 4438
section appsec
crashtracking [baseline] (1.19 ms) : 0, 1190
crashtracking [candidate] (1.188 ms) : 0, 1188
BytebuddyAgent [baseline] (659.364 ms) : 0, 659364
BytebuddyAgent [candidate] (661.181 ms) : 0, 661181
AgentMeter [baseline] (12.027 ms) : 0, 12027
AgentMeter [candidate] (12.031 ms) : 0, 12031
GlobalTracer [baseline] (259.087 ms) : 0, 259087
GlobalTracer [candidate] (260.311 ms) : 0, 260311
AppSec [baseline] (168.426 ms) : 0, 168426
AppSec [candidate] (168.024 ms) : 0, 168024
Debugger [baseline] (66.768 ms) : 0, 66768
Debugger [candidate] (67.029 ms) : 0, 67029
Remote Config [baseline] (677.568 µs) : 0, 678
Remote Config [candidate] (649.786 µs) : 0, 650
Telemetry [baseline] (9.403 ms) : 0, 9403
Telemetry [candidate] (9.162 ms) : 0, 9162
Flare Poller [baseline] (3.757 ms) : 0, 3757
Flare Poller [candidate] (3.647 ms) : 0, 3647
IAST [baseline] (25.275 ms) : 0, 25275
IAST [candidate] (25.621 ms) : 0, 25621
section iast
crashtracking [baseline] (1.201 ms) : 0, 1201
crashtracking [candidate] (1.229 ms) : 0, 1229
BytebuddyAgent [baseline] (794.113 ms) : 0, 794113
BytebuddyAgent [candidate] (800.406 ms) : 0, 800406
AgentMeter [baseline] (11.278 ms) : 0, 11278
AgentMeter [candidate] (11.31 ms) : 0, 11310
GlobalTracer [baseline] (247.397 ms) : 0, 247397
GlobalTracer [candidate] (248.384 ms) : 0, 248384
AppSec [baseline] (32.301 ms) : 0, 32301
AppSec [candidate] (33.423 ms) : 0, 33423
Debugger [baseline] (68.277 ms) : 0, 68277
Debugger [candidate] (67.699 ms) : 0, 67699
Remote Config [baseline] (535.046 µs) : 0, 535
Remote Config [candidate] (553.596 µs) : 0, 554
Telemetry [baseline] (8.683 ms) : 0, 8683
Telemetry [candidate] (8.635 ms) : 0, 8635
Flare Poller [baseline] (3.424 ms) : 0, 3424
Flare Poller [candidate] (3.49 ms) : 0, 3490
IAST [baseline] (27.168 ms) : 0, 27168
IAST [candidate] (27.107 ms) : 0, 27107
section profiling
crashtracking [baseline] (1.163 ms) : 0, 1163
crashtracking [candidate] (1.164 ms) : 0, 1164
BytebuddyAgent [baseline] (683.57 ms) : 0, 683570
BytebuddyAgent [candidate] (684.238 ms) : 0, 684238
AgentMeter [baseline] (8.579 ms) : 0, 8579
AgentMeter [candidate] (8.625 ms) : 0, 8625
GlobalTracer [baseline] (216.365 ms) : 0, 216365
GlobalTracer [candidate] (218.406 ms) : 0, 218406
AppSec [baseline] (32.461 ms) : 0, 32461
AppSec [candidate] (32.695 ms) : 0, 32695
Debugger [baseline] (67.074 ms) : 0, 67074
Debugger [candidate] (67.104 ms) : 0, 67104
Remote Config [baseline] (623.312 µs) : 0, 623
Remote Config [candidate] (604.96 µs) : 0, 605
Telemetry [baseline] (8.91 ms) : 0, 8910
Telemetry [candidate] (8.839 ms) : 0, 8839
Flare Poller [baseline] (3.773 ms) : 0, 3773
Flare Poller [candidate] (3.75 ms) : 0, 3750
ProfilingAgent [baseline] (99.147 ms) : 0, 99147
ProfilingAgent [candidate] (98.036 ms) : 0, 98036
Profiling [baseline] (99.729 ms) : 0, 99729
Profiling [candidate] (98.612 ms) : 0, 98612
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.60.0-SNAPSHOT~866193c877, baseline=1.60.0-SNAPSHOT~1c44c6f9a7

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.069 s) : 0, 1069431
Total [baseline] (8.731 s) : 0, 8730665
Agent [candidate] (1.066 s) : 0, 1065833
Total [candidate] (8.774 s) : 0, 8773860
section iast
Agent [baseline] (1.23 s) : 0, 1230321
Total [baseline] (9.35 s) : 0, 9350099
Agent [candidate] (1.235 s) : 0, 1234574
Total [candidate] (9.378 s) : 0, 9377964
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.069 s -
Agent iast 1.23 s 160.89 ms (15.0%)
Total tracing 8.731 s -
Total iast 9.35 s 619.434 ms (7.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.066 s -
Agent iast 1.235 s 168.74 ms (15.8%)
Total tracing 8.774 s -
Total iast 9.378 s 604.104 ms (6.9%)
gantt
    title insecure-bank - break down per module: candidate=1.60.0-SNAPSHOT~866193c877, baseline=1.60.0-SNAPSHOT~1c44c6f9a7

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.194 ms) : 0, 1194
crashtracking [candidate] (1.206 ms) : 0, 1206
BytebuddyAgent [baseline] (632.007 ms) : 0, 632007
BytebuddyAgent [candidate] (628.102 ms) : 0, 628102
AgentMeter [baseline] (29.248 ms) : 0, 29248
AgentMeter [candidate] (29.097 ms) : 0, 29097
GlobalTracer [baseline] (258.598 ms) : 0, 258598
GlobalTracer [candidate] (258.876 ms) : 0, 258876
AppSec [baseline] (33.359 ms) : 0, 33359
AppSec [candidate] (33.086 ms) : 0, 33086
Debugger [baseline] (63.574 ms) : 0, 63574
Debugger [candidate] (64.991 ms) : 0, 64991
Remote Config [baseline] (629.476 µs) : 0, 629
Remote Config [candidate] (615.755 µs) : 0, 616
Telemetry [baseline] (9.949 ms) : 0, 9949
Telemetry [candidate] (9.201 ms) : 0, 9201
Flare Poller [baseline] (4.666 ms) : 0, 4666
Flare Poller [candidate] (4.5 ms) : 0, 4500
section iast
crashtracking [baseline] (1.196 ms) : 0, 1196
crashtracking [candidate] (1.189 ms) : 0, 1189
BytebuddyAgent [baseline] (795.205 ms) : 0, 795205
BytebuddyAgent [candidate] (797.283 ms) : 0, 797283
AgentMeter [baseline] (11.297 ms) : 0, 11297
AgentMeter [candidate] (11.322 ms) : 0, 11322
GlobalTracer [baseline] (247.656 ms) : 0, 247656
GlobalTracer [candidate] (248.992 ms) : 0, 248992
AppSec [baseline] (33.045 ms) : 0, 33045
AppSec [candidate] (33.158 ms) : 0, 33158
Debugger [baseline] (66.453 ms) : 0, 66453
Debugger [candidate] (66.823 ms) : 0, 66823
Remote Config [baseline] (543.972 µs) : 0, 544
Remote Config [candidate] (547.02 µs) : 0, 547
Telemetry [baseline] (8.564 ms) : 0, 8564
Telemetry [candidate] (8.612 ms) : 0, 8612
Flare Poller [baseline] (3.455 ms) : 0, 3455
Flare Poller [candidate] (3.475 ms) : 0, 3475
IAST [baseline] (26.9 ms) : 0, 26900
IAST [candidate] (27.132 ms) : 0, 27132
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master raphael/sampling_capped_increase
git_commit_date 1772465864 1772749097
git_commit_sha 1c44c6f 866193c
release_version 1.60.0-SNAPSHOT~1c44c6f9a7 1.60.0-SNAPSHOT~866193c877
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1772751363 1772751363
ci_job_id 1481450552 1481450552
ci_pipeline_id 100779345 100779345
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-jkakul5g 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-jkakul5g 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

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

Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~866193c877, baseline=1.60.0-SNAPSHOT~1c44c6f9a7
    dateFormat X
    axisFormat %s
section baseline
no_agent (17.278 ms) : 17106, 17449
.   : milestone, 17278,
appsec (18.692 ms) : 18503, 18880
.   : milestone, 18692,
code_origins (17.814 ms) : 17635, 17992
.   : milestone, 17814,
iast (17.742 ms) : 17566, 17917
.   : milestone, 17742,
profiling (19.224 ms) : 19029, 19420
.   : milestone, 19224,
tracing (17.699 ms) : 17524, 17874
.   : milestone, 17699,
section candidate
no_agent (18.072 ms) : 17888, 18257
.   : milestone, 18072,
appsec (18.638 ms) : 18446, 18830
.   : milestone, 18638,
code_origins (17.986 ms) : 17806, 18166
.   : milestone, 17986,
iast (18.046 ms) : 17864, 18227
.   : milestone, 18046,
profiling (18.62 ms) : 18435, 18805
.   : milestone, 18620,
tracing (17.518 ms) : 17343, 17692
.   : milestone, 17518,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 17.278 ms [17.106 ms, 17.449 ms] -
appsec 18.692 ms [18.503 ms, 18.88 ms] 1.414 ms (8.2%)
code_origins 17.814 ms [17.635 ms, 17.992 ms] 536.102 µs (3.1%)
iast 17.742 ms [17.566 ms, 17.917 ms] 464.261 µs (2.7%)
profiling 19.224 ms [19.029 ms, 19.42 ms] 1.947 ms (11.3%)
tracing 17.699 ms [17.524 ms, 17.874 ms] 421.694 µs (2.4%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.072 ms [17.888 ms, 18.257 ms] -
appsec 18.638 ms [18.446 ms, 18.83 ms] 565.33 µs (3.1%)
code_origins 17.986 ms [17.806 ms, 18.166 ms] -86.357 µs (-0.5%)
iast 18.046 ms [17.864 ms, 18.227 ms] -26.711 µs (-0.1%)
profiling 18.62 ms [18.435 ms, 18.805 ms] 547.676 µs (3.0%)
tracing 17.518 ms [17.343 ms, 17.692 ms] -554.828 µs (-3.1%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~866193c877, baseline=1.60.0-SNAPSHOT~1c44c6f9a7
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.182 ms) : 1170, 1193
.   : milestone, 1182,
iast (3.213 ms) : 3170, 3256
.   : milestone, 3213,
iast_FULL (5.852 ms) : 5792, 5911
.   : milestone, 5852,
iast_GLOBAL (3.657 ms) : 3591, 3722
.   : milestone, 3657,
profiling (2.199 ms) : 2179, 2219
.   : milestone, 2199,
tracing (1.754 ms) : 1740, 1768
.   : milestone, 1754,
section candidate
no_agent (1.176 ms) : 1164, 1188
.   : milestone, 1176,
iast (3.214 ms) : 3172, 3255
.   : milestone, 3214,
iast_FULL (5.927 ms) : 5867, 5987
.   : milestone, 5927,
iast_GLOBAL (3.693 ms) : 3629, 3757
.   : milestone, 3693,
profiling (2.096 ms) : 2077, 2115
.   : milestone, 2096,
tracing (1.778 ms) : 1762, 1794
.   : milestone, 1778,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.182 ms [1.17 ms, 1.193 ms] -
iast 3.213 ms [3.17 ms, 3.256 ms] 2.031 ms (171.9%)
iast_FULL 5.852 ms [5.792 ms, 5.911 ms] 4.67 ms (395.3%)
iast_GLOBAL 3.657 ms [3.591 ms, 3.722 ms] 2.475 ms (209.5%)
profiling 2.199 ms [2.179 ms, 2.219 ms] 1.017 ms (86.1%)
tracing 1.754 ms [1.74 ms, 1.768 ms] 572.495 µs (48.5%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.176 ms [1.164 ms, 1.188 ms] -
iast 3.214 ms [3.172 ms, 3.255 ms] 2.038 ms (173.2%)
iast_FULL 5.927 ms [5.867 ms, 5.987 ms] 4.751 ms (404.0%)
iast_GLOBAL 3.693 ms [3.629 ms, 3.757 ms] 2.517 ms (214.0%)
profiling 2.096 ms [2.077 ms, 2.115 ms] 920.084 µs (78.2%)
tracing 1.778 ms [1.762 ms, 1.794 ms] 601.427 µs (51.1%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master raphael/sampling_capped_increase
git_commit_date 1772465864 1772749097
git_commit_sha 1c44c6f 866193c
release_version 1.60.0-SNAPSHOT~1c44c6f9a7 1.60.0-SNAPSHOT~866193c877
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1772751155 1772751155
ci_job_id 1481450554 1481450554
ci_pipeline_id 100779345 100779345
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-69kt9dk3 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-69kt9dk3 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

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

Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~866193c877, baseline=1.60.0-SNAPSHOT~1c44c6f9a7
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.089 s) : 15089000, 15089000
.   : milestone, 15089000,
appsec (14.945 s) : 14945000, 14945000
.   : milestone, 14945000,
iast (18.438 s) : 18438000, 18438000
.   : milestone, 18438000,
iast_GLOBAL (17.825 s) : 17825000, 17825000
.   : milestone, 17825000,
profiling (14.863 s) : 14863000, 14863000
.   : milestone, 14863000,
tracing (14.767 s) : 14767000, 14767000
.   : milestone, 14767000,
section candidate
no_agent (15.517 s) : 15517000, 15517000
.   : milestone, 15517000,
appsec (15.127 s) : 15127000, 15127000
.   : milestone, 15127000,
iast (17.638 s) : 17638000, 17638000
.   : milestone, 17638000,
iast_GLOBAL (17.781 s) : 17781000, 17781000
.   : milestone, 17781000,
profiling (14.966 s) : 14966000, 14966000
.   : milestone, 14966000,
tracing (14.627 s) : 14627000, 14627000
.   : milestone, 14627000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.089 s [15.089 s, 15.089 s] -
appsec 14.945 s [14.945 s, 14.945 s] -144.0 ms (-1.0%)
iast 18.438 s [18.438 s, 18.438 s] 3.349 s (22.2%)
iast_GLOBAL 17.825 s [17.825 s, 17.825 s] 2.736 s (18.1%)
profiling 14.863 s [14.863 s, 14.863 s] -226.0 ms (-1.5%)
tracing 14.767 s [14.767 s, 14.767 s] -322.0 ms (-2.1%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.517 s [15.517 s, 15.517 s] -
appsec 15.127 s [15.127 s, 15.127 s] -390.0 ms (-2.5%)
iast 17.638 s [17.638 s, 17.638 s] 2.121 s (13.7%)
iast_GLOBAL 17.781 s [17.781 s, 17.781 s] 2.264 s (14.6%)
profiling 14.966 s [14.966 s, 14.966 s] -551.0 ms (-3.6%)
tracing 14.627 s [14.627 s, 14.627 s] -890.0 ms (-5.7%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~866193c877, baseline=1.60.0-SNAPSHOT~1c44c6f9a7
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.476 ms) : 1464, 1487
.   : milestone, 1476,
appsec (3.793 ms) : 3570, 4017
.   : milestone, 3793,
iast (2.257 ms) : 2188, 2327
.   : milestone, 2257,
iast_GLOBAL (2.297 ms) : 2227, 2366
.   : milestone, 2297,
profiling (2.073 ms) : 2018, 2128
.   : milestone, 2073,
tracing (2.076 ms) : 2022, 2130
.   : milestone, 2076,
section candidate
no_agent (1.482 ms) : 1470, 1494
.   : milestone, 1482,
appsec (3.7 ms) : 3483, 3916
.   : milestone, 3700,
iast (2.246 ms) : 2178, 2315
.   : milestone, 2246,
iast_GLOBAL (2.3 ms) : 2231, 2370
.   : milestone, 2300,
profiling (2.11 ms) : 2053, 2166
.   : milestone, 2110,
tracing (2.056 ms) : 2003, 2110
.   : milestone, 2056,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.476 ms [1.464 ms, 1.487 ms] -
appsec 3.793 ms [3.57 ms, 4.017 ms] 2.318 ms (157.1%)
iast 2.257 ms [2.188 ms, 2.327 ms] 781.625 µs (53.0%)
iast_GLOBAL 2.297 ms [2.227 ms, 2.366 ms] 820.926 µs (55.6%)
profiling 2.073 ms [2.018 ms, 2.128 ms] 597.113 µs (40.5%)
tracing 2.076 ms [2.022 ms, 2.13 ms] 600.355 µs (40.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.482 ms [1.47 ms, 1.494 ms] -
appsec 3.7 ms [3.483 ms, 3.916 ms] 2.218 ms (149.6%)
iast 2.246 ms [2.178 ms, 2.315 ms] 764.438 µs (51.6%)
iast_GLOBAL 2.3 ms [2.231 ms, 2.37 ms] 818.323 µs (55.2%)
profiling 2.11 ms [2.053 ms, 2.166 ms] 627.713 µs (42.4%)
tracing 2.056 ms [2.003 ms, 2.11 ms] 574.469 µs (38.8%)

@raphaelgavache raphaelgavache changed the title feat sampling: Add capped sampling rate increases feat: add capped sampling rate increases Mar 2, 2026
@raphaelgavache raphaelgavache added type: enhancement Enhancements and improvements comp: core Tracer core and removed type: enhancement Enhancements and improvements labels Mar 5, 2026
@raphaelgavache raphaelgavache marked this pull request as ready for review March 5, 2026 18:40
@raphaelgavache raphaelgavache requested a review from a team as a code owner March 5, 2026 18:40
@raphaelgavache raphaelgavache requested a review from mcculls March 5, 2026 18:40
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Hi! 👋 Thanks for your pull request! 🎉

To help us review it, please make sure to:

  • Add at least one type, and one component or instrumentation label to the pull request

If you need help, please check our contributing guidelines.

@amarziali amarziali added the type: enhancement Enhancements and improvements label Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: core Tracer core type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants