Skip to content

Conversation

@amarziali
Copy link
Contributor

What Does This Do

Use DD_TRACE_STATS_COMPUTATION_ENABLED as preferred configuration key for client stat computation (works across tracers)

Add the old one (DD_TRACE_TRACER_METRICS_ENABLED) as an alias for backward compatibility

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@amarziali amarziali requested a review from a team as a code owner July 17, 2025 12:27
@amarziali amarziali added the type: enhancement Enhancements and improvements label Jul 17, 2025
@amarziali amarziali requested a review from dougqh July 17, 2025 12:27
@amarziali amarziali added the comp: metrics Metrics label Jul 17, 2025
@amarziali amarziali requested a review from bric3 July 17, 2025 12:27
@amarziali amarziali enabled auto-merge (squash) July 17, 2025 12:35
@pr-commenter
Copy link

pr-commenter bot commented Jul 17, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/client-stats-alias
git_commit_date 1752742917 1752755102
git_commit_sha 847275b 2ae9e73
release_version 1.52.0-SNAPSHOT~847275bcc2 1.52.0-SNAPSHOT~2ae9e73da5
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1752756862 1752756862
ci_job_id 1033651765 1033651765
ci_pipeline_id 70846298 70846298
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-ky3ka8eq 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-ky3ka8eq 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 49 metrics, 10 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.52.0-SNAPSHOT~2ae9e73da5, baseline=1.52.0-SNAPSHOT~847275bcc2

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.04 s) : 0, 1039670
Total [baseline] (8.663 s) : 0, 8662657
Agent [candidate] (1.041 s) : 0, 1041109
Total [candidate] (8.628 s) : 0, 8627989
section iast
Agent [baseline] (1.183 s) : 0, 1182869
Total [baseline] (9.278 s) : 0, 9277986
Agent [candidate] (1.177 s) : 0, 1176703
Total [candidate] (9.286 s) : 0, 9285976
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.04 s -
Agent iast 1.183 s 143.198 ms (13.8%)
Total tracing 8.663 s -
Total iast 9.278 s 615.329 ms (7.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.041 s -
Agent iast 1.177 s 135.594 ms (13.0%)
Total tracing 8.628 s -
Total iast 9.286 s 657.987 ms (7.6%)
gantt
    title insecure-bank - break down per module: candidate=1.52.0-SNAPSHOT~2ae9e73da5, baseline=1.52.0-SNAPSHOT~847275bcc2

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.445 ms) : 0, 1445
crashtracking [candidate] (1.438 ms) : 0, 1438
BytebuddyAgent [baseline] (729.752 ms) : 0, 729752
BytebuddyAgent [candidate] (731.459 ms) : 0, 731459
GlobalTracer [baseline] (241.295 ms) : 0, 241295
GlobalTracer [candidate] (241.641 ms) : 0, 241641
AppSec [baseline] (30.531 ms) : 0, 30531
AppSec [candidate] (30.595 ms) : 0, 30595
Debugger [baseline] (6.036 ms) : 0, 6036
Debugger [candidate] (6.05 ms) : 0, 6050
Remote Config [baseline] (654.697 µs) : 0, 655
Remote Config [candidate] (651.186 µs) : 0, 651
Telemetry [baseline] (8.998 ms) : 0, 8998
Telemetry [candidate] (8.255 ms) : 0, 8255
section iast
crashtracking [baseline] (1.456 ms) : 0, 1456
crashtracking [candidate] (1.436 ms) : 0, 1436
BytebuddyAgent [baseline] (855.777 ms) : 0, 855777
BytebuddyAgent [candidate] (849.634 ms) : 0, 849634
GlobalTracer [baseline] (232.418 ms) : 0, 232418
GlobalTracer [candidate] (232.339 ms) : 0, 232339
AppSec [baseline] (27.352 ms) : 0, 27352
AppSec [candidate] (28.277 ms) : 0, 28277
Debugger [baseline] (6.645 ms) : 0, 6645
Debugger [candidate] (6.594 ms) : 0, 6594
Remote Config [baseline] (578.585 µs) : 0, 579
Remote Config [candidate] (596.773 µs) : 0, 597
Telemetry [baseline] (7.916 ms) : 0, 7916
Telemetry [candidate] (7.934 ms) : 0, 7934
IAST [baseline] (29.789 ms) : 0, 29789
IAST [candidate] (29.005 ms) : 0, 29005
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.52.0-SNAPSHOT~2ae9e73da5, baseline=1.52.0-SNAPSHOT~847275bcc2

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.054 s) : 0, 1053898
Total [baseline] (10.629 s) : 0, 10628872
Agent [candidate] (1.048 s) : 0, 1047518
Total [candidate] (10.699 s) : 0, 10698684
section appsec
Agent [baseline] (1.222 s) : 0, 1221546
Total [baseline] (10.803 s) : 0, 10803144
Agent [candidate] (1.222 s) : 0, 1221807
Total [candidate] (10.825 s) : 0, 10825366
section iast
Agent [baseline] (1.172 s) : 0, 1172170
Total [baseline] (10.964 s) : 0, 10964029
Agent [candidate] (1.193 s) : 0, 1193289
Total [candidate] (10.946 s) : 0, 10946316
section profiling
Agent [baseline] (1.185 s) : 0, 1184981
Total [baseline] (10.95 s) : 0, 10949893
Agent [candidate] (1.185 s) : 0, 1184689
Total [candidate] (10.879 s) : 0, 10879135
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.054 s -
Agent appsec 1.222 s 167.647 ms (15.9%)
Agent iast 1.172 s 118.271 ms (11.2%)
Agent profiling 1.185 s 131.082 ms (12.4%)
Total tracing 10.629 s -
Total appsec 10.803 s 174.272 ms (1.6%)
Total iast 10.964 s 335.157 ms (3.2%)
Total profiling 10.95 s 321.021 ms (3.0%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.048 s -
Agent appsec 1.222 s 174.289 ms (16.6%)
Agent iast 1.193 s 145.771 ms (13.9%)
Agent profiling 1.185 s 137.171 ms (13.1%)
Total tracing 10.699 s -
Total appsec 10.825 s 126.682 ms (1.2%)
Total iast 10.946 s 247.632 ms (2.3%)
Total profiling 10.879 s 180.451 ms (1.7%)
gantt
    title petclinic - break down per module: candidate=1.52.0-SNAPSHOT~2ae9e73da5, baseline=1.52.0-SNAPSHOT~847275bcc2

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.464 ms) : 0, 1464
crashtracking [candidate] (1.443 ms) : 0, 1443
BytebuddyAgent [baseline] (740.899 ms) : 0, 740899
BytebuddyAgent [candidate] (736.037 ms) : 0, 736037
GlobalTracer [baseline] (244.249 ms) : 0, 244249
GlobalTracer [candidate] (243.249 ms) : 0, 243249
AppSec [baseline] (30.925 ms) : 0, 30925
AppSec [candidate] (30.716 ms) : 0, 30716
Debugger [baseline] (6.112 ms) : 0, 6112
Debugger [candidate] (6.029 ms) : 0, 6029
Remote Config [baseline] (663.404 µs) : 0, 663
Remote Config [candidate] (655.348 µs) : 0, 655
Telemetry [baseline] (8.348 ms) : 0, 8348
Telemetry [candidate] (8.305 ms) : 0, 8305
section appsec
crashtracking [baseline] (1.444 ms) : 0, 1444
crashtracking [candidate] (1.447 ms) : 0, 1447
BytebuddyAgent [baseline] (754.753 ms) : 0, 754753
BytebuddyAgent [candidate] (754.429 ms) : 0, 754429
GlobalTracer [baseline] (234.622 ms) : 0, 234622
GlobalTracer [candidate] (235.358 ms) : 0, 235358
AppSec [baseline] (167.542 ms) : 0, 167542
AppSec [candidate] (169.074 ms) : 0, 169074
Debugger [baseline] (8.725 ms) : 0, 8725
Debugger [candidate] (7.825 ms) : 0, 7825
Remote Config [baseline] (612.683 µs) : 0, 613
Remote Config [candidate] (612.878 µs) : 0, 613
Telemetry [baseline] (8.813 ms) : 0, 8813
Telemetry [candidate] (8.134 ms) : 0, 8134
IAST [baseline] (23.669 ms) : 0, 23669
IAST [candidate] (23.602 ms) : 0, 23602
section iast
crashtracking [baseline] (1.429 ms) : 0, 1429
crashtracking [candidate] (1.468 ms) : 0, 1468
BytebuddyAgent [baseline] (846.515 ms) : 0, 846515
BytebuddyAgent [candidate] (862.67 ms) : 0, 862670
GlobalTracer [baseline] (231.152 ms) : 0, 231152
GlobalTracer [candidate] (233.994 ms) : 0, 233994
AppSec [baseline] (29.608 ms) : 0, 29608
AppSec [candidate] (28.656 ms) : 0, 28656
Debugger [baseline] (6.652 ms) : 0, 6652
Debugger [candidate] (9.344 ms) : 0, 9344
Remote Config [baseline] (593.815 µs) : 0, 594
Remote Config [candidate] (613.001 µs) : 0, 613
Telemetry [baseline] (7.877 ms) : 0, 7877
Telemetry [candidate] (8.095 ms) : 0, 8095
IAST [baseline] (27.373 ms) : 0, 27373
IAST [candidate] (27.17 ms) : 0, 27170
section profiling
ProfilingAgent [baseline] (103.617 ms) : 0, 103617
ProfilingAgent [candidate] (106.348 ms) : 0, 106348
crashtracking [baseline] (1.395 ms) : 0, 1395
crashtracking [candidate] (1.401 ms) : 0, 1401
BytebuddyAgent [baseline] (759.225 ms) : 0, 759225
BytebuddyAgent [candidate] (760.126 ms) : 0, 760126
GlobalTracer [baseline] (220.3 ms) : 0, 220300
GlobalTracer [candidate] (220.03 ms) : 0, 220030
AppSec [baseline] (30.308 ms) : 0, 30308
AppSec [candidate] (30.189 ms) : 0, 30189
Debugger [baseline] (6.249 ms) : 0, 6249
Debugger [candidate] (6.313 ms) : 0, 6313
Remote Config [baseline] (657.683 µs) : 0, 658
Remote Config [candidate] (669.256 µs) : 0, 669
Telemetry [baseline] (14.863 ms) : 0, 14863
Telemetry [candidate] (11.114 ms) : 0, 11114
Profiling [baseline] (103.641 ms) : 0, 103641
Profiling [candidate] (106.371 ms) : 0, 106371
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/client-stats-alias
git_commit_date 1752742917 1752755102
git_commit_sha 847275b 2ae9e73
release_version 1.52.0-SNAPSHOT~847275bcc2 1.52.0-SNAPSHOT~2ae9e73da5
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1752756617 1752756617
ci_job_id 1033651766 1033651766
ci_pipeline_id 70846298 70846298
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-bbtr5ruf 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-bbtr5ruf 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 2 performance improvements and 2 performance regressions! Performance is the same for 8 metrics, 12 unstable metrics.

