Skip to content

Ignore quarkus jaxrs stubs and cdi wrapper proxies #8891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

amarziali
Copy link
Collaborator

@amarziali amarziali commented May 27, 2025

What Does This Do

Ignores jaxrs client interface stubs from being instrumented (also because we should trace jaxrs server interfaces and not the client ones).
Same for CDI proxies that should not be traced.

Motivation

Additional Notes

Contributor Checklist

Jira ticket: APMS-15882

@amarziali amarziali requested a review from a team as a code owner May 27, 2025 13:26
@amarziali amarziali requested a review from PerfectSlayer May 27, 2025 13:26
@amarziali amarziali added the inst: others All other instrumentations label May 27, 2025
Copy link
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

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

Sounds fair. Should we make tests about it?

@pr-commenter
Copy link

pr-commenter bot commented May 27, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/exclude-cdi-proxies
git_commit_date 1746789389 1748352272
git_commit_sha ad6d5fe a4e9f86
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~a4e9f86448
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1748355111 1748355111
ci_job_id 955562132 955562132
ci_pipeline_id 66194653 66194653
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-a5ynt5bs-project-304-concurrent-2-c8tsokbc 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-a5ynt5bs-project-304-concurrent-2-c8tsokbc 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None
variant iast iast

Summary

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

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:startup:insecure-bank:iast_TELEMETRY_OFF:AppSec better
[-7.305ms; -1.746ms] or [-12.984%; -3.104%]
51.733ms 56.259ms
scenario:startup:petclinic:profiling:GlobalTracer better
[-20.736ms; -9.364ms] or [-5.483%; -2.476%]
363.148ms 378.198ms
scenario:startup:petclinic:profiling:AppSec worse
[+6.291ms; +9.597ms] or [+11.553%; +17.626%]
62.395ms 54.451ms
scenario:startup:petclinic:profiling:Debugger worse
[+222.866µs; +495.149µs] or [+3.657%; +8.126%]
6.453ms 6.094ms
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.50.0-SNAPSHOT~a4e9f86448, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.02 s) : 0, 1019648
Total [baseline] (8.644 s) : 0, 8643603
Agent [candidate] (1.02 s) : 0, 1019909
Total [candidate] (8.625 s) : 0, 8625377
section iast
Agent [baseline] (1.148 s) : 0, 1147753
Total [baseline] (9.203 s) : 0, 9202528
Agent [candidate] (1.15 s) : 0, 1149963
Total [candidate] (9.194 s) : 0, 9193839
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.154 s) : 0, 1153810
Total [baseline] (9.22 s) : 0, 9219537
Agent [candidate] (1.15 s) : 0, 1150223
Total [candidate] (9.181 s) : 0, 9180527
section iast_TELEMETRY_OFF
Agent [baseline] (1.145 s) : 0, 1144700
Total [baseline] (9.203 s) : 0, 9203462
Agent [candidate] (1.145 s) : 0, 1145132
Total [candidate] (9.244 s) : 0, 9244178
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.02 s -
Agent iast 1.148 s 128.105 ms (12.6%)
Agent iast_HARDCODED_SECRET_DISABLED 1.154 s 134.161 ms (13.2%)
Agent iast_TELEMETRY_OFF 1.145 s 125.052 ms (12.3%)
Total tracing 8.644 s -
Total iast 9.203 s 558.925 ms (6.5%)
Total iast_HARDCODED_SECRET_DISABLED 9.22 s 575.934 ms (6.7%)
Total iast_TELEMETRY_OFF 9.203 s 559.858 ms (6.5%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.02 s -
Agent iast 1.15 s 130.055 ms (12.8%)
Agent iast_HARDCODED_SECRET_DISABLED 1.15 s 130.314 ms (12.8%)
Agent iast_TELEMETRY_OFF 1.145 s 125.223 ms (12.3%)
Total tracing 8.625 s -
Total iast 9.194 s 568.463 ms (6.6%)
Total iast_HARDCODED_SECRET_DISABLED 9.181 s 555.15 ms (6.4%)
Total iast_TELEMETRY_OFF 9.244 s 618.801 ms (7.2%)
gantt
    title insecure-bank - break down per module: candidate=1.50.0-SNAPSHOT~a4e9f86448, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (681.066 ms) : 0, 681066
BytebuddyAgent [candidate] (683.03 ms) : 0, 683030
GlobalTracer [baseline] (239.427 ms) : 0, 239427
GlobalTracer [candidate] (240.167 ms) : 0, 240167
AppSec [baseline] (54.744 ms) : 0, 54744
AppSec [candidate] (55.076 ms) : 0, 55076
Debugger [baseline] (9.783 ms) : 0, 9783
Debugger [candidate] (9.066 ms) : 0, 9066
Remote Config [baseline] (704.223 µs) : 0, 704
Remote Config [candidate] (703.792 µs) : 0, 704
Telemetry [baseline] (10.528 ms) : 0, 10528
Telemetry [candidate] (8.311 ms) : 0, 8311
section iast
BytebuddyAgent [baseline] (801.336 ms) : 0, 801336
BytebuddyAgent [candidate] (802.08 ms) : 0, 802080
GlobalTracer [baseline] (229.682 ms) : 0, 229682
GlobalTracer [candidate] (230.992 ms) : 0, 230992
AppSec [baseline] (51.22 ms) : 0, 51220
AppSec [candidate] (51.291 ms) : 0, 51291
Debugger [baseline] (5.919 ms) : 0, 5919
Debugger [candidate] (5.991 ms) : 0, 5991
Remote Config [baseline] (604.755 µs) : 0, 605
Remote Config [candidate] (601.474 µs) : 0, 601
Telemetry [baseline] (7.843 ms) : 0, 7843
Telemetry [candidate] (7.941 ms) : 0, 7941
IAST [baseline] (26.902 ms) : 0, 26902
IAST [candidate] (27.571 ms) : 0, 27571
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (805.76 ms) : 0, 805760
BytebuddyAgent [candidate] (802.322 ms) : 0, 802322
GlobalTracer [baseline] (230.433 ms) : 0, 230433
GlobalTracer [candidate] (231.351 ms) : 0, 231351
AppSec [baseline] (51.747 ms) : 0, 51747
AppSec [candidate] (47.767 ms) : 0, 47767
Debugger [baseline] (5.955 ms) : 0, 5955
Debugger [candidate] (5.894 ms) : 0, 5894
Remote Config [baseline] (595.724 µs) : 0, 596
Remote Config [candidate] (597.223 µs) : 0, 597
Telemetry [baseline] (8.026 ms) : 0, 8026
Telemetry [candidate] (7.95 ms) : 0, 7950
IAST [baseline] (27.717 ms) : 0, 27717
IAST [candidate] (30.924 ms) : 0, 30924
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (797.894 ms) : 0, 797894
BytebuddyAgent [candidate] (798.795 ms) : 0, 798795
GlobalTracer [baseline] (230.335 ms) : 0, 230335
GlobalTracer [candidate] (230.778 ms) : 0, 230778
AppSec [baseline] (56.259 ms) : 0, 56259
AppSec [candidate] (51.733 ms) : 0, 51733
Debugger [baseline] (5.979 ms) : 0, 5979
Debugger [candidate] (5.895 ms) : 0, 5895
Remote Config [baseline] (604.796 µs) : 0, 605
Remote Config [candidate] (589.407 µs) : 0, 589
Telemetry [baseline] (7.805 ms) : 0, 7805
Telemetry [candidate] (7.767 ms) : 0, 7767
IAST [baseline] (22.368 ms) : 0, 22368
IAST [candidate] (26.113 ms) : 0, 26113
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.50.0-SNAPSHOT~a4e9f86448, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.02 s) : 0, 1020143
Total [baseline] (10.461 s) : 0, 10461064
Agent [candidate] (1.024 s) : 0, 1023989
Total [candidate] (10.407 s) : 0, 10406940
section appsec
Agent [baseline] (1.161 s) : 0, 1160633
Total [baseline] (10.663 s) : 0, 10663416
Agent [candidate] (1.162 s) : 0, 1162289
Total [candidate] (10.71 s) : 0, 10710030
section iast
Agent [baseline] (1.152 s) : 0, 1151599
Total [baseline] (10.909 s) : 0, 10909048
Agent [candidate] (1.155 s) : 0, 1154902
Total [candidate] (10.881 s) : 0, 10880642
section profiling
Agent [baseline] (1.279 s) : 0, 1279284
Total [baseline] (10.915 s) : 0, 10915033
Agent [candidate] (1.283 s) : 0, 1283200
Total [candidate] (10.864 s) : 0, 10863932
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.02 s -
Agent appsec 1.161 s 140.49 ms (13.8%)
Agent iast 1.152 s 131.456 ms (12.9%)
Agent profiling 1.279 s 259.142 ms (25.4%)
Total tracing 10.461 s -
Total appsec 10.663 s 202.352 ms (1.9%)
Total iast 10.909 s 447.983 ms (4.3%)
Total profiling 10.915 s 453.969 ms (4.3%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.024 s -
Agent appsec 1.162 s 138.301 ms (13.5%)
Agent iast 1.155 s 130.913 ms (12.8%)
Agent profiling 1.283 s 259.211 ms (25.3%)
Total tracing 10.407 s -
Total appsec 10.71 s 303.09 ms (2.9%)
Total iast 10.881 s 473.701 ms (4.6%)
Total profiling 10.864 s 456.992 ms (4.4%)
gantt
    title petclinic - break down per module: candidate=1.50.0-SNAPSHOT~a4e9f86448, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (683.979 ms) : 0, 683979
BytebuddyAgent [candidate] (683.772 ms) : 0, 683772
GlobalTracer [baseline] (239.9 ms) : 0, 239900
GlobalTracer [candidate] (241.929 ms) : 0, 241929
AppSec [baseline] (55.852 ms) : 0, 55852
AppSec [candidate] (55.784 ms) : 0, 55784
Debugger [baseline] (6.175 ms) : 0, 6175
Debugger [candidate] (9.1 ms) : 0, 9100
Remote Config [baseline] (698.158 µs) : 0, 698
Remote Config [candidate] (718.948 µs) : 0, 719
Telemetry [baseline] (9.864 ms) : 0, 9864
Telemetry [candidate] (9.174 ms) : 0, 9174
section appsec
BytebuddyAgent [baseline] (700.149 ms) : 0, 700149
BytebuddyAgent [candidate] (700.922 ms) : 0, 700922
GlobalTracer [baseline] (236.347 ms) : 0, 236347
GlobalTracer [candidate] (236.485 ms) : 0, 236485
AppSec [baseline] (175.86 ms) : 0, 175860
AppSec [candidate] (176.573 ms) : 0, 176573
Debugger [baseline] (5.927 ms) : 0, 5927
Debugger [candidate] (5.953 ms) : 0, 5953
Remote Config [baseline] (626.452 µs) : 0, 626
Remote Config [candidate] (625.686 µs) : 0, 626
Telemetry [baseline] (7.371 ms) : 0, 7371
Telemetry [candidate] (7.401 ms) : 0, 7401
IAST [baseline] (21.576 ms) : 0, 21576
IAST [candidate] (21.655 ms) : 0, 21655
section iast
BytebuddyAgent [baseline] (802.78 ms) : 0, 802780
BytebuddyAgent [candidate] (805.719 ms) : 0, 805719
GlobalTracer [baseline] (231.571 ms) : 0, 231571
GlobalTracer [candidate] (231.776 ms) : 0, 231776
AppSec [baseline] (51.415 ms) : 0, 51415
AppSec [candidate] (51.431 ms) : 0, 51431
Debugger [baseline] (5.961 ms) : 0, 5961
Debugger [candidate] (5.976 ms) : 0, 5976
Remote Config [baseline] (599.61 µs) : 0, 600
Remote Config [candidate] (605.253 µs) : 0, 605
Telemetry [baseline] (7.943 ms) : 0, 7943
Telemetry [candidate] (7.96 ms) : 0, 7960
IAST [baseline] (27.095 ms) : 0, 27095
IAST [candidate] (27.868 ms) : 0, 27868
section profiling
ProfilingAgent [baseline] (108.748 ms) : 0, 108748
ProfilingAgent [candidate] (106.626 ms) : 0, 106626
BytebuddyAgent [baseline] (672.468 ms) : 0, 672468
BytebuddyAgent [candidate] (683.75 ms) : 0, 683750
GlobalTracer [baseline] (378.198 ms) : 0, 378198
GlobalTracer [candidate] (363.148 ms) : 0, 363148
AppSec [baseline] (54.451 ms) : 0, 54451
AppSec [candidate] (62.395 ms) : 0, 62395
Debugger [baseline] (6.094 ms) : 0, 6094
Debugger [candidate] (6.453 ms) : 0, 6453
Remote Config [baseline] (666.503 µs) : 0, 667
Remote Config [candidate] (671.663 µs) : 0, 672
Telemetry [baseline] (8.055 ms) : 0, 8055
Telemetry [candidate] (8.427 ms) : 0, 8427
Profiling [baseline] (108.775 ms) : 0, 108775
Profiling [candidate] (106.651 ms) : 0, 106651
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
end_time 2025-05-27T13:42:13 2025-05-27T13:49:57
git_branch master andrea.marziali/exclude-cdi-proxies
git_commit_date 1746789389 1748352272
git_commit_sha ad6d5fe a4e9f86
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~a4e9f86448
start_time 2025-05-27T13:41:58 2025-05-27T13:49:42
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1748354197 1748354197
ci_job_id 955562133 955562133
ci_pipeline_id 66194653 66194653
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zghvxubd-project-304-concurrent-2-d9fdi8w8 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zghvxubd-project-304-concurrent-2-d9fdi8w8 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
variant iast iast

Summary

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

Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~a4e9f86448, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (385.551 µs) : 365, 406
.   : milestone, 386,
iast (523.792 µs) : 500, 548
.   : milestone, 524,
iast_FULL (730.932 µs) : 709, 753
.   : milestone, 731,
iast_GLOBAL (555.711 µs) : 534, 578
.   : milestone, 556,
iast_HARDCODED_SECRET_DISABLED (522.535 µs) : 500, 545
.   : milestone, 523,
iast_INACTIVE (464.994 µs) : 443, 487
.   : milestone, 465,
iast_TELEMETRY_OFF (503.89 µs) : 480, 527
.   : milestone, 504,
tracing (463.441 µs) : 439, 488
.   : milestone, 463,
section candidate
no_agent (375.905 µs) : 355, 396
.   : milestone, 376,
iast (520.714 µs) : 499, 543
.   : milestone, 521,
iast_FULL (729.103 µs) : 707, 751
.   : milestone, 729,
iast_GLOBAL (561.371 µs) : 539, 584
.   : milestone, 561,
iast_HARDCODED_SECRET_DISABLED (531.455 µs) : 508, 555
.   : milestone, 531,
iast_INACTIVE (466.936 µs) : 444, 489
.   : milestone, 467,
iast_TELEMETRY_OFF (503.855 µs) : 480, 527
.   : milestone, 504,
tracing (458.476 µs) : 437, 480
.   : milestone, 458,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 385.551 µs [365.453 µs, 405.649 µs] -
iast 523.792 µs [499.952 µs, 547.632 µs] 138.241 µs (35.9%)
iast_FULL 730.932 µs [709.081 µs, 752.783 µs] 345.381 µs (89.6%)
iast_GLOBAL 555.711 µs [533.891 µs, 577.531 µs] 170.16 µs (44.1%)
iast_HARDCODED_SECRET_DISABLED 522.535 µs [499.577 µs, 545.493 µs] 136.984 µs (35.5%)
iast_INACTIVE 464.994 µs [442.522 µs, 487.466 µs] 79.443 µs (20.6%)
iast_TELEMETRY_OFF 503.89 µs [480.446 µs, 527.333 µs] 118.339 µs (30.7%)
tracing 463.441 µs [439.137 µs, 487.746 µs] 77.89 µs (20.2%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 375.905 µs [355.427 µs, 396.382 µs] -
iast 520.714 µs [498.786 µs, 542.643 µs] 144.81 µs (38.5%)
iast_FULL 729.103 µs [707.387 µs, 750.818 µs] 353.198 µs (94.0%)
iast_GLOBAL 561.371 µs [539.17 µs, 583.572 µs] 185.467 µs (49.3%)
iast_HARDCODED_SECRET_DISABLED 531.455 µs [508.041 µs, 554.87 µs] 155.551 µs (41.4%)
iast_INACTIVE 466.936 µs [444.374 µs, 489.497 µs] 91.031 µs (24.2%)
iast_TELEMETRY_OFF 503.855 µs [480.433 µs, 527.277 µs] 127.951 µs (34.0%)
tracing 458.476 µs [436.514 µs, 480.439 µs] 82.572 µs (22.0%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~a4e9f86448, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.335 ms) : 1315, 1354
.   : milestone, 1335,
appsec (1.742 ms) : 1719, 1766
.   : milestone, 1742,
appsec_no_iast (1.717 ms) : 1693, 1740
.   : milestone, 1717,
code_origins (1.657 ms) : 1629, 1684
.   : milestone, 1657,
iast (1.52 ms) : 1496, 1544
.   : milestone, 1520,
profiling (1.515 ms) : 1491, 1538
.   : milestone, 1515,
tracing (1.497 ms) : 1473, 1521
.   : milestone, 1497,
section candidate
no_agent (1.357 ms) : 1338, 1377
.   : milestone, 1357,
appsec (1.732 ms) : 1707, 1756
.   : milestone, 1732,
appsec_no_iast (1.723 ms) : 1699, 1747
.   : milestone, 1723,
code_origins (1.682 ms) : 1654, 1709
.   : milestone, 1682,
iast (1.499 ms) : 1475, 1523
.   : milestone, 1499,
profiling (1.552 ms) : 1528, 1577
.   : milestone, 1552,
tracing (1.493 ms) : 1468, 1518
.   : milestone, 1493,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.335 ms [1.315 ms, 1.354 ms] -
appsec 1.742 ms [1.719 ms, 1.766 ms] 407.643 µs (30.5%)
appsec_no_iast 1.717 ms [1.693 ms, 1.74 ms] 381.739 µs (28.6%)
code_origins 1.657 ms [1.629 ms, 1.684 ms] 321.738 µs (24.1%)
iast 1.52 ms [1.496 ms, 1.544 ms] 185.26 µs (13.9%)
profiling 1.515 ms [1.491 ms, 1.538 ms] 179.698 µs (13.5%)
tracing 1.497 ms [1.473 ms, 1.521 ms] 162.158 µs (12.1%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.357 ms [1.338 ms, 1.377 ms] -
appsec 1.732 ms [1.707 ms, 1.756 ms] 374.098 µs (27.6%)
appsec_no_iast 1.723 ms [1.699 ms, 1.747 ms] 365.627 µs (26.9%)
code_origins 1.682 ms [1.654 ms, 1.709 ms] 324.269 µs (23.9%)
iast 1.499 ms [1.475 ms, 1.523 ms] 141.675 µs (10.4%)
profiling 1.552 ms [1.528 ms, 1.577 ms] 194.901 µs (14.4%)
tracing 1.493 ms [1.468 ms, 1.518 ms] 135.629 µs (10.0%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/exclude-cdi-proxies
git_commit_date 1746789389 1748352272
git_commit_sha ad6d5fe a4e9f86
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~a4e9f86448
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1748354821 1748354821
ci_job_id 955562135 955562135
ci_pipeline_id 66194653 66194653
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-9shdgxtw-project-304-concurrent-1-wtpw67xe 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-9shdgxtw-project-304-concurrent-1-wtpw67xe 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
variant appsec appsec

Summary

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

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~a4e9f86448, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.473 ms) : 1461, 1484
.   : milestone, 1473,
appsec (2.39 ms) : 2341, 2438
.   : milestone, 2390,
iast (2.17 ms) : 2109, 2230
.   : milestone, 2170,
iast_GLOBAL (2.219 ms) : 2158, 2281
.   : milestone, 2219,
profiling (2.01 ms) : 1962, 2058
.   : milestone, 2010,
tracing (1.991 ms) : 1944, 2038
.   : milestone, 1991,
section candidate
no_agent (1.468 ms) : 1456, 1479
.   : milestone, 1468,
appsec (2.39 ms) : 2342, 2438
.   : milestone, 2390,
iast (2.171 ms) : 2110, 2231
.   : milestone, 2171,
iast_GLOBAL (2.209 ms) : 2149, 2270
.   : milestone, 2209,
profiling (2.013 ms) : 1964, 2062
.   : milestone, 2013,
tracing (1.997 ms) : 1950, 2044
.   : milestone, 1997,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.473 ms [1.461 ms, 1.484 ms] -
appsec 2.39 ms [2.341 ms, 2.438 ms] 916.666 µs (62.2%)
iast 2.17 ms [2.109 ms, 2.23 ms] 696.723 µs (47.3%)
iast_GLOBAL 2.219 ms [2.158 ms, 2.281 ms] 746.48 µs (50.7%)
profiling 2.01 ms [1.962 ms, 2.058 ms] 536.833 µs (36.4%)
tracing 1.991 ms [1.944 ms, 2.038 ms] 518.374 µs (35.2%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.468 ms [1.456 ms, 1.479 ms] -
appsec 2.39 ms [2.342 ms, 2.438 ms] 922.26 µs (62.8%)
iast 2.171 ms [2.11 ms, 2.231 ms] 702.885 µs (47.9%)
iast_GLOBAL 2.209 ms [2.149 ms, 2.27 ms] 741.653 µs (50.5%)
profiling 2.013 ms [1.964 ms, 2.062 ms] 545.358 µs (37.2%)
tracing 1.997 ms [1.95 ms, 2.044 ms] 529.143 µs (36.1%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~a4e9f86448, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.422 s) : 15422000, 15422000
.   : milestone, 15422000,
appsec (15.017 s) : 15017000, 15017000
.   : milestone, 15017000,
iast (18.845 s) : 18845000, 18845000
.   : milestone, 18845000,
iast_GLOBAL (18.063 s) : 18063000, 18063000
.   : milestone, 18063000,
profiling (15.248 s) : 15248000, 15248000
.   : milestone, 15248000,
tracing (14.944 s) : 14944000, 14944000
.   : milestone, 14944000,
section candidate
no_agent (15.523 s) : 15523000, 15523000
.   : milestone, 15523000,
appsec (15.097 s) : 15097000, 15097000
.   : milestone, 15097000,
iast (18.634 s) : 18634000, 18634000
.   : milestone, 18634000,
iast_GLOBAL (18.259 s) : 18259000, 18259000
.   : milestone, 18259000,
profiling (15.204 s) : 15204000, 15204000
.   : milestone, 15204000,
tracing (14.965 s) : 14965000, 14965000
.   : milestone, 14965000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.422 s [15.422 s, 15.422 s] -
appsec 15.017 s [15.017 s, 15.017 s] -405.0 ms (-2.6%)
iast 18.845 s [18.845 s, 18.845 s] 3.423 s (22.2%)
iast_GLOBAL 18.063 s [18.063 s, 18.063 s] 2.641 s (17.1%)
profiling 15.248 s [15.248 s, 15.248 s] -174.0 ms (-1.1%)
tracing 14.944 s [14.944 s, 14.944 s] -478.0 ms (-3.1%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.523 s [15.523 s, 15.523 s] -
appsec 15.097 s [15.097 s, 15.097 s] -426.0 ms (-2.7%)
iast 18.634 s [18.634 s, 18.634 s] 3.111 s (20.0%)
iast_GLOBAL 18.259 s [18.259 s, 18.259 s] 2.736 s (17.6%)
profiling 15.204 s [15.204 s, 15.204 s] -319.0 ms (-2.1%)
tracing 14.965 s [14.965 s, 14.965 s] -558.0 ms (-3.6%)

@amarziali amarziali merged commit 2ba8c6a into master Jun 2, 2025
526 of 527 checks passed
@amarziali amarziali deleted the andrea.marziali/exclude-cdi-proxies branch June 2, 2025 06:48
@github-actions github-actions bot added this to the 1.50.0 milestone Jun 2, 2025
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Jun 20, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.49.0` -> `1.50.0` |

---

### Release Notes

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

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

### Deprecation Notice

> \[!NOTE]
> `DD_RUNTIME_ID_ENABLED` has been deprecated and will be removed in
future releases. Please use `DD_RUNTIME_METRICS_RUNTIME_ID_ENABLED`
instead.

### Components

#### Application Security Management (WAF)

- 🐛 Add String length truncation limit to ObjectIntrospector and
update truncation metrics
([#&#8203;8825](DataDog/dd-trace-java#8825) -
[@&#8203;jandro996](https://github.com/jandro996))
- 🐛 Adapt standalone ASM to support API Security
([#&#8203;8804](DataDog/dd-trace-java#8804) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Add appsec.waf.input\_truncated metric
([#&#8203;8791](DataDog/dd-trace-java#8791) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Extended appsec request body collection
([#&#8203;8748](DataDog/dd-trace-java#8748) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Extended appsec request/response headers collection
([#&#8203;8724](DataDog/dd-trace-java#8724) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Build & Tooling

- ✨ Add artifacts to public s3 bucket
([#&#8203;8947](DataDog/dd-trace-java#8947) -
[@&#8203;randomanderson](https://github.com/randomanderson))

#### Continuous Integration Visibility

- ✨ Improve PR information building
([#&#8203;8908](DataDog/dd-trace-java#8908) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Truncate span stack traces when Test Optimization is
enabled
([#&#8203;8903](DataDog/dd-trace-java#8903) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🐛 Ensure auto-detected service name is the same for every process
in the same build
([#&#8203;8902](DataDog/dd-trace-java#8902) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🐛 Use tag as fallback in api requests if no branch is available
([#&#8203;8876](DataDog/dd-trace-java#8876) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Add support for JUnit 5.13-RC1
([#&#8203;8865](DataDog/dd-trace-java#8865),
[#&#8203;8871](DataDog/dd-trace-java#8871) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Implement attempt to fix v3 and v4 and bump capability
version
([#&#8203;8824](DataDog/dd-trace-java#8824) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- 🧹 Align retry logic for all test framework instrumentations
([#&#8203;8803](DataDog/dd-trace-java#8803) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- 🐛 Always build ci workspace without trailing separator
([#&#8203;8788](DataDog/dd-trace-java#8788) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Add commit discrepancies telemetry when building repository
git information
([#&#8203;8763](DataDog/dd-trace-java#8763) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))

#### Data Streams Monitoring

- 💡 Surface process tags in dsm payloads and use them for base hash
calculation
([#&#8203;8836](DataDog/dd-trace-java#8836) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Dynamic Instrumentation

- ✨ Optimized allocations for collection filter functions
([#&#8203;8896](DataDog/dd-trace-java#8896) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Fix SymDB upload size check
([#&#8203;8887](DataDog/dd-trace-java#8887) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Add support for Set in filter function
([#&#8203;8873](DataDog/dd-trace-java#8873) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Add support for isDefined in log template
([#&#8203;8859](DataDog/dd-trace-java#8859) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Fix Max captured frames for Exception Replay
([#&#8203;8856](DataDog/dd-trace-java#8856) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Remove static inherited fields collection
([#&#8203;8832](DataDog/dd-trace-java#8832) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 💡 Add process tags to dynamic instrumentation intake payload
([#&#8203;8779](DataDog/dd-trace-java#8779) -
[@&#8203;amarziali](https://github.com/amarziali))

#### GraalVM native-image

- ✨ Add support for GraalVM Native GC metrics
([#&#8203;8913](DataDog/dd-trace-java#8913) -
[@&#8203;ygree](https://github.com/ygree))
- ✨ Add JMXFetch support for GraalVM Native
([#&#8203;8569](DataDog/dd-trace-java#8569) -
[@&#8203;ygree](https://github.com/ygree))

#### JMX fetch

- ✨ Add support for GraalVM Native GC metrics
([#&#8203;8913](DataDog/dd-trace-java#8913) -
[@&#8203;ygree](https://github.com/ygree))

#### Library Injection

- ✨ Deny oracle db jvm based tools
([#&#8203;8909](DataDog/dd-trace-java#8909) -
[@&#8203;bric3](https://github.com/bric3))

#### OpenTracing

- 🐛 Fix OT packaging for exception replay
([#&#8203;8912](DataDog/dd-trace-java#8912) -
[@&#8203;jpbempel](https://github.com/jpbempel))

#### Profiling

- ✨ Bump ddprof to 1.27.0
([#&#8203;8893](DataDog/dd-trace-java#8893) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- Properly handle the adaptive sampling interval overflow by
[@&#8203;jbachorik](https://github.com/jbachorik) in
DataDog/java-profiler#213
- Fix [#&#8203;200](DataDog/dd-trace-java#200)
Crash related to aligned\_alloc and free in context by
[@&#8203;yanglong1010](https://github.com/yanglong1010) in
DataDog/java-profiler#208
- Explicitly initialize empty context page by
[@&#8203;jbachorik](https://github.com/jbachorik) in
DataDog/java-profiler#210
- Re-connect crash recursion protection with VM stackwalker by
[@&#8203;jbachorik](https://github.com/jbachorik) in
DataDog/java-profiler#214
- ✨ Enable ZSTD compression for profiling
([#&#8203;8862](DataDog/dd-trace-java#8862) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- ✨ Extend JPS re-implementation to J9 family
([#&#8203;8813](DataDog/dd-trace-java#8813) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- 💡 Collect process tags for profiling upload requests
([#&#8203;8780](DataDog/dd-trace-java#8780) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Telemetry

- 💡 Surface process tags on telemetry payloads
([#&#8203;8837](DataDog/dd-trace-java#8837) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Trace context propagation

- ✨ Migrating all HttpClient Instrumentations to Inject Full
Context
([#&#8203;8826](DataDog/dd-trace-java#8826) -
[@&#8203;mhlidd](https://github.com/mhlidd))
- ✨ Migrating all HttpServer Instrumentations to Extract full
Context
([#&#8203;8820](DataDog/dd-trace-java#8820) -
[@&#8203;mhlidd](https://github.com/mhlidd))
- ✨ Add context API support OTel propagators
([#&#8203;8770](DataDog/dd-trace-java#8770) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Tracer core

- ✨⚡ Skip JAXB generated classes classloader
([#&#8203;9003](DataDog/dd-trace-java#9003) -
[@&#8203;bric3](https://github.com/bric3))
- ✨ Add DD\_RUNTIME\_METRICS\_RUNTIME\_ID\_ENABLED alias for
runtime id generation
([#&#8203;8981](DataDog/dd-trace-java#8981) -
[@&#8203;amarziali](https://github.com/amarziali))
- 🐛 Use resolved address for peer.hostname when available without
hitting the cache
([#&#8203;8915](DataDog/dd-trace-java#8915) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡 Surface server name process tag for tomcat
([#&#8203;8894](DataDog/dd-trace-java#8894) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡 Surface websphere cell and server name on process tags
([#&#8203;8880](DataDog/dd-trace-java#8880) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Added special lightweight pre-main class that skips
installation on incompatible JVMs.
([#&#8203;8855](DataDog/dd-trace-java#8855) -
[@&#8203;AlexeyKuznetsov-DD](https://github.com/AlexeyKuznetsov-DD))
- 💡 Add entrypoint type to process tags
([#&#8203;8839](DataDog/dd-trace-java#8839) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Extend JPS re-implementation to J9 family
([#&#8203;8813](DataDog/dd-trace-java#8813) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- ✨ Notify listeners when the scope top changes after switching
scope stacks
([#&#8203;8797](DataDog/dd-trace-java#8797) -
[@&#8203;mcculls](https://github.com/mcculls))
- ✨ Read hsperfdata for Java PIDs if jvmstat is unavailable
([#&#8203;8792](DataDog/dd-trace-java#8792) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- 🐛 Turn JDK socket support on by default
([#&#8203;8752](DataDog/dd-trace-java#8752) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))
- ✨ Simplify context propagation
([#&#8203;8719](DataDog/dd-trace-java#8719) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨ Add JSON parsing support
([#&#8203;8579](DataDog/dd-trace-java#8579) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Tracer internal logging

- ✨ Fix printing format of span identifiers
([#&#8203;8897](DataDog/dd-trace-java#8897) -
[@&#8203;vandonr](https://github.com/vandonr))

#### Tracer public API

- 💡 Track the source of installation
([#&#8203;8956](DataDog/dd-trace-java#8956) -
[@&#8203;mabdinur](https://github.com/mabdinur))
- ✨ Enforce size limit on application\_monitoring.yaml files
([#&#8203;8789](DataDog/dd-trace-java#8789) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))
- ✨ Enabling baggage cache to support limits and non-ascii
characters
([#&#8203;8713](DataDog/dd-trace-java#8713) -
[@&#8203;mhlidd](https://github.com/mhlidd))

### Instrumentations

#### AWS Lambda instrumentation

- ✨ Pass Lambda Request ID to Extension
([#&#8203;8814](DataDog/dd-trace-java#8814) -
[@&#8203;nhulston](https://github.com/nhulston))

#### Core Java language instrumentation

- ✨ Ensure ClassloadingInstrumentation is always applied even
with `DD_TRACE_ENABLED=false`
([#&#8203;8863](DataDog/dd-trace-java#8863) -
[@&#8203;mcculls](https://github.com/mcculls))

#### Eclipse Vert.x instrumentation

- 🐛 Do not override route with / in vertx instrumentation
([#&#8203;8881](DataDog/dd-trace-java#8881) -
[@&#8203;vandonr](https://github.com/vandonr))

#### IBM Liberty

- 🐛 Fix error mark on http status for IBM liberty
([#&#8203;8822](DataDog/dd-trace-java#8822) -
[@&#8203;amarziali](https://github.com/amarziali))

#### JDBC instrumentation

- 🐛 Do not prepend DBM <> APM trace comment in SQLCommenter if there
is a pg plan hint
([#&#8203;8864](DataDog/dd-trace-java#8864) -
[@&#8203;edengorevoy](https://github.com/edengorevoy))

#### JMS instrumentation

- ✨ Add jms as an extra integration name where there is JMS
involved
([#&#8203;8933](DataDog/dd-trace-java#8933) -
[@&#8203;vandonr](https://github.com/vandonr))

#### Kotlin instrumentation

- ✨ Enable kotlin\_coroutine integration by default
([#&#8203;8848](DataDog/dd-trace-java#8848) -
[@&#8203;mcculls](https://github.com/mcculls))
- 🧹 Rework Kotlin coroutines instrumentation around coroutine
context
([#&#8203;8774](DataDog/dd-trace-java#8774) -
[@&#8203;mcculls](https://github.com/mcculls))

#### OpenTelemetry instrumentation

- 🐛 Support WithSpan inheritContext attribute
([#&#8203;8858](DataDog/dd-trace-java#8858) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Add context API support OTel propagators
([#&#8203;8770](DataDog/dd-trace-java#8770) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Play Framework instrumentation

- 🐛 Fix the Play Framework's span resource name priority so that the
client JAX-RS 404 cannot override it
([#&#8203;8591](DataDog/dd-trace-java#8591) -
[@&#8203;ygree](https://github.com/ygree))

#### Quarkus Instrumentation

- 🐛 Ignore quarkus jaxrs stubs and cdi wrapper proxies
([#&#8203;8891](DataDog/dd-trace-java#8891) -
[@&#8203;amarziali](https://github.com/amarziali))

#### ServiceTalk

- ✨ Improve ServiceTalk Captured Context API Instrumentation
for v0.42.56+
([#&#8203;8821](DataDog/dd-trace-java#8821) -
[@&#8203;ygree](https://github.com/ygree))

#### Spring instrumentation

- ✨ Supporting Baggage for Instrumentations used in Weblog
Tests
([#&#8203;8773](DataDog/dd-trace-java#8773) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### WebSocket Instrumentation

- 💡 Trace websocket for spring webflux reactive handlers
([#&#8203;8831](DataDog/dd-trace-java#8831) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡:test\_tube: WebSocket support for Netty
([#&#8203;8632](DataDog/dd-trace-java#8632) -
[@&#8203;ValentinZakharov](https://github.com/ValentinZakharov))

#### Zio Instrumentation

- 🧹 Cleanup Zio fiber instrumentation to avoid repeated activation
of continuation
([#&#8203;8798](DataDog/dd-trace-java#8798) -
[@&#8203;mcculls](https://github.com/mcculls))

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

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- 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: 9207366cdb6a1bd098082305d354a0a3c4622d7a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inst: others All other instrumentations type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants