Skip to content

Add entrypoint type to process tags #8839

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 2 commits into from
May 27, 2025
Merged

Conversation

amarziali
Copy link
Collaborator

What Does This Do

Add entrypoint.type to process tags. For java it will allow a couple of values:

  • class if the entrypoint.name is sourced from the main class (ie java -cp .. some.cls.Name`)
  • jar if the entrypoint.name is sourced from the jar file (i.e. java -jar ...)

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@amarziali amarziali requested a review from a team as a code owner May 16, 2025 12:56
@amarziali amarziali requested a review from dougqh May 16, 2025 12:56
@amarziali amarziali requested a review from raphaelgavache May 16, 2025 12:57
@pr-commenter
Copy link

pr-commenter bot commented May 16, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/entrypoint_type
git_commit_date 1746789389 1748329815
git_commit_sha ad6d5fe 7855cd8
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~7855cd80a9
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1748332322 1748332322
ci_job_id 954815973 954815973
ci_pipeline_id 66155345 66155345
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-qshkhgbg-project-304-concurrent-0-n38xq3ra 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-qshkhgbg-project-304-concurrent-0-n38xq3ra 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 3 performance improvements and 1 performance regressions! Performance is the same for 54 metrics, 13 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:startup:petclinic:profiling:ProfilingAgent better
[-9.948ms; -3.135ms] or [-8.954%; -2.822%]
104.556ms 111.098ms
scenario:startup:petclinic:profiling:GlobalTracer better
[-25.269ms; -16.683ms] or [-6.635%; -4.380%]
359.897ms 380.873ms
scenario:startup:petclinic:profiling:AppSec worse
[+4.753ms; +7.909ms] or [+8.602%; +14.315%]
61.580ms 55.249ms
scenario:startup:petclinic:profiling:Profiling better
[-9.949ms; -3.136ms] or [-8.953%; -2.822%]
104.581ms 111.123ms
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.50.0-SNAPSHOT~7855cd80a9, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.02 s) : 0, 1020326
Total [baseline] (10.528 s) : 0, 10528391
Agent [candidate] (1.029 s) : 0, 1028817
Total [candidate] (10.468 s) : 0, 10467774
section appsec
Agent [baseline] (1.162 s) : 0, 1161615
Total [baseline] (10.747 s) : 0, 10747311
Agent [candidate] (1.178 s) : 0, 1177671
Total [candidate] (10.747 s) : 0, 10746809
section iast
Agent [baseline] (1.153 s) : 0, 1153143
Total [baseline] (10.969 s) : 0, 10969356
Agent [candidate] (1.162 s) : 0, 1161878
Total [candidate] (10.951 s) : 0, 10951317
section profiling
Agent [baseline] (1.291 s) : 0, 1290705
Total [baseline] (10.999 s) : 0, 10998709
Agent [candidate] (1.267 s) : 0, 1266678
Total [candidate] (10.78 s) : 0, 10779981
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.02 s -
Agent appsec 1.162 s 141.289 ms (13.8%)
Agent iast 1.153 s 132.817 ms (13.0%)
Agent profiling 1.291 s 270.38 ms (26.5%)
Total tracing 10.528 s -
Total appsec 10.747 s 218.92 ms (2.1%)
Total iast 10.969 s 440.964 ms (4.2%)
Total profiling 10.999 s 470.318 ms (4.5%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.029 s -
Agent appsec 1.178 s 148.853 ms (14.5%)
Agent iast 1.162 s 133.061 ms (12.9%)
Agent profiling 1.267 s 237.86 ms (23.1%)
Total tracing 10.468 s -
Total appsec 10.747 s 279.035 ms (2.7%)
Total iast 10.951 s 483.543 ms (4.6%)
Total profiling 10.78 s 312.208 ms (3.0%)
gantt
    title petclinic - break down per module: candidate=1.50.0-SNAPSHOT~7855cd80a9, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (684.514 ms) : 0, 684514
BytebuddyAgent [candidate] (689.585 ms) : 0, 689585
GlobalTracer [baseline] (240.725 ms) : 0, 240725
GlobalTracer [candidate] (241.298 ms) : 0, 241298
AppSec [baseline] (54.532 ms) : 0, 54532
AppSec [candidate] (54.626 ms) : 0, 54626
Debugger [baseline] (6.276 ms) : 0, 6276
Debugger [candidate] (8.369 ms) : 0, 8369
Remote Config [baseline] (706.002 µs) : 0, 706
Remote Config [candidate] (700.64 µs) : 0, 701
Telemetry [baseline] (9.923 ms) : 0, 9923
Telemetry [candidate] (10.507 ms) : 0, 10507
section appsec
BytebuddyAgent [baseline] (699.636 ms) : 0, 699636
BytebuddyAgent [candidate] (711.269 ms) : 0, 711269
GlobalTracer [baseline] (237.16 ms) : 0, 237160
GlobalTracer [candidate] (240.174 ms) : 0, 240174
IAST [baseline] (21.743 ms) : 0, 21743
IAST [candidate] (21.945 ms) : 0, 21945
AppSec [baseline] (176.421 ms) : 0, 176421
AppSec [candidate] (177.2 ms) : 0, 177200
Debugger [baseline] (5.955 ms) : 0, 5955
Debugger [candidate] (6.023 ms) : 0, 6023
Remote Config [baseline] (628.878 µs) : 0, 629
Remote Config [candidate] (639.963 µs) : 0, 640
Telemetry [baseline] (7.455 ms) : 0, 7455
Telemetry [candidate] (7.478 ms) : 0, 7478
section iast
BytebuddyAgent [baseline] (804.455 ms) : 0, 804455
BytebuddyAgent [candidate] (811.488 ms) : 0, 811488
GlobalTracer [baseline] (231.38 ms) : 0, 231380
GlobalTracer [candidate] (233.176 ms) : 0, 233176
IAST [baseline] (25.895 ms) : 0, 25895
IAST [candidate] (27.592 ms) : 0, 27592
AppSec [baseline] (52.53 ms) : 0, 52530
AppSec [candidate] (51.368 ms) : 0, 51368
Debugger [baseline] (5.957 ms) : 0, 5957
Debugger [candidate] (5.983 ms) : 0, 5983
Remote Config [baseline] (602.915 µs) : 0, 603
Remote Config [candidate] (615.787 µs) : 0, 616
Telemetry [baseline] (7.96 ms) : 0, 7960
Telemetry [candidate] (8.016 ms) : 0, 8016
section profiling
BytebuddyAgent [baseline] (677.313 ms) : 0, 677313
BytebuddyAgent [candidate] (674.458 ms) : 0, 674458
GlobalTracer [baseline] (380.873 ms) : 0, 380873
GlobalTracer [candidate] (359.897 ms) : 0, 359897
AppSec [baseline] (55.249 ms) : 0, 55249
AppSec [candidate] (61.58 ms) : 0, 61580
Debugger [baseline] (6.228 ms) : 0, 6228
Debugger [candidate] (6.341 ms) : 0, 6341
Remote Config [baseline] (677.8 µs) : 0, 678
Remote Config [candidate] (655.707 µs) : 0, 656
Telemetry [baseline] (8.266 ms) : 0, 8266
Telemetry [candidate] (8.268 ms) : 0, 8268
ProfilingAgent [baseline] (111.098 ms) : 0, 111098
ProfilingAgent [candidate] (104.556 ms) : 0, 104556
Profiling [baseline] (111.123 ms) : 0, 111123
Profiling [candidate] (104.581 ms) : 0, 104581
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.50.0-SNAPSHOT~7855cd80a9, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.019 s) : 0, 1018923
Total [baseline] (8.631 s) : 0, 8631082
Agent [candidate] (1.024 s) : 0, 1024392
Total [candidate] (8.719 s) : 0, 8719331
section iast
Agent [baseline] (1.147 s) : 0, 1147475
Total [baseline] (9.231 s) : 0, 9231096
Agent [candidate] (1.15 s) : 0, 1149780
Total [candidate] (9.229 s) : 0, 9228658
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.148 s) : 0, 1148019
Total [baseline] (9.292 s) : 0, 9292320
Agent [candidate] (1.151 s) : 0, 1150990
Total [candidate] (9.196 s) : 0, 9195987
section iast_TELEMETRY_OFF
Agent [baseline] (1.153 s) : 0, 1153484
Total [baseline] (9.226 s) : 0, 9226365
Agent [candidate] (1.147 s) : 0, 1147158
Total [candidate] (9.254 s) : 0, 9254398
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.019 s -
Agent iast 1.147 s 128.552 ms (12.6%)
Agent iast_HARDCODED_SECRET_DISABLED 1.148 s 129.097 ms (12.7%)
Agent iast_TELEMETRY_OFF 1.153 s 134.561 ms (13.2%)
Total tracing 8.631 s -
Total iast 9.231 s 600.014 ms (7.0%)
Total iast_HARDCODED_SECRET_DISABLED 9.292 s 661.238 ms (7.7%)
Total iast_TELEMETRY_OFF 9.226 s 595.283 ms (6.9%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.024 s -
Agent iast 1.15 s 125.388 ms (12.2%)
Agent iast_HARDCODED_SECRET_DISABLED 1.151 s 126.598 ms (12.4%)
Agent iast_TELEMETRY_OFF 1.147 s 122.766 ms (12.0%)
Total tracing 8.719 s -
Total iast 9.229 s 509.327 ms (5.8%)
Total iast_HARDCODED_SECRET_DISABLED 9.196 s 476.656 ms (5.5%)
Total iast_TELEMETRY_OFF 9.254 s 535.067 ms (6.1%)
gantt
    title insecure-bank - break down per module: candidate=1.50.0-SNAPSHOT~7855cd80a9, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (681.693 ms) : 0, 681693
BytebuddyAgent [candidate] (686.604 ms) : 0, 686604
GlobalTracer [baseline] (238.915 ms) : 0, 238915
GlobalTracer [candidate] (240.137 ms) : 0, 240137
AppSec [baseline] (55.361 ms) : 0, 55361
AppSec [candidate] (54.458 ms) : 0, 54458
Debugger [baseline] (9.767 ms) : 0, 9767
Debugger [candidate] (10.64 ms) : 0, 10640
Remote Config [baseline] (697.829 µs) : 0, 698
Remote Config [candidate] (713.167 µs) : 0, 713
Telemetry [baseline] (9.05 ms) : 0, 9050
Telemetry [candidate] (8.287 ms) : 0, 8287
section iast
BytebuddyAgent [baseline] (801.64 ms) : 0, 801640
BytebuddyAgent [candidate] (802.519 ms) : 0, 802519
GlobalTracer [baseline] (229.943 ms) : 0, 229943
GlobalTracer [candidate] (230.847 ms) : 0, 230847
IAST [baseline] (28.87 ms) : 0, 28870
IAST [candidate] (28.247 ms) : 0, 28247
AppSec [baseline] (49.317 ms) : 0, 49317
AppSec [candidate] (50.176 ms) : 0, 50176
Debugger [baseline] (5.919 ms) : 0, 5919
Debugger [candidate] (5.966 ms) : 0, 5966
Remote Config [baseline] (587.332 µs) : 0, 587
Remote Config [candidate] (603.713 µs) : 0, 604
Telemetry [baseline] (7.799 ms) : 0, 7799
Telemetry [candidate] (7.875 ms) : 0, 7875
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (801.048 ms) : 0, 801048
BytebuddyAgent [candidate] (803.101 ms) : 0, 803101
GlobalTracer [baseline] (230.332 ms) : 0, 230332
GlobalTracer [candidate] (231.332 ms) : 0, 231332
IAST [baseline] (27.625 ms) : 0, 27625
IAST [candidate] (28.336 ms) : 0, 28336
AppSec [baseline] (49.528 ms) : 0, 49528
AppSec [candidate] (50.271 ms) : 0, 50271
Debugger [baseline] (5.939 ms) : 0, 5939
Debugger [candidate] (5.922 ms) : 0, 5922
Remote Config [baseline] (603.354 µs) : 0, 603
Remote Config [candidate] (591.154 µs) : 0, 591
Telemetry [baseline] (7.93 ms) : 0, 7930
Telemetry [candidate] (7.887 ms) : 0, 7887
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (805.435 ms) : 0, 805435
BytebuddyAgent [candidate] (799.833 ms) : 0, 799833
GlobalTracer [baseline] (231.783 ms) : 0, 231783
GlobalTracer [candidate] (230.913 ms) : 0, 230913
IAST [baseline] (24.004 ms) : 0, 24004
IAST [candidate] (23.12 ms) : 0, 23120
AppSec [baseline] (54.291 ms) : 0, 54291
AppSec [candidate] (55.32 ms) : 0, 55320
Debugger [baseline] (5.942 ms) : 0, 5942
Debugger [candidate] (5.936 ms) : 0, 5936
Remote Config [baseline] (593.616 µs) : 0, 594
Remote Config [candidate] (620.239 µs) : 0, 620
Telemetry [baseline] (7.732 ms) : 0, 7732
Telemetry [candidate] (7.842 ms) : 0, 7842
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
end_time 2025-05-27T07:21:12 2025-05-27T07:28:59
git_branch master andrea.marziali/entrypoint_type
git_commit_date 1746789389 1748329815
git_commit_sha ad6d5fe 7855cd8
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~7855cd80a9
start_time 2025-05-27T07:20:58 2025-05-27T07:28:44
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1748331337 1748331337
ci_job_id 954815974 954815974
ci_pipeline_id 66155345 66155345
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-dtsgutkg-project-304-concurrent-0-bwt4deqc 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-dtsgutkg-project-304-concurrent-0-bwt4deqc 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 1 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 18 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:petclinic:iast better
[-85.921µs; -33.441µs] or [-5.491%; -2.137%]
unstable
[-292.914op/s; +766.988op/s] or [-9.886%; +25.886%]
1.505ms 3200.000op/s 1.565ms 2962.963op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~7855cd80a9, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (388.839 µs) : 369, 409
.   : milestone, 389,
iast (520.144 µs) : 498, 542
.   : milestone, 520,
iast_FULL (732.952 µs) : 711, 755
.   : milestone, 733,
iast_GLOBAL (569.102 µs) : 547, 591
.   : milestone, 569,
iast_HARDCODED_SECRET_DISABLED (525.903 µs) : 504, 548
.   : milestone, 526,
iast_INACTIVE (462.786 µs) : 442, 484
.   : milestone, 463,
iast_TELEMETRY_OFF (522.205 µs) : 499, 545
.   : milestone, 522,
tracing (466.422 µs) : 444, 489
.   : milestone, 466,
section candidate
no_agent (382.816 µs) : 362, 403
.   : milestone, 383,
iast (530.335 µs) : 507, 554
.   : milestone, 530,
iast_FULL (743.434 µs) : 722, 765
.   : milestone, 743,
iast_GLOBAL (566.942 µs) : 545, 589
.   : milestone, 567,
iast_HARDCODED_SECRET_DISABLED (523.228 µs) : 500, 547
.   : milestone, 523,
iast_INACTIVE (474.488 µs) : 452, 497
.   : milestone, 474,
iast_TELEMETRY_OFF (509.599 µs) : 487, 533
.   : milestone, 510,
tracing (463.097 µs) : 441, 485
.   : milestone, 463,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 388.839 µs [368.549 µs, 409.129 µs] -
iast 520.144 µs [498.276 µs, 542.013 µs] 131.306 µs (33.8%)
iast_FULL 732.952 µs [711.007 µs, 754.897 µs] 344.113 µs (88.5%)
iast_GLOBAL 569.102 µs [546.805 µs, 591.399 µs] 180.263 µs (46.4%)
iast_HARDCODED_SECRET_DISABLED 525.903 µs [503.71 µs, 548.096 µs] 137.064 µs (35.2%)
iast_INACTIVE 462.786 µs [441.968 µs, 483.604 µs] 73.947 µs (19.0%)
iast_TELEMETRY_OFF 522.205 µs [499.061 µs, 545.35 µs] 133.366 µs (34.3%)
tracing 466.422 µs [444.065 µs, 488.779 µs] 77.583 µs (20.0%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 382.816 µs [362.381 µs, 403.252 µs] -
iast 530.335 µs [507.003 µs, 553.668 µs] 147.519 µs (38.5%)
iast_FULL 743.434 µs [721.583 µs, 765.285 µs] 360.618 µs (94.2%)
iast_GLOBAL 566.942 µs [545.12 µs, 588.765 µs] 184.126 µs (48.1%)
iast_HARDCODED_SECRET_DISABLED 523.228 µs [499.885 µs, 546.57 µs] 140.411 µs (36.7%)
iast_INACTIVE 474.488 µs [451.545 µs, 497.431 µs] 91.672 µs (23.9%)
iast_TELEMETRY_OFF 509.599 µs [486.542 µs, 532.656 µs] 126.783 µs (33.1%)
tracing 463.097 µs [440.882 µs, 485.311 µs] 80.28 µs (21.0%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~7855cd80a9, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.364 ms) : 1345, 1384
.   : milestone, 1364,
appsec (1.737 ms) : 1713, 1761
.   : milestone, 1737,
appsec_no_iast (1.737 ms) : 1713, 1761
.   : milestone, 1737,
code_origins (1.69 ms) : 1663, 1718
.   : milestone, 1690,
iast (1.565 ms) : 1541, 1589
.   : milestone, 1565,
profiling (1.508 ms) : 1484, 1531
.   : milestone, 1508,
tracing (1.503 ms) : 1477, 1528
.   : milestone, 1503,
section candidate
no_agent (1.361 ms) : 1340, 1381
.   : milestone, 1361,
appsec (1.733 ms) : 1710, 1757
.   : milestone, 1733,
appsec_no_iast (1.717 ms) : 1694, 1740
.   : milestone, 1717,
code_origins (1.68 ms) : 1652, 1707
.   : milestone, 1680,
iast (1.505 ms) : 1480, 1530
.   : milestone, 1505,
profiling (1.556 ms) : 1531, 1580
.   : milestone, 1556,
tracing (1.482 ms) : 1457, 1506
.   : milestone, 1482,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.364 ms [1.345 ms, 1.384 ms] -
appsec 1.737 ms [1.713 ms, 1.761 ms] 372.286 µs (27.3%)
appsec_no_iast 1.737 ms [1.713 ms, 1.761 ms] 372.665 µs (27.3%)
code_origins 1.69 ms [1.663 ms, 1.718 ms] 325.882 µs (23.9%)
iast 1.565 ms [1.541 ms, 1.589 ms] 200.378 µs (14.7%)
profiling 1.508 ms [1.484 ms, 1.531 ms] 143.328 µs (10.5%)
tracing 1.503 ms [1.477 ms, 1.528 ms] 138.245 µs (10.1%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.361 ms [1.34 ms, 1.381 ms] -
appsec 1.733 ms [1.71 ms, 1.757 ms] 372.469 µs (27.4%)
appsec_no_iast 1.717 ms [1.694 ms, 1.74 ms] 356.008 µs (26.2%)
code_origins 1.68 ms [1.652 ms, 1.707 ms] 319.012 µs (23.4%)
iast 1.505 ms [1.48 ms, 1.53 ms] 144.246 µs (10.6%)
profiling 1.556 ms [1.531 ms, 1.58 ms] 195.101 µs (14.3%)
tracing 1.482 ms [1.457 ms, 1.506 ms] 121.128 µs (8.9%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/entrypoint_type
git_commit_date 1746789389 1748329815
git_commit_sha ad6d5fe 7855cd8
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~7855cd80a9
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1748331911 1748331911
ci_job_id 954815975 954815975
ci_pipeline_id 66155345 66155345
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-8t2n4jps-project-304-concurrent-0-ao6w1339 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-8t2n4jps-project-304-concurrent-0-ao6w1339 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 11 metrics, 1 unstable metrics.

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~7855cd80a9, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.475 ms) : 1464, 1487
.   : milestone, 1475,
appsec (2.398 ms) : 2350, 2446
.   : milestone, 2398,
iast (2.179 ms) : 2118, 2240
.   : milestone, 2179,
iast_GLOBAL (2.218 ms) : 2157, 2279
.   : milestone, 2218,
profiling (2.494 ms) : 2311, 2677
.   : milestone, 2494,
tracing (2.0 ms) : 1953, 2047
.   : milestone, 2000,
section candidate
no_agent (1.479 ms) : 1467, 1490
.   : milestone, 1479,
appsec (2.404 ms) : 2356, 2453
.   : milestone, 2404,
iast (2.179 ms) : 2119, 2240
.   : milestone, 2179,
iast_GLOBAL (2.219 ms) : 2158, 2280
.   : milestone, 2219,
profiling (2.038 ms) : 1988, 2088
.   : milestone, 2038,
tracing (2.013 ms) : 1966, 2061
.   : milestone, 2013,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.475 ms [1.464 ms, 1.487 ms] -
appsec 2.398 ms [2.35 ms, 2.446 ms] 922.984 µs (62.6%)
iast 2.179 ms [2.118 ms, 2.24 ms] 704.081 µs (47.7%)
iast_GLOBAL 2.218 ms [2.157 ms, 2.279 ms] 743.087 µs (50.4%)
profiling 2.494 ms [2.311 ms, 2.677 ms] 1.018 ms (69.0%)
tracing 2.0 ms [1.953 ms, 2.047 ms] 524.704 µs (35.6%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.479 ms [1.467 ms, 1.49 ms] -
appsec 2.404 ms [2.356 ms, 2.453 ms] 925.445 µs (62.6%)
iast 2.179 ms [2.119 ms, 2.24 ms] 700.356 µs (47.4%)
iast_GLOBAL 2.219 ms [2.158 ms, 2.28 ms] 739.783 µs (50.0%)
profiling 2.038 ms [1.988 ms, 2.088 ms] 558.705 µs (37.8%)
tracing 2.013 ms [1.966 ms, 2.061 ms] 534.504 µs (36.1%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~7855cd80a9, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.52 s) : 15520000, 15520000
.   : milestone, 15520000,
appsec (14.965 s) : 14965000, 14965000
.   : milestone, 14965000,
iast (18.775 s) : 18775000, 18775000
.   : milestone, 18775000,
iast_GLOBAL (18.307 s) : 18307000, 18307000
.   : milestone, 18307000,
profiling (14.877 s) : 14877000, 14877000
.   : milestone, 14877000,
tracing (15.173 s) : 15173000, 15173000
.   : milestone, 15173000,
section candidate
no_agent (15.733 s) : 15733000, 15733000
.   : milestone, 15733000,
appsec (20.894 s) : 20894000, 20894000
.   : milestone, 20894000,
iast (19.169 s) : 19169000, 19169000
.   : milestone, 19169000,
iast_GLOBAL (18.125 s) : 18125000, 18125000
.   : milestone, 18125000,
profiling (15.009 s) : 15009000, 15009000
.   : milestone, 15009000,
tracing (15.028 s) : 15028000, 15028000
.   : milestone, 15028000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.52 s [15.52 s, 15.52 s] -
appsec 14.965 s [14.965 s, 14.965 s] -555.0 ms (-3.6%)
iast 18.775 s [18.775 s, 18.775 s] 3.255 s (21.0%)
iast_GLOBAL 18.307 s [18.307 s, 18.307 s] 2.787 s (18.0%)
profiling 14.877 s [14.877 s, 14.877 s] -643.0 ms (-4.1%)
tracing 15.173 s [15.173 s, 15.173 s] -347.0 ms (-2.2%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.733 s [15.733 s, 15.733 s] -
appsec 20.894 s [20.894 s, 20.894 s] 5.161 s (32.8%)
iast 19.169 s [19.169 s, 19.169 s] 3.436 s (21.8%)
iast_GLOBAL 18.125 s [18.125 s, 18.125 s] 2.392 s (15.2%)
profiling 15.009 s [15.009 s, 15.009 s] -724.0 ms (-4.6%)
tracing 15.028 s [15.028 s, 15.028 s] -705.0 ms (-4.5%)

@amarziali amarziali force-pushed the andrea.marziali/telemetry branch from 0d18758 to 1c0de44 Compare May 22, 2025 13:25
@amarziali amarziali requested review from a team as code owners May 22, 2025 13:25
Base automatically changed from andrea.marziali/telemetry to master May 22, 2025 13:59
@amarziali amarziali force-pushed the andrea.marziali/entrypoint_type branch from 6e62e42 to cda347b Compare May 26, 2025 06:51
@amarziali amarziali removed the request for review from a team May 26, 2025 06:52
@amarziali amarziali merged commit 5abafc3 into master May 27, 2025
523 of 524 checks passed
@amarziali amarziali deleted the andrea.marziali/entrypoint_type branch May 27, 2025 09:19
@github-actions github-actions bot added this to the 1.50.0 milestone May 27, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants