API Security sampling when tracers lack HTTP routes - Rfc 1076#10424
Open
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 62 metrics, 9 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.60.0-SNAPSHOT~9e4cfe6b22, baseline=1.60.0-SNAPSHOT~91a239a8ca
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.075 s) : 0, 1074748
Total [baseline] (10.928 s) : 0, 10927821
Agent [candidate] (1.064 s) : 0, 1064314
Total [candidate] (10.882 s) : 0, 10881665
section appsec
Agent [baseline] (1.237 s) : 0, 1237418
Total [baseline] (11.077 s) : 0, 11077198
Agent [candidate] (1.239 s) : 0, 1239423
Total [candidate] (11.074 s) : 0, 11074067
section iast
Agent [baseline] (1.23 s) : 0, 1230110
Total [baseline] (11.182 s) : 0, 11181561
Agent [candidate] (1.231 s) : 0, 1231365
Total [candidate] (11.189 s) : 0, 11188692
section profiling
Agent [baseline] (1.197 s) : 0, 1196937
Total [baseline] (11.007 s) : 0, 11007193
Agent [candidate] (1.198 s) : 0, 1198295
Total [candidate] (10.983 s) : 0, 10983139
gantt
title petclinic - break down per module: candidate=1.60.0-SNAPSHOT~9e4cfe6b22, baseline=1.60.0-SNAPSHOT~91a239a8ca
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.199 ms) : 0, 1199
crashtracking [candidate] (1.195 ms) : 0, 1195
BytebuddyAgent [baseline] (634.887 ms) : 0, 634887
BytebuddyAgent [candidate] (629.318 ms) : 0, 629318
AgentMeter [baseline] (29.223 ms) : 0, 29223
AgentMeter [candidate] (29.007 ms) : 0, 29007
GlobalTracer [baseline] (260.123 ms) : 0, 260123
GlobalTracer [candidate] (258.016 ms) : 0, 258016
AppSec [baseline] (33.007 ms) : 0, 33007
AppSec [candidate] (32.684 ms) : 0, 32684
Debugger [baseline] (60.914 ms) : 0, 60914
Debugger [candidate] (62.838 ms) : 0, 62838
Remote Config [baseline] (645.345 µs) : 0, 645
Remote Config [candidate] (616.041 µs) : 0, 616
Telemetry [baseline] (13.834 ms) : 0, 13834
Telemetry [candidate] (10.787 ms) : 0, 10787
Flare Poller [baseline] (5.28 ms) : 0, 5280
Flare Poller [candidate] (4.473 ms) : 0, 4473
section appsec
crashtracking [baseline] (1.174 ms) : 0, 1174
crashtracking [candidate] (1.188 ms) : 0, 1188
BytebuddyAgent [baseline] (656.814 ms) : 0, 656814
BytebuddyAgent [candidate] (659.272 ms) : 0, 659272
AgentMeter [baseline] (11.938 ms) : 0, 11938
AgentMeter [candidate] (11.941 ms) : 0, 11941
GlobalTracer [baseline] (258.466 ms) : 0, 258466
GlobalTracer [candidate] (258.754 ms) : 0, 258754
AppSec [baseline] (167.841 ms) : 0, 167841
AppSec [candidate] (167.327 ms) : 0, 167327
Debugger [baseline] (67.217 ms) : 0, 67217
Debugger [candidate] (66.955 ms) : 0, 66955
Remote Config [baseline] (653.49 µs) : 0, 653
Remote Config [candidate] (662.648 µs) : 0, 663
Telemetry [baseline] (9.211 ms) : 0, 9211
Telemetry [candidate] (9.2 ms) : 0, 9200
Flare Poller [baseline] (3.63 ms) : 0, 3630
Flare Poller [candidate] (3.621 ms) : 0, 3621
IAST [baseline] (25.214 ms) : 0, 25214
IAST [candidate] (25.153 ms) : 0, 25153
section iast
crashtracking [baseline] (1.178 ms) : 0, 1178
crashtracking [candidate] (1.194 ms) : 0, 1194
BytebuddyAgent [baseline] (794.294 ms) : 0, 794294
BytebuddyAgent [candidate] (795.183 ms) : 0, 795183
AgentMeter [baseline] (11.221 ms) : 0, 11221
AgentMeter [candidate] (11.257 ms) : 0, 11257
GlobalTracer [baseline] (247.937 ms) : 0, 247937
GlobalTracer [candidate] (248.108 ms) : 0, 248108
AppSec [baseline] (33.19 ms) : 0, 33190
AppSec [candidate] (32.834 ms) : 0, 32834
Debugger [baseline] (67.326 ms) : 0, 67326
Debugger [candidate] (67.853 ms) : 0, 67853
Remote Config [baseline] (551.436 µs) : 0, 551
Remote Config [candidate] (539.804 µs) : 0, 540
Telemetry [baseline] (8.714 ms) : 0, 8714
Telemetry [candidate] (8.699 ms) : 0, 8699
Flare Poller [baseline] (3.485 ms) : 0, 3485
Flare Poller [candidate] (3.489 ms) : 0, 3489
IAST [baseline] (26.965 ms) : 0, 26965
IAST [candidate] (26.912 ms) : 0, 26912
section profiling
crashtracking [baseline] (1.217 ms) : 0, 1217
crashtracking [candidate] (1.21 ms) : 0, 1210
BytebuddyAgent [baseline] (686.135 ms) : 0, 686135
BytebuddyAgent [candidate] (686.547 ms) : 0, 686547
AgentMeter [baseline] (8.822 ms) : 0, 8822
AgentMeter [candidate] (8.797 ms) : 0, 8797
GlobalTracer [baseline] (217.39 ms) : 0, 217390
GlobalTracer [candidate] (217.316 ms) : 0, 217316
AppSec [baseline] (32.87 ms) : 0, 32870
AppSec [candidate] (32.839 ms) : 0, 32839
Debugger [baseline] (68.062 ms) : 0, 68062
Debugger [candidate] (67.986 ms) : 0, 67986
Remote Config [baseline] (595.441 µs) : 0, 595
Remote Config [candidate] (603.843 µs) : 0, 604
Telemetry [baseline] (8.864 ms) : 0, 8864
Telemetry [candidate] (8.972 ms) : 0, 8972
Flare Poller [baseline] (3.777 ms) : 0, 3777
Flare Poller [candidate] (3.814 ms) : 0, 3814
ProfilingAgent [baseline] (98.926 ms) : 0, 98926
ProfilingAgent [candidate] (99.985 ms) : 0, 99985
Profiling [baseline] (99.495 ms) : 0, 99495
Profiling [candidate] (100.573 ms) : 0, 100573
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.60.0-SNAPSHOT~9e4cfe6b22, baseline=1.60.0-SNAPSHOT~91a239a8ca
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.071 s) : 0, 1070776
Total [baseline] (8.749 s) : 0, 8748755
Agent [candidate] (1.066 s) : 0, 1065650
Total [candidate] (8.724 s) : 0, 8723557
section iast
Agent [baseline] (1.229 s) : 0, 1228693
Total [baseline] (9.358 s) : 0, 9358234
Agent [candidate] (1.236 s) : 0, 1236342
Total [candidate] (9.441 s) : 0, 9440593
gantt
title insecure-bank - break down per module: candidate=1.60.0-SNAPSHOT~9e4cfe6b22, baseline=1.60.0-SNAPSHOT~91a239a8ca
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.197 ms) : 0, 1197
crashtracking [candidate] (1.185 ms) : 0, 1185
BytebuddyAgent [baseline] (632.902 ms) : 0, 632902
BytebuddyAgent [candidate] (629.237 ms) : 0, 629237
AgentMeter [baseline] (29.149 ms) : 0, 29149
AgentMeter [candidate] (28.882 ms) : 0, 28882
GlobalTracer [baseline] (259.097 ms) : 0, 259097
GlobalTracer [candidate] (257.67 ms) : 0, 257670
AppSec [baseline] (32.978 ms) : 0, 32978
AppSec [candidate] (32.706 ms) : 0, 32706
Debugger [baseline] (60.647 ms) : 0, 60647
Debugger [candidate] (61.104 ms) : 0, 61104
Remote Config [baseline] (609.21 µs) : 0, 609
Remote Config [candidate] (619.231 µs) : 0, 619
Telemetry [baseline] (11.534 ms) : 0, 11534
Telemetry [candidate] (12.903 ms) : 0, 12903
Flare Poller [baseline] (7.091 ms) : 0, 7091
Flare Poller [candidate] (6.052 ms) : 0, 6052
section iast
crashtracking [baseline] (1.179 ms) : 0, 1179
crashtracking [candidate] (1.193 ms) : 0, 1193
BytebuddyAgent [baseline] (793.738 ms) : 0, 793738
BytebuddyAgent [candidate] (799.03 ms) : 0, 799030
AgentMeter [baseline] (11.206 ms) : 0, 11206
AgentMeter [candidate] (11.308 ms) : 0, 11308
GlobalTracer [baseline] (247.89 ms) : 0, 247890
GlobalTracer [candidate] (249.794 ms) : 0, 249794
AppSec [baseline] (33.988 ms) : 0, 33988
AppSec [candidate] (32.249 ms) : 0, 32249
Debugger [baseline] (65.879 ms) : 0, 65879
Debugger [candidate] (67.538 ms) : 0, 67538
Remote Config [baseline] (540.993 µs) : 0, 541
Remote Config [candidate] (539.451 µs) : 0, 539
Telemetry [baseline] (8.69 ms) : 0, 8690
Telemetry [candidate] (8.779 ms) : 0, 8779
Flare Poller [baseline] (3.48 ms) : 0, 3480
Flare Poller [candidate] (3.509 ms) : 0, 3509
IAST [baseline] (26.855 ms) : 0, 26855
IAST [candidate] (27.082 ms) : 0, 27082
LoadParameters
See matching parameters
SummaryFound 1 performance improvements and 1 performance regressions! Performance is the same for 18 metrics, 16 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~9e4cfe6b22, baseline=1.60.0-SNAPSHOT~91a239a8ca
dateFormat X
axisFormat %s
section baseline
no_agent (17.293 ms) : 17119, 17467
. : milestone, 17293,
appsec (18.226 ms) : 18039, 18413
. : milestone, 18226,
code_origins (17.518 ms) : 17343, 17693
. : milestone, 17518,
iast (17.822 ms) : 17643, 18000
. : milestone, 17822,
profiling (18.626 ms) : 18438, 18815
. : milestone, 18626,
tracing (17.756 ms) : 17579, 17934
. : milestone, 17756,
section candidate
no_agent (18.212 ms) : 18024, 18400
. : milestone, 18212,
appsec (18.563 ms) : 18376, 18750
. : milestone, 18563,
code_origins (17.842 ms) : 17664, 18020
. : milestone, 17842,
iast (18.083 ms) : 17906, 18260
. : milestone, 18083,
profiling (19.275 ms) : 19080, 19471
. : milestone, 19275,
tracing (18.576 ms) : 18383, 18769
. : milestone, 18576,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~9e4cfe6b22, baseline=1.60.0-SNAPSHOT~91a239a8ca
dateFormat X
axisFormat %s
section baseline
no_agent (1.179 ms) : 1167, 1190
. : milestone, 1179,
iast (3.161 ms) : 3120, 3202
. : milestone, 3161,
iast_FULL (5.925 ms) : 5865, 5985
. : milestone, 5925,
iast_GLOBAL (3.64 ms) : 3583, 3697
. : milestone, 3640,
profiling (2.152 ms) : 2132, 2173
. : milestone, 2152,
tracing (1.82 ms) : 1804, 1835
. : milestone, 1820,
section candidate
no_agent (1.188 ms) : 1176, 1200
. : milestone, 1188,
iast (3.111 ms) : 3068, 3153
. : milestone, 3111,
iast_FULL (5.745 ms) : 5687, 5802
. : milestone, 5745,
iast_GLOBAL (3.626 ms) : 3566, 3686
. : milestone, 3626,
profiling (1.974 ms) : 1958, 1991
. : milestone, 1974,
tracing (1.888 ms) : 1872, 1903
. : milestone, 1888,
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 tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~9e4cfe6b22, baseline=1.60.0-SNAPSHOT~91a239a8ca
dateFormat X
axisFormat %s
section baseline
no_agent (1.472 ms) : 1460, 1483
. : milestone, 1472,
appsec (2.516 ms) : 2461, 2571
. : milestone, 2516,
iast (2.241 ms) : 2173, 2310
. : milestone, 2241,
iast_GLOBAL (2.291 ms) : 2222, 2361
. : milestone, 2291,
profiling (2.485 ms) : 2322, 2648
. : milestone, 2485,
tracing (2.054 ms) : 2001, 2108
. : milestone, 2054,
section candidate
no_agent (1.47 ms) : 1459, 1482
. : milestone, 1470,
appsec (3.769 ms) : 3547, 3991
. : milestone, 3769,
iast (2.245 ms) : 2176, 2315
. : milestone, 2245,
iast_GLOBAL (2.289 ms) : 2220, 2359
. : milestone, 2289,
profiling (2.094 ms) : 2037, 2151
. : milestone, 2094,
tracing (2.072 ms) : 2017, 2126
. : milestone, 2072,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~9e4cfe6b22, baseline=1.60.0-SNAPSHOT~91a239a8ca
dateFormat X
axisFormat %s
section baseline
no_agent (15.539 s) : 15539000, 15539000
. : milestone, 15539000,
appsec (15.06 s) : 15060000, 15060000
. : milestone, 15060000,
iast (17.806 s) : 17806000, 17806000
. : milestone, 17806000,
iast_GLOBAL (17.792 s) : 17792000, 17792000
. : milestone, 17792000,
profiling (14.9 s) : 14900000, 14900000
. : milestone, 14900000,
tracing (14.777 s) : 14777000, 14777000
. : milestone, 14777000,
section candidate
no_agent (15.423 s) : 15423000, 15423000
. : milestone, 15423000,
appsec (14.732 s) : 14732000, 14732000
. : milestone, 14732000,
iast (18.47 s) : 18470000, 18470000
. : milestone, 18470000,
iast_GLOBAL (18.215 s) : 18215000, 18215000
. : milestone, 18215000,
profiling (14.478 s) : 14478000, 14478000
. : milestone, 14478000,
tracing (14.782 s) : 14782000, 14782000
. : milestone, 14782000,
|
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
f2779e4 to
3aa2e02
Compare
7a8e157 to
fffbc5a
Compare
Contributor
|
Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to:
If you need help, please check our contributing guidelines. |
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