API Security sampling when tracers lack HTTP routes [Rfc 1076]#10424
Draft
API Security sampling when tracers lack HTTP routes [Rfc 1076]#10424
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 64 metrics, 7 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.60.0-SNAPSHOT~f2779e4292, baseline=1.60.0-SNAPSHOT~2ffa640f24
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.071 s) : 0, 1070667
Total [baseline] (8.767 s) : 0, 8767164
Agent [candidate] (1.063 s) : 0, 1063271
Total [candidate] (8.739 s) : 0, 8738500
section iast
Agent [baseline] (1.236 s) : 0, 1236143
Total [baseline] (9.457 s) : 0, 9456928
Agent [candidate] (1.238 s) : 0, 1238330
Total [candidate] (9.429 s) : 0, 9428768
gantt
title insecure-bank - break down per module: candidate=1.60.0-SNAPSHOT~f2779e4292, baseline=1.60.0-SNAPSHOT~2ffa640f24
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.194 ms) : 0, 1194
crashtracking [candidate] (1.187 ms) : 0, 1187
BytebuddyAgent [baseline] (632.871 ms) : 0, 632871
BytebuddyAgent [candidate] (628.559 ms) : 0, 628559
AgentMeter [baseline] (28.975 ms) : 0, 28975
AgentMeter [candidate] (28.738 ms) : 0, 28738
GlobalTracer [baseline] (259.669 ms) : 0, 259669
GlobalTracer [candidate] (258.192 ms) : 0, 258192
AppSec [baseline] (33.125 ms) : 0, 33125
AppSec [candidate] (32.777 ms) : 0, 32777
Debugger [baseline] (60.082 ms) : 0, 60082
Debugger [candidate] (60.995 ms) : 0, 60995
Remote Config [baseline] (626.419 µs) : 0, 626
Remote Config [candidate] (612.118 µs) : 0, 612
Telemetry [baseline] (13.25 ms) : 0, 13250
Telemetry [candidate] (13.043 ms) : 0, 13043
Flare Poller [baseline] (5.304 ms) : 0, 5304
Flare Poller [candidate] (3.802 ms) : 0, 3802
section iast
crashtracking [baseline] (1.186 ms) : 0, 1186
crashtracking [candidate] (1.19 ms) : 0, 1190
BytebuddyAgent [baseline] (797.091 ms) : 0, 797091
BytebuddyAgent [candidate] (801.295 ms) : 0, 801295
AgentMeter [baseline] (11.246 ms) : 0, 11246
AgentMeter [candidate] (11.401 ms) : 0, 11401
GlobalTracer [baseline] (250.543 ms) : 0, 250543
GlobalTracer [candidate] (249.185 ms) : 0, 249185
IAST [baseline] (27.496 ms) : 0, 27496
IAST [candidate] (27.01 ms) : 0, 27010
AppSec [baseline] (32.449 ms) : 0, 32449
AppSec [candidate] (33.212 ms) : 0, 33212
Debugger [baseline] (67.92 ms) : 0, 67920
Debugger [candidate] (66.927 ms) : 0, 66927
Remote Config [baseline] (568.854 µs) : 0, 569
Remote Config [candidate] (541.879 µs) : 0, 542
Telemetry [baseline] (8.831 ms) : 0, 8831
Telemetry [candidate] (8.667 ms) : 0, 8667
Flare Poller [baseline] (3.544 ms) : 0, 3544
Flare Poller [candidate] (3.51 ms) : 0, 3510
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.60.0-SNAPSHOT~f2779e4292, baseline=1.60.0-SNAPSHOT~2ffa640f24
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.067 s) : 0, 1067002
Total [baseline] (10.958 s) : 0, 10958260
Agent [candidate] (1.072 s) : 0, 1072384
Total [candidate] (10.896 s) : 0, 10895941
section appsec
Agent [baseline] (1.25 s) : 0, 1250005
Total [baseline] (11.121 s) : 0, 11121268
Agent [candidate] (1.241 s) : 0, 1240556
Total [candidate] (11.011 s) : 0, 11011338
section iast
Agent [baseline] (1.235 s) : 0, 1234695
Total [baseline] (11.295 s) : 0, 11295237
Agent [candidate] (1.235 s) : 0, 1235487
Total [candidate] (4.394 s) : 0, 4393895
section profiling
Agent [baseline] (1.198 s) : 0, 1197913
Total [baseline] (11.039 s) : 0, 11038631
Agent [candidate] (1.188 s) : 0, 1188404
Total [candidate] (11.022 s) : 0, 11022308
gantt
title petclinic - break down per module: candidate=1.60.0-SNAPSHOT~f2779e4292, baseline=1.60.0-SNAPSHOT~2ffa640f24
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.189 ms) : 0, 1189
crashtracking [candidate] (1.182 ms) : 0, 1182
BytebuddyAgent [baseline] (629.814 ms) : 0, 629814
BytebuddyAgent [candidate] (632.021 ms) : 0, 632021
AgentMeter [baseline] (28.805 ms) : 0, 28805
AgentMeter [candidate] (28.97 ms) : 0, 28970
GlobalTracer [baseline] (258.462 ms) : 0, 258462
GlobalTracer [candidate] (259.461 ms) : 0, 259461
AppSec [baseline] (32.886 ms) : 0, 32886
AppSec [candidate] (33.157 ms) : 0, 33157
Debugger [baseline] (62.216 ms) : 0, 62216
Debugger [candidate] (63.087 ms) : 0, 63087
Remote Config [baseline] (625.62 µs) : 0, 626
Remote Config [candidate] (622.156 µs) : 0, 622
Telemetry [baseline] (11.511 ms) : 0, 11511
Telemetry [candidate] (13.113 ms) : 0, 13113
Flare Poller [baseline] (6.202 ms) : 0, 6202
Flare Poller [candidate] (5.372 ms) : 0, 5372
section appsec
crashtracking [baseline] (1.188 ms) : 0, 1188
crashtracking [candidate] (1.183 ms) : 0, 1183
BytebuddyAgent [baseline] (663.701 ms) : 0, 663701
BytebuddyAgent [candidate] (659.151 ms) : 0, 659151
AgentMeter [baseline] (11.884 ms) : 0, 11884
AgentMeter [candidate] (11.763 ms) : 0, 11763
GlobalTracer [baseline] (260.976 ms) : 0, 260976
GlobalTracer [candidate] (258.912 ms) : 0, 258912
AppSec [baseline] (169.268 ms) : 0, 169268
AppSec [candidate] (167.881 ms) : 0, 167881
Debugger [baseline] (68.024 ms) : 0, 68024
Debugger [candidate] (67.466 ms) : 0, 67466
Remote Config [baseline] (685.229 µs) : 0, 685
Remote Config [candidate] (674.215 µs) : 0, 674
Telemetry [baseline] (9.316 ms) : 0, 9316
Telemetry [candidate] (9.146 ms) : 0, 9146
Flare Poller [baseline] (3.673 ms) : 0, 3673
Flare Poller [candidate] (3.642 ms) : 0, 3642
IAST [baseline] (25.853 ms) : 0, 25853
IAST [candidate] (25.357 ms) : 0, 25357
section iast
crashtracking [baseline] (1.185 ms) : 0, 1185
crashtracking [candidate] (1.181 ms) : 0, 1181
BytebuddyAgent [baseline] (797.211 ms) : 0, 797211
BytebuddyAgent [candidate] (796.148 ms) : 0, 796148
AgentMeter [baseline] (11.158 ms) : 0, 11158
AgentMeter [candidate] (11.082 ms) : 0, 11082
GlobalTracer [baseline] (248.528 ms) : 0, 248528
GlobalTracer [candidate] (247.896 ms) : 0, 247896
AppSec [baseline] (34.555 ms) : 0, 34555
AppSec [candidate] (27.348 ms) : 0, 27348
Debugger [baseline] (66.97 ms) : 0, 66970
Debugger [candidate] (76.844 ms) : 0, 76844
Remote Config [baseline] (549.856 µs) : 0, 550
Remote Config [candidate] (560.474 µs) : 0, 560
Telemetry [baseline] (8.721 ms) : 0, 8721
Telemetry [candidate] (8.607 ms) : 0, 8607
Flare Poller [baseline] (3.451 ms) : 0, 3451
Flare Poller [candidate] (3.442 ms) : 0, 3442
IAST [baseline] (27.039 ms) : 0, 27039
IAST [candidate] (26.808 ms) : 0, 26808
section profiling
ProfilingAgent [baseline] (99.765 ms) : 0, 99765
ProfilingAgent [candidate] (98.702 ms) : 0, 98702
crashtracking [baseline] (1.215 ms) : 0, 1215
crashtracking [candidate] (1.214 ms) : 0, 1214
BytebuddyAgent [baseline] (686.464 ms) : 0, 686464
BytebuddyAgent [candidate] (681.375 ms) : 0, 681375
AgentMeter [baseline] (8.704 ms) : 0, 8704
AgentMeter [candidate] (8.616 ms) : 0, 8616
GlobalTracer [baseline] (217.517 ms) : 0, 217517
GlobalTracer [candidate] (215.77 ms) : 0, 215770
AppSec [baseline] (32.827 ms) : 0, 32827
AppSec [candidate] (32.418 ms) : 0, 32418
Debugger [baseline] (68.042 ms) : 0, 68042
Debugger [candidate] (67.292 ms) : 0, 67292
Remote Config [baseline] (599.37 µs) : 0, 599
Remote Config [candidate] (596.067 µs) : 0, 596
Telemetry [baseline] (8.774 ms) : 0, 8774
Telemetry [candidate] (8.815 ms) : 0, 8815
Flare Poller [baseline] (3.828 ms) : 0, 3828
Flare Poller [candidate] (3.753 ms) : 0, 3753
Profiling [baseline] (100.341 ms) : 0, 100341
Profiling [candidate] (99.275 ms) : 0, 99275
LoadParameters
See matching parameters
SummaryFound 4 performance improvements and 4 performance regressions! Performance is the same for 11 metrics, 17 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~f2779e4292, baseline=1.60.0-SNAPSHOT~2ffa640f24
dateFormat X
axisFormat %s
section baseline
no_agent (1.193 ms) : 1181, 1205
. : milestone, 1193,
iast (3.164 ms) : 3122, 3205
. : milestone, 3164,
iast_FULL (5.853 ms) : 5795, 5912
. : milestone, 5853,
iast_GLOBAL (3.619 ms) : 3556, 3682
. : milestone, 3619,
profiling (2.187 ms) : 2165, 2209
. : milestone, 2187,
tracing (1.806 ms) : 1790, 1822
. : milestone, 1806,
section candidate
no_agent (1.198 ms) : 1186, 1210
. : milestone, 1198,
iast (3.184 ms) : 3142, 3227
. : milestone, 3184,
iast_FULL (5.988 ms) : 5928, 6049
. : milestone, 5988,
iast_GLOBAL (3.432 ms) : 3383, 3481
. : milestone, 3432,
profiling (1.99 ms) : 1973, 2008
. : milestone, 1990,
tracing (1.865 ms) : 1847, 1882
. : milestone, 1865,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~f2779e4292, baseline=1.60.0-SNAPSHOT~2ffa640f24
dateFormat X
axisFormat %s
section baseline
no_agent (17.804 ms) : 17624, 17983
. : milestone, 17804,
appsec (19.804 ms) : 19601, 20007
. : milestone, 19804,
code_origins (17.481 ms) : 17310, 17652
. : milestone, 17481,
iast (17.845 ms) : 17667, 18023
. : milestone, 17845,
profiling (18.462 ms) : 18278, 18646
. : milestone, 18462,
tracing (17.688 ms) : 17515, 17861
. : milestone, 17688,
section candidate
no_agent (19.011 ms) : 18813, 19208
. : milestone, 19011,
appsec (18.638 ms) : 18448, 18828
. : milestone, 18638,
code_origins (18.88 ms) : 18689, 19071
. : milestone, 18880,
iast (17.433 ms) : 17260, 17606
. : milestone, 17433,
profiling (19.694 ms) : 19494, 19894
. : milestone, 19694,
tracing (17.323 ms) : 17150, 17496
. : milestone, 17323,
DacapoParameters
See matching parameters
SummaryFound 1 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 1 unstable metrics.
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~f2779e4292, baseline=1.60.0-SNAPSHOT~2ffa640f24
dateFormat X
axisFormat %s
section baseline
no_agent (15.529 s) : 15529000, 15529000
. : milestone, 15529000,
appsec (14.791 s) : 14791000, 14791000
. : milestone, 14791000,
iast (18.16 s) : 18160000, 18160000
. : milestone, 18160000,
iast_GLOBAL (18.063 s) : 18063000, 18063000
. : milestone, 18063000,
profiling (14.715 s) : 14715000, 14715000
. : milestone, 14715000,
tracing (14.785 s) : 14785000, 14785000
. : milestone, 14785000,
section candidate
no_agent (14.696 s) : 14696000, 14696000
. : milestone, 14696000,
appsec (14.745 s) : 14745000, 14745000
. : milestone, 14745000,
iast (17.97 s) : 17970000, 17970000
. : milestone, 17970000,
iast_GLOBAL (18.177 s) : 18177000, 18177000
. : milestone, 18177000,
profiling (15.443 s) : 15443000, 15443000
. : milestone, 15443000,
tracing (14.595 s) : 14595000, 14595000
. : milestone, 14595000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~f2779e4292, baseline=1.60.0-SNAPSHOT~2ffa640f24
dateFormat X
axisFormat %s
section baseline
no_agent (1.469 ms) : 1458, 1481
. : milestone, 1469,
appsec (3.755 ms) : 3534, 3977
. : milestone, 3755,
iast (2.25 ms) : 2181, 2319
. : milestone, 2250,
iast_GLOBAL (2.29 ms) : 2221, 2359
. : milestone, 2290,
profiling (2.107 ms) : 2050, 2163
. : milestone, 2107,
tracing (2.056 ms) : 2003, 2110
. : milestone, 2056,
section candidate
no_agent (1.47 ms) : 1458, 1481
. : milestone, 1470,
appsec (2.498 ms) : 2444, 2552
. : milestone, 2498,
iast (2.244 ms) : 2175, 2313
. : milestone, 2244,
iast_GLOBAL (2.294 ms) : 2224, 2363
. : milestone, 2294,
profiling (2.496 ms) : 2333, 2659
. : milestone, 2496,
tracing (2.056 ms) : 2003, 2110
. : milestone, 2056,
|
b6fd7f4 to
196140a
Compare
1f3ddc2 to
f2779e4
Compare
Base automatically changed from
alejandro.gonzalez/add-apm-trace-metrics-tags
to
master
February 5, 2026 13:28
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Implements http.endpoint fallback in the API Security Sampler when http.route is unavailable, enabling sampling of traffic in frameworks that don't provide route information.
Motivation
https://docs.google.com/document/d/1GnWwiaw6dkVtgn5f1wcHJETND_Svqd-sJl6FSVVuCkI/edit?pli=1&tab=t.0
Additional Notes
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: APPSEC-60824