-
Notifications
You must be signed in to change notification settings - Fork 320
Jetty leaking out of :dd-java-agent:testing
#10218
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
Open
bric3
wants to merge
11
commits into
master
Choose a base branch
from
bdu/fix-jetty-leaking-out-of-testing
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+131
−83
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 57 metrics, 8 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.57.0-SNAPSHOT~0d4dc6fb85, baseline=1.57.0-SNAPSHOT~cebe04f7d3
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.085 s) : 0, 1084917
Total [baseline] (8.772 s) : 0, 8771971
Agent [candidate] (1.079 s) : 0, 1079253
Total [candidate] (8.736 s) : 0, 8736222
section iast
Agent [baseline] (1.224 s) : 0, 1224288
Total [baseline] (9.411 s) : 0, 9410647
Agent [candidate] (1.236 s) : 0, 1236177
Total [candidate] (9.39 s) : 0, 9389668
gantt
title insecure-bank - break down per module: candidate=1.57.0-SNAPSHOT~0d4dc6fb85, baseline=1.57.0-SNAPSHOT~cebe04f7d3
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.189 ms) : 0, 1189
crashtracking [candidate] (1.184 ms) : 0, 1184
BytebuddyAgent [baseline] (651.952 ms) : 0, 651952
BytebuddyAgent [candidate] (647.823 ms) : 0, 647823
GlobalTracer [baseline] (283.498 ms) : 0, 283498
GlobalTracer [candidate] (282.133 ms) : 0, 282133
AppSec [baseline] (32.349 ms) : 0, 32349
AppSec [candidate] (32.262 ms) : 0, 32262
Debugger [baseline] (67.138 ms) : 0, 67138
Debugger [candidate] (67.043 ms) : 0, 67043
Remote Config [baseline] (623.808 µs) : 0, 624
Remote Config [candidate] (635.72 µs) : 0, 636
Telemetry [baseline] (8.932 ms) : 0, 8932
Telemetry [candidate] (9.013 ms) : 0, 9013
Flare Poller [baseline] (3.716 ms) : 0, 3716
Flare Poller [candidate] (3.805 ms) : 0, 3805
section iast
crashtracking [baseline] (1.184 ms) : 0, 1184
crashtracking [candidate] (1.228 ms) : 0, 1228
BytebuddyAgent [baseline] (791.285 ms) : 0, 791285
BytebuddyAgent [candidate] (800.411 ms) : 0, 800411
GlobalTracer [baseline] (256.411 ms) : 0, 256411
GlobalTracer [candidate] (258.519 ms) : 0, 258519
IAST [baseline] (27.394 ms) : 0, 27394
IAST [candidate] (27.371 ms) : 0, 27371
AppSec [baseline] (33.586 ms) : 0, 33586
AppSec [candidate] (32.927 ms) : 0, 32927
Debugger [baseline] (66.588 ms) : 0, 66588
Debugger [candidate] (67.606 ms) : 0, 67606
Remote Config [baseline] (580.114 µs) : 0, 580
Remote Config [candidate] (566.126 µs) : 0, 566
Telemetry [baseline] (8.428 ms) : 0, 8428
Telemetry [candidate] (8.474 ms) : 0, 8474
Flare Poller [baseline] (3.584 ms) : 0, 3584
Flare Poller [candidate] (3.508 ms) : 0, 3508
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.57.0-SNAPSHOT~0d4dc6fb85, baseline=1.57.0-SNAPSHOT~cebe04f7d3
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.08 s) : 0, 1080201
Total [baseline] (10.826 s) : 0, 10826262
Agent [candidate] (1.082 s) : 0, 1081736
Total [candidate] (10.751 s) : 0, 10750705
section appsec
Agent [baseline] (1.267 s) : 0, 1267382
Total [baseline] (11.022 s) : 0, 11022425
Agent [candidate] (1.262 s) : 0, 1262161
Total [candidate] (10.97 s) : 0, 10970435
section iast
Agent [baseline] (1.226 s) : 0, 1225993
Total [baseline] (11.122 s) : 0, 11121822
Agent [candidate] (1.219 s) : 0, 1219467
Total [candidate] (11.211 s) : 0, 11210817
section profiling
Agent [baseline] (1.203 s) : 0, 1202743
Total [baseline] (10.889 s) : 0, 10888541
Agent [candidate] (1.202 s) : 0, 1201624
Total [candidate] (10.995 s) : 0, 10995469
gantt
title petclinic - break down per module: candidate=1.57.0-SNAPSHOT~0d4dc6fb85, baseline=1.57.0-SNAPSHOT~cebe04f7d3
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.182 ms) : 0, 1182
crashtracking [candidate] (1.172 ms) : 0, 1172
BytebuddyAgent [baseline] (647.875 ms) : 0, 647875
BytebuddyAgent [candidate] (648.316 ms) : 0, 648316
GlobalTracer [baseline] (282.18 ms) : 0, 282180
GlobalTracer [candidate] (282.79 ms) : 0, 282790
AppSec [baseline] (32.259 ms) : 0, 32259
AppSec [candidate] (32.411 ms) : 0, 32411
Debugger [baseline] (68.082 ms) : 0, 68082
Debugger [candidate] (68.344 ms) : 0, 68344
Remote Config [baseline] (612.319 µs) : 0, 612
Remote Config [candidate] (613.385 µs) : 0, 613
Telemetry [baseline] (8.892 ms) : 0, 8892
Telemetry [candidate] (8.96 ms) : 0, 8960
Flare Poller [baseline] (3.714 ms) : 0, 3714
Flare Poller [candidate] (3.722 ms) : 0, 3722
section appsec
crashtracking [baseline] (1.197 ms) : 0, 1197
crashtracking [candidate] (1.192 ms) : 0, 1192
BytebuddyAgent [baseline] (691.93 ms) : 0, 691930
BytebuddyAgent [candidate] (688.361 ms) : 0, 688361
GlobalTracer [baseline] (259.911 ms) : 0, 259911
GlobalTracer [candidate] (258.763 ms) : 0, 258763
AppSec [baseline] (170.995 ms) : 0, 170995
AppSec [candidate] (172.259 ms) : 0, 172259
Debugger [baseline] (69.324 ms) : 0, 69324
Debugger [candidate] (68.022 ms) : 0, 68022
Remote Config [baseline] (699.666 µs) : 0, 700
Remote Config [candidate] (717.776 µs) : 0, 718
Telemetry [baseline] (9.076 ms) : 0, 9076
Telemetry [candidate] (8.995 ms) : 0, 8995
Flare Poller [baseline] (3.876 ms) : 0, 3876
Flare Poller [candidate] (3.865 ms) : 0, 3865
IAST [baseline] (24.654 ms) : 0, 24654
IAST [candidate] (24.518 ms) : 0, 24518
section iast
crashtracking [baseline] (1.185 ms) : 0, 1185
crashtracking [candidate] (1.171 ms) : 0, 1171
BytebuddyAgent [baseline] (792.497 ms) : 0, 792497
BytebuddyAgent [candidate] (788.044 ms) : 0, 788044
GlobalTracer [baseline] (256.095 ms) : 0, 256095
GlobalTracer [candidate] (255.009 ms) : 0, 255009
AppSec [baseline] (33.788 ms) : 0, 33788
AppSec [candidate] (34.178 ms) : 0, 34178
Debugger [baseline] (67.439 ms) : 0, 67439
Debugger [candidate] (66.279 ms) : 0, 66279
Remote Config [baseline] (553.813 µs) : 0, 554
Remote Config [candidate] (592.526 µs) : 0, 593
Telemetry [baseline] (8.469 ms) : 0, 8469
Telemetry [candidate] (8.464 ms) : 0, 8464
Flare Poller [baseline] (3.52 ms) : 0, 3520
Flare Poller [candidate] (3.481 ms) : 0, 3481
IAST [baseline] (27.093 ms) : 0, 27093
IAST [candidate] (27.16 ms) : 0, 27160
section profiling
ProfilingAgent [baseline] (96.566 ms) : 0, 96566
ProfilingAgent [candidate] (96.498 ms) : 0, 96498
crashtracking [baseline] (1.215 ms) : 0, 1215
crashtracking [candidate] (1.207 ms) : 0, 1207
BytebuddyAgent [baseline] (700.994 ms) : 0, 700994
BytebuddyAgent [candidate] (700.041 ms) : 0, 700041
GlobalTracer [baseline] (220.851 ms) : 0, 220851
GlobalTracer [candidate] (220.662 ms) : 0, 220662
AppSec [baseline] (32.153 ms) : 0, 32153
AppSec [candidate] (32.045 ms) : 0, 32045
Debugger [baseline] (68.148 ms) : 0, 68148
Debugger [candidate] (68.263 ms) : 0, 68263
Remote Config [baseline] (647.773 µs) : 0, 648
Remote Config [candidate] (620.605 µs) : 0, 621
Telemetry [baseline] (8.84 ms) : 0, 8840
Telemetry [candidate] (8.875 ms) : 0, 8875
Flare Poller [baseline] (3.692 ms) : 0, 3692
Flare Poller [candidate] (3.742 ms) : 0, 3742
Profiling [baseline] (97.138 ms) : 0, 97138
Profiling [candidate] (97.069 ms) : 0, 97069
LoadParameters
See matching parameters
SummaryFound 4 performance improvements and 6 performance regressions! Performance is the same for 11 metrics, 15 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~0d4dc6fb85, baseline=1.57.0-SNAPSHOT~cebe04f7d3
dateFormat X
axisFormat %s
section baseline
no_agent (1.195 ms) : 1183, 1207
. : milestone, 1195,
iast (3.164 ms) : 3119, 3210
. : milestone, 3164,
iast_FULL (5.768 ms) : 5711, 5824
. : milestone, 5768,
iast_GLOBAL (3.598 ms) : 3545, 3650
. : milestone, 3598,
profiling (1.991 ms) : 1972, 2010
. : milestone, 1991,
tracing (1.839 ms) : 1824, 1855
. : milestone, 1839,
section candidate
no_agent (1.173 ms) : 1161, 1184
. : milestone, 1173,
iast (3.237 ms) : 3196, 3278
. : milestone, 3237,
iast_FULL (5.644 ms) : 5588, 5700
. : milestone, 5644,
iast_GLOBAL (3.304 ms) : 3260, 3348
. : milestone, 3304,
profiling (2.104 ms) : 2085, 2122
. : milestone, 2104,
tracing (1.801 ms) : 1787, 1816
. : milestone, 1801,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~0d4dc6fb85, baseline=1.57.0-SNAPSHOT~cebe04f7d3
dateFormat X
axisFormat %s
section baseline
no_agent (16.814 ms) : 16650, 16978
. : milestone, 16814,
appsec (19.372 ms) : 19173, 19570
. : milestone, 19372,
code_origins (17.692 ms) : 17515, 17870
. : milestone, 17692,
iast (17.587 ms) : 17413, 17761
. : milestone, 17587,
profiling (18.755 ms) : 18564, 18946
. : milestone, 18755,
tracing (17.849 ms) : 17671, 18028
. : milestone, 17849,
section candidate
no_agent (18.133 ms) : 17948, 18319
. : milestone, 18133,
appsec (18.248 ms) : 18067, 18430
. : milestone, 18248,
code_origins (18.79 ms) : 18606, 18974
. : milestone, 18790,
iast (18.729 ms) : 18538, 18921
. : milestone, 18729,
profiling (19.71 ms) : 19508, 19912
. : milestone, 19710,
tracing (17.643 ms) : 17467, 17820
. : milestone, 17643,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 2 unstable metrics. Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~0d4dc6fb85, baseline=1.57.0-SNAPSHOT~cebe04f7d3
dateFormat X
axisFormat %s
section baseline
no_agent (15.088 s) : 15088000, 15088000
. : milestone, 15088000,
appsec (14.525 s) : 14525000, 14525000
. : milestone, 14525000,
iast (18.471 s) : 18471000, 18471000
. : milestone, 18471000,
iast_GLOBAL (17.647 s) : 17647000, 17647000
. : milestone, 17647000,
profiling (14.768 s) : 14768000, 14768000
. : milestone, 14768000,
tracing (14.777 s) : 14777000, 14777000
. : milestone, 14777000,
section candidate
no_agent (15.579 s) : 15579000, 15579000
. : milestone, 15579000,
appsec (14.815 s) : 14815000, 14815000
. : milestone, 14815000,
iast (18.641 s) : 18641000, 18641000
. : milestone, 18641000,
iast_GLOBAL (17.93 s) : 17930000, 17930000
. : milestone, 17930000,
profiling (14.719 s) : 14719000, 14719000
. : milestone, 14719000,
tracing (14.672 s) : 14672000, 14672000
. : milestone, 14672000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~0d4dc6fb85, baseline=1.57.0-SNAPSHOT~cebe04f7d3
dateFormat X
axisFormat %s
section baseline
no_agent (1.479 ms) : 1467, 1490
. : milestone, 1479,
appsec (3.667 ms) : 3452, 3882
. : milestone, 3667,
iast (2.213 ms) : 2148, 2278
. : milestone, 2213,
iast_GLOBAL (2.257 ms) : 2193, 2322
. : milestone, 2257,
profiling (2.485 ms) : 2275, 2695
. : milestone, 2485,
tracing (2.052 ms) : 2001, 2103
. : milestone, 2052,
section candidate
no_agent (1.473 ms) : 1462, 1485
. : milestone, 1473,
appsec (3.742 ms) : 3522, 3962
. : milestone, 3742,
iast (2.222 ms) : 2157, 2288
. : milestone, 2222,
iast_GLOBAL (2.26 ms) : 2196, 2325
. : milestone, 2260,
profiling (2.069 ms) : 2016, 2121
. : milestone, 2069,
tracing (2.055 ms) : 2005, 2106
. : milestone, 2055,
|
This was lost when jetty server got shadowed.
efaf8a0 to
2b6b84d
Compare
…instrumentation Now that :dd-java-agent:testing shadows jetty, the jetty instrumentation was not applied.
AlexeyKuznetsov-DD
approved these changes
Dec 17, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
comp: tooling
Build & Tooling
tag: no release notes
Changes to exclude from release notes
type: enhancement
Enhancements and improvements
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This Do
:dd-java-agent:testingis using jetty for it's embedded server. However, it leaks through other projects, in particular jetty instrumentation projects, but others too. This forces these projects to exclude that dependency.Also, make some dependencies explicit, e.g. in spring webflux tests:
:dd-java-agent:testing.Motivation
Build correctness.
Additional Notes
This was introduced as part of
Contributor Checklist
type:and (comp:orinst:) labels in addition to any useful labelsclose,fixor any linking keywords when referencing an issue.Use
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]