scenario Δ mean http_req_duration Δ mean throughput candidate mean http_req_duration candidate mean throughput baseline mean http_req_duration baseline mean throughput
scenario:load:insecure-bank:iast_FULL:high_load better
[-1281.566µs; -674.211µs] or [-8.833%; -4.647%]
unstable
[-17.114op/s; +63.051op/s] or [-5.328%; +19.631%]
13.532ms 344.156op/s 14.510ms 321.188op/s
scenario:load:petclinic:code_origins:high_load worse
[+1.260ms; +2.090ms] or [+2.875%; +4.770%]
unstable
[-11.245op/s; +3.345op/s] or [-10.531%; +3.133%]
45.491ms 102.838op/s 43.816ms 106.787op/s
scenario:load:petclinic:appsec:high_load better
[-2.963ms; -2.057ms] or [-6.087%; -4.225%]
unstable
[-1.899op/s; +12.224op/s] or [-1.974%; +12.708%]
46.164ms 101.350op/s 48.674ms 96.188op/s
scenario:load:petclinic:profiling:high_load worse
[+1.075ms; +2.076ms] or [+2.282%; +4.407%]
unstable
[-10.621op/s; +4.096op/s] or [-10.691%; +4.123%]
48.692ms 96.088op/s 47.116ms 99.350op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.52.0-SNAPSHOT~2ae9e73da5, baseline=1.52.0-SNAPSHOT~847275bcc2
    dateFormat X
    axisFormat %s
section baseline
no_agent (4.376 ms) : 4327, 4425
.   : milestone, 4376,
iast (9.258 ms) : 9097, 9420
.   : milestone, 9258,
iast_FULL (14.51 ms) : 14213, 14806
.   : milestone, 14510,
iast_GLOBAL (10.104 ms) : 9931, 10277
.   : milestone, 10104,
profiling (9.06 ms) : 8919, 9200
.   : milestone, 9060,
tracing (7.398 ms) : 7281, 7515
.   : milestone, 7398,
section candidate
no_agent (4.443 ms) : 4392, 4494
.   : milestone, 4443,
iast (8.955 ms) : 8813, 9098
.   : milestone, 8955,
iast_FULL (13.532 ms) : 13264, 13799
.   : milestone, 13532,
iast_GLOBAL (10.494 ms) : 10310, 10677
.   : milestone, 10494,
profiling (9.061 ms) : 8922, 9200
.   : milestone, 9061,
tracing (7.313 ms) : 7213, 7413
.   : milestone, 7313,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.376 ms [4.327 ms, 4.425 ms] -
iast 9.258 ms [9.097 ms, 9.42 ms] 4.882 ms (111.6%)
iast_FULL 14.51 ms [14.213 ms, 14.806 ms] 10.133 ms (231.6%)
iast_GLOBAL 10.104 ms [9.931 ms, 10.277 ms] 5.728 ms (130.9%)
profiling 9.06 ms [8.919 ms, 9.2 ms] 4.683 ms (107.0%)
tracing 7.398 ms [7.281 ms, 7.515 ms] 3.021 ms (69.0%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.443 ms [4.392 ms, 4.494 ms] -
iast 8.955 ms [8.813 ms, 9.098 ms] 4.512 ms (101.6%)
iast_FULL 13.532 ms [13.264 ms, 13.799 ms] 9.089 ms (204.6%)
iast_GLOBAL 10.494 ms [10.31 ms, 10.677 ms] 6.051 ms (136.2%)
profiling 9.061 ms [8.922 ms, 9.2 ms] 4.618 ms (103.9%)
tracing 7.313 ms [7.213 ms, 7.413 ms] 2.87 ms (64.6%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.52.0-SNAPSHOT~2ae9e73da5, baseline=1.52.0-SNAPSHOT~847275bcc2
    dateFormat X
    axisFormat %s
section baseline
no_agent (37.73 ms) : 37427, 38033
.   : milestone, 37730,
appsec (48.674 ms) : 48239, 49109
.   : milestone, 48674,
code_origins (43.816 ms) : 43445, 44186
.   : milestone, 43816,
iast (44.026 ms) : 43644, 44408
.   : milestone, 44026,
profiling (47.116 ms) : 46648, 47584
.   : milestone, 47116,
tracing (43.813 ms) : 43453, 44173
.   : milestone, 43813,
section candidate
no_agent (37.814 ms) : 37502, 38125
.   : milestone, 37814,
appsec (46.164 ms) : 45757, 46571
.   : milestone, 46164,
code_origins (45.491 ms) : 45090, 45891
.   : milestone, 45491,
iast (44.077 ms) : 43695, 44459
.   : milestone, 44077,
profiling (48.692 ms) : 48230, 49154
.   : milestone, 48692,
tracing (43.353 ms) : 42991, 43715
.   : milestone, 43353,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.73 ms [37.427 ms, 38.033 ms] -
appsec 48.674 ms [48.239 ms, 49.109 ms] 10.944 ms (29.0%)
code_origins 43.816 ms [43.445 ms, 44.186 ms] 6.086 ms (16.1%)
iast 44.026 ms [43.644 ms, 44.408 ms] 6.296 ms (16.7%)
profiling 47.116 ms [46.648 ms, 47.584 ms] 9.386 ms (24.9%)
tracing 43.813 ms [43.453 ms, 44.173 ms] 6.083 ms (16.1%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.814 ms [37.502 ms, 38.125 ms] -
appsec 46.164 ms [45.757 ms, 46.571 ms] 8.35 ms (22.1%)
code_origins 45.491 ms [45.09 ms, 45.891 ms] 7.677 ms (20.3%)
iast 44.077 ms [43.695 ms, 44.459 ms] 6.263 ms (16.6%)
profiling 48.692 ms [48.23 ms, 49.154 ms] 10.878 ms (28.8%)
tracing 43.353 ms [42.991 ms, 43.715 ms] 5.539 ms (14.6%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/client-stats-alias
git_commit_date 1752742917 1752755102
git_commit_sha 847275b 2ae9e73
release_version 1.52.0-SNAPSHOT~847275bcc2 1.52.0-SNAPSHOT~2ae9e73da5
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1752757130 1752757130
ci_job_id 1033651767 1033651767
ci_pipeline_id 70846298 70846298
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-ir4fo4kl 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-ir4fo4kl 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 tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.52.0-SNAPSHOT~2ae9e73da5, baseline=1.52.0-SNAPSHOT~847275bcc2
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.473 ms) : 1462, 1485
.   : milestone, 1473,
appsec (2.451 ms) : 2399, 2503
.   : milestone, 2451,
iast (2.202 ms) : 2139, 2264
.   : milestone, 2202,
iast_GLOBAL (2.241 ms) : 2178, 2304
.   : milestone, 2241,
profiling (2.057 ms) : 2006, 2108
.   : milestone, 2057,
tracing (2.023 ms) : 1974, 2072
.   : milestone, 2023,
section candidate
no_agent (1.472 ms) : 1461, 1484
.   : milestone, 1472,
appsec (3.652 ms) : 3435, 3868
.   : milestone, 3652,
iast (2.19 ms) : 2127, 2252
.   : milestone, 2190,
iast_GLOBAL (2.241 ms) : 2177, 2304
.   : milestone, 2241,
profiling (2.034 ms) : 1984, 2084
.   : milestone, 2034,
tracing (2.014 ms) : 1965, 2063
.   : milestone, 2014,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.473 ms [1.462 ms, 1.485 ms] -
appsec 2.451 ms [2.399 ms, 2.503 ms] 978.018 µs (66.4%)
iast 2.202 ms [2.139 ms, 2.264 ms] 728.563 µs (49.5%)
iast_GLOBAL 2.241 ms [2.178 ms, 2.304 ms] 768.092 µs (52.1%)
profiling 2.057 ms [2.006 ms, 2.108 ms] 584.066 µs (39.7%)
tracing 2.023 ms [1.974 ms, 2.072 ms] 549.717 µs (37.3%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.472 ms [1.461 ms, 1.484 ms] -
appsec 3.652 ms [3.435 ms, 3.868 ms] 2.18 ms (148.1%)
iast 2.19 ms [2.127 ms, 2.252 ms] 717.483 µs (48.7%)
iast_GLOBAL 2.241 ms [2.177 ms, 2.304 ms] 768.49 µs (52.2%)
profiling 2.034 ms [1.984 ms, 2.084 ms] 562.045 µs (38.2%)
tracing 2.014 ms [1.965 ms, 2.063 ms] 542.048 µs (36.8%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.52.0-SNAPSHOT~2ae9e73da5, baseline=1.52.0-SNAPSHOT~847275bcc2
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.485 s) : 15485000, 15485000
.   : milestone, 15485000,
appsec (14.603 s) : 14603000, 14603000
.   : milestone, 14603000,
iast (18.237 s) : 18237000, 18237000
.   : milestone, 18237000,
iast_GLOBAL (18.064 s) : 18064000, 18064000
.   : milestone, 18064000,
profiling (15.24 s) : 15240000, 15240000
.   : milestone, 15240000,
tracing (14.942 s) : 14942000, 14942000
.   : milestone, 14942000,
section candidate
no_agent (15.266 s) : 15266000, 15266000
.   : milestone, 15266000,
appsec (14.97 s) : 14970000, 14970000
.   : milestone, 14970000,
iast (18.329 s) : 18329000, 18329000
.   : milestone, 18329000,
iast_GLOBAL (17.86 s) : 17860000, 17860000
.   : milestone, 17860000,
profiling (15.39 s) : 15390000, 15390000
.   : milestone, 15390000,
tracing (14.853 s) : 14853000, 14853000
.   : milestone, 14853000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.485 s [15.485 s, 15.485 s] -
appsec 14.603 s [14.603 s, 14.603 s] -882.0 ms (-5.7%)
iast 18.237 s [18.237 s, 18.237 s] 2.752 s (17.8%)
iast_GLOBAL 18.064 s [18.064 s, 18.064 s] 2.579 s (16.7%)
profiling 15.24 s [15.24 s, 15.24 s] -245.0 ms (-1.6%)
tracing 14.942 s [14.942 s, 14.942 s] -543.0 ms (-3.5%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.266 s [15.266 s, 15.266 s] -
appsec 14.97 s [14.97 s, 14.97 s] -296.0 ms (-1.9%)
iast 18.329 s [18.329 s, 18.329 s] 3.063 s (20.1%)
iast_GLOBAL 17.86 s [17.86 s, 17.86 s] 2.594 s (17.0%)
profiling 15.39 s [15.39 s, 15.39 s] 124.0 ms (0.8%)
tracing 14.853 s [14.853 s, 14.853 s] -413.0 ms (-2.7%)

public static final String PERF_METRICS_ENABLED = "trace.perf.metrics.enabled";

public static final String TRACE_STATS_COMPUTATION_ENABLED = "trace.stats.computation.enabled";
public static final String TRACER_METRICS_ENABLED = "trace.tracer.metrics.enabled";
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be marked as deprecated ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a good point. I can do another follow up PR for this (as soon as we deprecate it in the public doc btw). Sorry it automerged

@amarziali amarziali merged commit 270929a into master Jul 17, 2025
505 checks passed
@amarziali amarziali deleted the andrea.marziali/client-stats-alias branch July 17, 2025 14:05
@github-actions github-actions bot added this to the 1.52.0 milestone Jul 17, 2025
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Aug 5, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
| [redis.clients:jedis](https://github.com/redis/jedis) | dependencies |
misk/gradle/libs.versions.toml | gradle | minor | `6.0.0` -> `6.1.0` |
|
[com.google.api.grpc:proto-google-common-protos](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`2.59.2` -> `2.60.0` |
|
[com.google.cloud:google-cloud-core-http](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`2.58.2` -> `2.59.0` |
|
[com.google.cloud:google-cloud-core](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`2.58.2` -> `2.59.0` |
| [com.google.api:gax](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`2.68.2` -> `2.69.0` |
| [com.squareup.wire](https://github.com/square/wire) | plugin |
misk/gradle/libs.versions.toml | gradle | patch | `5.3.5` -> `5.3.6` |
| [com.squareup.wire:wire-schema](https://github.com/square/wire) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5`
-> `5.3.6` |
| [com.squareup.wire:wire-runtime](https://github.com/square/wire) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5`
-> `5.3.6` |
| [com.squareup.wire:wire-reflector](https://github.com/square/wire) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5`
-> `5.3.6` |
| [com.squareup.wire:wire-moshi-adapter](https://github.com/square/wire)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`5.3.5` -> `5.3.6` |
| [com.squareup.wire:wire-grpc-client](https://github.com/square/wire) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5`
-> `5.3.6` |
| [com.squareup.wire:wire-bom](https://github.com/square/wire) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch | `5.3.5`
-> `5.3.6` |
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.51.2` -> `1.52.0` |
| [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.14` -> `2.32.15` |
| [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.14` -> `2.32.15` |
| [software.amazon.awssdk:regions](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.14` -> `2.32.15` |
|
[software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.14` -> `2.32.15` |
| [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.14` -> `2.32.15` |
| [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.14` -> `2.32.15` |
| [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.14` -> `2.32.15` |
| [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.14` -> `2.32.15` |

---

### Release Notes

<details>
<summary>redis/jedis (redis.clients:jedis)</summary>

### [`v6.1.0`](https://github.com/redis/jedis/releases/tag/v6.1.0):
6.1.0

### Changes

#### 🚀 New Features

- Add support for SVS-VAMANA vector indexing
([#&#8203;4222](redis/jedis#4222))
- Clarify why new stream entries aren't deleted with XDELEX
([#&#8203;4218](redis/jedis#4218))
- Add support for new stream commands
([#&#8203;4211](redis/jedis#4211))
- Add Support for New BITOP Operations in Redis 8.2
([#&#8203;4188](redis/jedis#4188))
([#&#8203;4190](redis/jedis#4190))
- Add binary stream support for XREAD and XREADGROUP
([#&#8203;3566](redis/jedis#3566))
([#&#8203;4152](redis/jedis#4152))
- Run pipeline in current thread if all the keys on same node
([#&#8203;4149](redis/jedis#4149))

#### 🐛 Bug Fixes

- Restore binary compatibility of SetParams
([#&#8203;4225](redis/jedis#4225))
- Fix memory leak in JedisClusterInfoCache - replica nodes not cleared
([#&#8203;4205](redis/jedis#4205))
- Fix:JedisCluster throws NullPointerException when maxAttempts is set
to 0 ([#&#8203;4186](redis/jedis#4186))

#### 🧰 Maintenance

- DOC-5471 time series doc examples
([#&#8203;4210](redis/jedis#4210))
- Bump jackson.version from 2.19.1 to 2.19.2
([#&#8203;4208](redis/jedis#4208))
- Fix flaky test ClientCommandsTest.killSkipmeYesNo
([#&#8203;4206](redis/jedis#4206))
- Bump org.junit:junit-bom from 5.13.2 to 5.13.3
([#&#8203;4198](redis/jedis#4198))
- Migrate publishing to Maven Central Portal
([#&#8203;4199](redis/jedis#4199))
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.7 to 3.2.8
([#&#8203;4197](redis/jedis#4197))
- Bump org.junit:junit-bom from 5.13.1 to 5.13.2
([#&#8203;4192](redis/jedis#4192))
- DOC-5227 added probabilistic data type examples
([#&#8203;4184](redis/jedis#4184))
- Bump jackson.version from 2.19.0 to 2.19.1
([#&#8203;4180](redis/jedis#4180))
- Update test infra to use latest Redis
([#&#8203;4179](redis/jedis#4179))
- Bump org.junit:junit-bom from 5.13.0-RC1 to 5.13.1
([#&#8203;4174](redis/jedis#4174))
- Bump org.json:json from
[`2025010`](redis/jedis@20250107) to
[`2025051`](redis/jedis@20250517)
([#&#8203;4171](redis/jedis#4171))
- Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4.4
to 5.5 ([#&#8203;4170](redis/jedis#4170))
- Fix flaky tests in DocumentTest
([#&#8203;3617](redis/jedis#3617))
- Add retryable command execution example
([#&#8203;3780](redis/jedis#3780))
- Bump jackson.version from 2.18.3 to 2.19.0
([#&#8203;4160](redis/jedis#4160))
- Bump com.google.code.gson:gson from 2.12.1 to 2.13.1
([#&#8203;4161](redis/jedis#4161))

#### Contributors

We'd like to thank all the contributors who worked on this release!

[@&#8203;219sansim](https://github.com/219sansim),
[@&#8203;YoHanKi](https://github.com/YoHanKi),
[@&#8203;andy-stark-redis](https://github.com/andy-stark-redis),
[@&#8203;ggivo](https://github.com/ggivo),
[@&#8203;jujn](https://github.com/jujn),
[@&#8203;thachlp](https://github.com/thachlp),
[@&#8203;uglide](https://github.com/uglide) and
[@&#8203;xrayw](https://github.com/xrayw)

</details>

<details>
<summary>googleapis/sdk-platform-java
(com.google.api.grpc:proto-google-common-protos)</summary>

###
[`v2.60.0`](https://github.com/googleapis/sdk-platform-java/blob/HEAD/CHANGELOG.md#2600-2025-06-23)

##### Features

- handle auto pagination for BigQuery v2
([#&#8203;3829](googleapis/sdk-platform-java#3829))
([025c84c](googleapis/sdk-platform-java@025c84c))

##### Dependencies

- update google auth library dependencies to v1.37.1
([#&#8203;3846](googleapis/sdk-platform-java#3846))
([ea1d9e5](googleapis/sdk-platform-java@ea1d9e5))
- update google http client dependencies to v1.47.1
([#&#8203;3848](googleapis/sdk-platform-java#3848))
([a9a39d7](googleapis/sdk-platform-java@a9a39d7))

</details>

<details>
<summary>square/wire (com.squareup.wire)</summary>

###
[`v5.3.6`](https://github.com/square/wire/blob/HEAD/CHANGELOG.md#Version-536)

[Compare Source](square/wire@5.3.5...5.3.6)

*2025-08-05*

##### CLI

- New CLI option `--ignore_unused_roots_and_prunes`
([#&#8203;3354](square/wire#3354))

##### JVM

- Fix: Handle negative hexadecimal in default values
([#&#8203;3355](square/wire#3355))
- Optimization: Avoid copying of repeated and map types when
mutableTypes are being used
([#&#8203;3352](square/wire#3352) by \[Rahul
Ravikumar]\[tikurahul])

##### Swift

- Fix: Properly disambiguate OneOf enum if it has the same name as
enclosing type
([#&#8203;3350](square/wire#3350) by
\[Dimitris Koutsogiorgas]\[dnkoutso])

</details>

<details>
<summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary>

###
[`v1.52.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.52.0):
1.52.0

### Components

#### Application Security Management (WAF)

- ✨ Only report ASM\_DD, ASM\_DATA and ASM capabilities when
AppSec is enabled
([#&#8203;9260](DataDog/dd-trace-java#9260) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- 🐛 Fix NPE in AppSecConfigServiceImpl
([#&#8203;9165](DataDog/dd-trace-java#9165) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- 🐛 Fix AppSec play.mvc.StatusHeader instrumentation for play 2.6
([#&#8203;9160](DataDog/dd-trace-java#9160) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))

#### Build & Tooling

- ✨📖 Automatically register crashtracking via native
extensions
([#&#8203;8851](DataDog/dd-trace-java#8851) -
[@&#8203;MattAlp](https://github.com/MattAlp))

#### Configuration at Runtime

- ✨ Create activation origin config for telemetry
([#&#8203;9064](DataDog/dd-trace-java#9064) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))

#### Continuous Integration Visibility

- ✨ Update GitLab provided tags
([#&#8203;9275](DataDog/dd-trace-java#9275) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- 🐛 Fix base branch SHA usage in GitHub Actions
([#&#8203;9257](DataDog/dd-trace-java#9257) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Add `ci.job.id` tag
([#&#8203;9256](DataDog/dd-trace-java#9256) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Add new org to Weaver instrumentation
([#&#8203;9235](DataDog/dd-trace-java#9235) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano) - thanks
for the contribution!)
- ✨ Improve Git commit info building
([#&#8203;9210](DataDog/dd-trace-java#9210) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Update Attempt to Fix to v5
([#&#8203;9145](DataDog/dd-trace-java#9145) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))

#### Crash tracking

- ✨📖 Automatically register crashtracking via native
extensions
([#&#8203;8851](DataDog/dd-trace-java#8851) -
[@&#8203;MattAlp](https://github.com/MattAlp))

#### Data Streams Monitoring

- ✨ Reduce DSM CPU overheard
([#&#8203;9151](DataDog/dd-trace-java#9151) -
[@&#8203;kr-igor](https://github.com/kr-igor))
- ✨⚡ DSM optimizations for high throughput scenarios
([#&#8203;9137](DataDog/dd-trace-java#9137) -
[@&#8203;kr-igor](https://github.com/kr-igor))

#### Database Monitoring

- 🐛 Fix duplicate trace injection for SQL Server and Oracle DBM full
propagation mode
([#&#8203;9224](DataDog/dd-trace-java#9224) -
[@&#8203;lu-zhengda](https://github.com/lu-zhengda))

#### Dynamic Instrumentation

- 🐛 Add URI in string primitives
([#&#8203;9285](DataDog/dd-trace-java#9285) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Increase SourceFile tracking max queue size
([#&#8203;9271](DataDog/dd-trace-java#9271) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Add capping on SourceFile tracking queue
([#&#8203;9245](DataDog/dd-trace-java#9245) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Add third-party filtering in SourceFile tracking
([#&#8203;9205](DataDog/dd-trace-java#9205) -
[@&#8203;jpbempel](https://github.com/jpbempel))

#### ML Observability (LLMObs)

- ✨ Add methods to capture embedding and retrieval spans
([#&#8203;9297](DataDog/dd-trace-java#9297) -
[@&#8203;nayeem-kamal](https://github.com/nayeem-kamal))

#### Metrics

- ✨ Change primary client stats configuration key
([#&#8203;9196](DataDog/dd-trace-java#9196) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Calculate client stats also if the span kind is eligible
([#&#8203;9157](DataDog/dd-trace-java#9157) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Backpropagate peer tags
([#&#8203;9144](DataDog/dd-trace-java#9144) -
[@&#8203;bric3](https://github.com/bric3))
- 🐛 Make client stats reliable in case of downgrade
([#&#8203;9136](DataDog/dd-trace-java#9136) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Platform components

- 🐛 Fix VM options parsing from /proc/fs
([#&#8203;9255](DataDog/dd-trace-java#9255) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Profiling

- ✨ Switch profile compression to zstd default
([#&#8203;9293](DataDog/dd-trace-java#9293) -
[@&#8203;jbachorik](https://github.com/jbachorik))

- ✨ Bump ddprof to 1.29.0
([#&#8203;9262](DataDog/dd-trace-java#9262) -
[@&#8203;zhengyu123](https://github.com/zhengyu123))
- Potential memory leak and race with the JVMTI wallclock sampler by
[@&#8203;zhengyu123](https://github.com/zhengyu123) in
DataDog/java-profiler#234
- Downport async-profiler no-allocation changes by
[@&#8203;zhengyu123](https://github.com/zhengyu123) in
DataDog/java-profiler#245
- Adopt openjdk safefetch by
[@&#8203;zhengyu123](https://github.com/zhengyu123) in
DataDog/java-profiler#246
- Safe fetch 64-bit value and pointer by
[@&#8203;zhengyu123](https://github.com/zhengyu123) in
DataDog/java-profiler#247
- Rebase on Async-Profiler 4.1 by
[@&#8203;jbachorik](https://github.com/jbachorik) in
DataDog/java-profiler#252
- Patch upstream stackWalker.cpp not to fail on unaligned access by
[@&#8203;jbachorik](https://github.com/jbachorik) in
DataDog/java-profiler#218
- Remap thread id to avoid bitmap contention by
[@&#8203;zhengyu123](https://github.com/zhengyu123) in
DataDog/java-profiler#229
- Improve performance using Unsafe to activate/deactivate thread filter
by [@&#8203;zhengyu123](https://github.com/zhengyu123) in
DataDog/java-profiler#230
- Unify context propagation by
[@&#8203;zhengyu123](https://github.com/zhengyu123) in
DataDog/java-profiler#231

- 🐛 Fix the profiler stackdepth setting propagation in recent (22+)
Java versions
([#&#8203;9130](DataDog/dd-trace-java#9130) -
[@&#8203;jbachorik](https://github.com/jbachorik))

#### Realtime User Monitoring

- ✨ Wrap servlet original PrintWriter on rum injector
([#&#8203;9146](DataDog/dd-trace-java#9146) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Telemetry

- ✨ Create activation origin config for telemetry
([#&#8203;9064](DataDog/dd-trace-java#9064) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))

#### Tracer core

- ✨⚡ Reduce span construction overhead by switching to
optimized TagMap
([#&#8203;8589](DataDog/dd-trace-java#8589) -
[@&#8203;dougqh](https://github.com/dougqh))
- 🐛 Match Hands Off Config selectors on process\_arguments value
([#&#8203;9201](DataDog/dd-trace-java#9201) -
[@&#8203;paullegranddc](https://github.com/paullegranddc))
- ✨ Move JSON generation to sender thread to improve startup
time.
([#&#8203;9197](DataDog/dd-trace-java#9197) -
[@&#8203;AlexeyKuznetsov-DD](https://github.com/AlexeyKuznetsov-DD))
- ✨ Improve agent to avoid loading global config on main thread
([#&#8203;9190](DataDog/dd-trace-java#9190) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨ add injection metadata fields to telemetry forwarder
([#&#8203;9185](DataDog/dd-trace-java#9185) -
[@&#8203;sydney-tung](https://github.com/sydney-tung))
- 🐛 Avoid race conditions on feature discovery during Writer
creation
([#&#8203;9173](DataDog/dd-trace-java#9173) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Surface potential root cause when agent initialization
errors
([#&#8203;9170](DataDog/dd-trace-java#9170) -
[@&#8203;AlexeyKuznetsov-DD](https://github.com/AlexeyKuznetsov-DD))
- 💡 Support adding W3C baggage as span tags
([#&#8203;9169](DataDog/dd-trace-java#9169) -
[@&#8203;rachelyangdog](https://github.com/rachelyangdog))
- ✨⚡ Align our default classloader excludes with OTel
([#&#8203;9161](DataDog/dd-trace-java#9161) -
[@&#8203;mcculls](https://github.com/mcculls))
- ✨ Backpropagate container tags hash coming from the info
endpoint
([#&#8203;9156](DataDog/dd-trace-java#9156) -
[@&#8203;amarziali](https://github.com/amarziali))
- 🐛 Avoid race conditions and multiple agent discovery feature
states
([#&#8203;9135](DataDog/dd-trace-java#9135) -
[@&#8203;amarziali](https://github.com/amarziali))

### Instrumentations

#### AWS SDK instrumentation

- ✨ Enhance Service Representation for Serverless
([#&#8203;9203](DataDog/dd-trace-java#9203) -
[@&#8203;zarirhamza](https://github.com/zarirhamza))

#### gRPC instrumentation

- 🐛 Add check to prevent injection of repeated GRPC headers
([#&#8203;9246](DataDog/dd-trace-java#9246) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### JDBC instrumentation

- 🐛 Fix duplicate trace injection for SQL Server and Oracle DBM full
propagation mode
([#&#8203;9224](DataDog/dd-trace-java#9224) -
[@&#8203;lu-zhengda](https://github.com/lu-zhengda))

#### Play Framework instrumentation

- 🐛 Fix AppSec play.mvc.StatusHeader instrumentation for play 2.6
([#&#8203;9160](DataDog/dd-trace-java#9160) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, Automerge - At any time
(no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

GitOrigin-RevId: 9da36329ffa552291a640381780b608ef6513e29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: metrics Metrics type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants