Add ai_guard.event tag to local root span#11109
Open
manuel-alvarez-alvarez wants to merge 2 commits intomasterfrom
Open
Add ai_guard.event tag to local root span#11109manuel-alvarez-alvarez wants to merge 2 commits intomasterfrom
manuel-alvarez-alvarez wants to merge 2 commits intomasterfrom
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 54 metrics, 17 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.62.0-SNAPSHOT~2d2903f3ba, baseline=1.62.0-SNAPSHOT~1ee99fb92c
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.065 s) : 0, 1064506
Total [baseline] (11.139 s) : 0, 11139478
Agent [candidate] (1.067 s) : 0, 1066509
Total [candidate] (11.213 s) : 0, 11213090
section appsec
Agent [baseline] (1.262 s) : 0, 1262226
Total [baseline] (11.053 s) : 0, 11053104
Agent [candidate] (1.258 s) : 0, 1258355
Total [candidate] (11.145 s) : 0, 11145406
section iast
Agent [baseline] (1.231 s) : 0, 1231067
Total [baseline] (11.296 s) : 0, 11296416
Agent [candidate] (1.239 s) : 0, 1238576
Total [candidate] (11.435 s) : 0, 11434985
section profiling
Agent [baseline] (1.193 s) : 0, 1192593
Total [baseline] (7.999 s) : 0, 7999312
Agent [candidate] (1.193 s) : 0, 1192558
Total [candidate] (11.2 s) : 0, 11199899
gantt
title petclinic - break down per module: candidate=1.62.0-SNAPSHOT~2d2903f3ba, baseline=1.62.0-SNAPSHOT~1ee99fb92c
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.259 ms) : 0, 1259
crashtracking [candidate] (1.233 ms) : 0, 1233
BytebuddyAgent [baseline] (636.641 ms) : 0, 636641
BytebuddyAgent [candidate] (635.848 ms) : 0, 635848
AgentMeter [baseline] (29.546 ms) : 0, 29546
AgentMeter [candidate] (29.607 ms) : 0, 29607
GlobalTracer [baseline] (249.284 ms) : 0, 249284
GlobalTracer [candidate] (250.074 ms) : 0, 250074
AppSec [baseline] (32.419 ms) : 0, 32419
AppSec [candidate] (32.447 ms) : 0, 32447
Debugger [baseline] (60.187 ms) : 0, 60187
Debugger [candidate] (60.446 ms) : 0, 60446
Remote Config [baseline] (603.394 µs) : 0, 603
Remote Config [candidate] (601.765 µs) : 0, 602
Telemetry [baseline] (8.157 ms) : 0, 8157
Telemetry [candidate] (8.104 ms) : 0, 8104
Flare Poller [baseline] (9.887 ms) : 0, 9887
Flare Poller [candidate] (11.529 ms) : 0, 11529
section appsec
crashtracking [baseline] (1.243 ms) : 0, 1243
crashtracking [candidate] (1.233 ms) : 0, 1233
BytebuddyAgent [baseline] (669.537 ms) : 0, 669537
BytebuddyAgent [candidate] (666.847 ms) : 0, 666847
AgentMeter [baseline] (12.208 ms) : 0, 12208
AgentMeter [candidate] (12.173 ms) : 0, 12173
GlobalTracer [baseline] (251.582 ms) : 0, 251582
GlobalTracer [candidate] (251.343 ms) : 0, 251343
IAST [baseline] (24.852 ms) : 0, 24852
IAST [candidate] (24.723 ms) : 0, 24723
AppSec [baseline] (186.728 ms) : 0, 186728
AppSec [candidate] (186.278 ms) : 0, 186278
Debugger [baseline] (66.343 ms) : 0, 66343
Debugger [candidate] (66.337 ms) : 0, 66337
Remote Config [baseline] (624.099 µs) : 0, 624
Remote Config [candidate] (610.878 µs) : 0, 611
Telemetry [baseline] (8.63 ms) : 0, 8630
Telemetry [candidate] (8.519 ms) : 0, 8519
Flare Poller [baseline] (3.584 ms) : 0, 3584
Flare Poller [candidate] (3.546 ms) : 0, 3546
section iast
crashtracking [baseline] (1.241 ms) : 0, 1241
crashtracking [candidate] (1.24 ms) : 0, 1240
BytebuddyAgent [baseline] (804.673 ms) : 0, 804673
BytebuddyAgent [candidate] (810.05 ms) : 0, 810050
AgentMeter [baseline] (11.436 ms) : 0, 11436
AgentMeter [candidate] (11.572 ms) : 0, 11572
GlobalTracer [baseline] (240.721 ms) : 0, 240721
GlobalTracer [candidate] (242.724 ms) : 0, 242724
IAST [baseline] (25.944 ms) : 0, 25944
IAST [candidate] (26.115 ms) : 0, 26115
AppSec [baseline] (33.204 ms) : 0, 33204
AppSec [candidate] (33.971 ms) : 0, 33971
Debugger [baseline] (61.4 ms) : 0, 61400
Debugger [candidate] (61.052 ms) : 0, 61052
Remote Config [baseline] (1.757 ms) : 0, 1757
Remote Config [candidate] (542.947 µs) : 0, 543
Telemetry [baseline] (10.624 ms) : 0, 10624
Telemetry [candidate] (10.932 ms) : 0, 10932
Flare Poller [baseline] (3.465 ms) : 0, 3465
Flare Poller [candidate] (3.541 ms) : 0, 3541
section profiling
crashtracking [baseline] (1.192 ms) : 0, 1192
crashtracking [candidate] (1.194 ms) : 0, 1194
BytebuddyAgent [baseline] (693.444 ms) : 0, 693444
BytebuddyAgent [candidate] (695.213 ms) : 0, 695213
AgentMeter [baseline] (9.245 ms) : 0, 9245
AgentMeter [candidate] (9.196 ms) : 0, 9196
GlobalTracer [baseline] (208.451 ms) : 0, 208451
GlobalTracer [candidate] (208.32 ms) : 0, 208320
AppSec [baseline] (32.709 ms) : 0, 32709
AppSec [candidate] (32.985 ms) : 0, 32985
Debugger [baseline] (66.502 ms) : 0, 66502
Debugger [candidate] (66.198 ms) : 0, 66198
Remote Config [baseline] (602.84 µs) : 0, 603
Remote Config [candidate] (579.553 µs) : 0, 580
Telemetry [baseline] (8.109 ms) : 0, 8109
Telemetry [candidate] (7.904 ms) : 0, 7904
Flare Poller [baseline] (3.793 ms) : 0, 3793
Flare Poller [candidate] (3.643 ms) : 0, 3643
ProfilingAgent [baseline] (96.872 ms) : 0, 96872
ProfilingAgent [candidate] (95.505 ms) : 0, 95505
Profiling [baseline] (97.493 ms) : 0, 97493
Profiling [candidate] (96.08 ms) : 0, 96080
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.62.0-SNAPSHOT~2d2903f3ba, baseline=1.62.0-SNAPSHOT~1ee99fb92c
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.075 s) : 0, 1075052
Total [baseline] (8.89 s) : 0, 8890164
Agent [candidate] (1.067 s) : 0, 1066867
Total [candidate] (8.896 s) : 0, 8895658
section iast
Agent [baseline] (1.224 s) : 0, 1224118
Total [baseline] (9.571 s) : 0, 9570987
Agent [candidate] (1.232 s) : 0, 1232017
Total [candidate] (9.593 s) : 0, 9593141
gantt
title insecure-bank - break down per module: candidate=1.62.0-SNAPSHOT~2d2903f3ba, baseline=1.62.0-SNAPSHOT~1ee99fb92c
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.25 ms) : 0, 1250
crashtracking [candidate] (1.275 ms) : 0, 1275
BytebuddyAgent [baseline] (644.336 ms) : 0, 644336
BytebuddyAgent [candidate] (638.323 ms) : 0, 638323
AgentMeter [baseline] (29.991 ms) : 0, 29991
AgentMeter [candidate] (29.598 ms) : 0, 29598
GlobalTracer [baseline] (252.597 ms) : 0, 252597
GlobalTracer [candidate] (251.11 ms) : 0, 251110
AppSec [baseline] (32.847 ms) : 0, 32847
AppSec [candidate] (32.644 ms) : 0, 32644
Debugger [baseline] (60.176 ms) : 0, 60176
Debugger [candidate] (59.642 ms) : 0, 59642
Remote Config [baseline] (613.581 µs) : 0, 614
Remote Config [candidate] (627.995 µs) : 0, 628
Telemetry [baseline] (8.235 ms) : 0, 8235
Telemetry [candidate] (8.096 ms) : 0, 8096
Flare Poller [baseline] (8.378 ms) : 0, 8378
Flare Poller [candidate] (9.022 ms) : 0, 9022
section iast
crashtracking [baseline] (1.241 ms) : 0, 1241
crashtracking [candidate] (1.251 ms) : 0, 1251
BytebuddyAgent [baseline] (801.608 ms) : 0, 801608
BytebuddyAgent [candidate] (806.713 ms) : 0, 806713
AgentMeter [baseline] (11.355 ms) : 0, 11355
AgentMeter [candidate] (11.445 ms) : 0, 11445
GlobalTracer [baseline] (238.431 ms) : 0, 238431
GlobalTracer [candidate] (241.175 ms) : 0, 241175
IAST [baseline] (25.781 ms) : 0, 25781
IAST [candidate] (25.941 ms) : 0, 25941
AppSec [baseline] (31.535 ms) : 0, 31535
AppSec [candidate] (32.956 ms) : 0, 32956
Debugger [baseline] (62.087 ms) : 0, 62087
Debugger [candidate] (60.712 ms) : 0, 60712
Remote Config [baseline] (1.146 ms) : 0, 1146
Remote Config [candidate] (545.343 µs) : 0, 545
Telemetry [baseline] (11.118 ms) : 0, 11118
Telemetry [candidate] (11.275 ms) : 0, 11275
Flare Poller [baseline] (3.419 ms) : 0, 3419
Flare Poller [candidate] (3.457 ms) : 0, 3457
LoadParameters
See matching parameters
SummaryFound 1 performance improvements and 4 performance regressions! Performance is the same for 14 metrics, 17 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.62.0-SNAPSHOT~2d2903f3ba, baseline=1.62.0-SNAPSHOT~1ee99fb92c
dateFormat X
axisFormat %s
section baseline
no_agent (1.266 ms) : 1254, 1278
. : milestone, 1266,
iast (3.346 ms) : 3296, 3396
. : milestone, 3346,
iast_FULL (5.901 ms) : 5841, 5960
. : milestone, 5901,
iast_GLOBAL (3.588 ms) : 3529, 3647
. : milestone, 3588,
profiling (2.084 ms) : 2064, 2105
. : milestone, 2084,
tracing (1.927 ms) : 1908, 1945
. : milestone, 1927,
section candidate
no_agent (1.277 ms) : 1264, 1290
. : milestone, 1277,
iast (3.286 ms) : 3245, 3328
. : milestone, 3286,
iast_FULL (6.185 ms) : 6121, 6250
. : milestone, 6185,
iast_GLOBAL (3.733 ms) : 3669, 3798
. : milestone, 3733,
profiling (2.027 ms) : 2010, 2045
. : milestone, 2027,
tracing (1.931 ms) : 1914, 1947
. : milestone, 1931,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.62.0-SNAPSHOT~2d2903f3ba, baseline=1.62.0-SNAPSHOT~1ee99fb92c
dateFormat X
axisFormat %s
section baseline
no_agent (19.373 ms) : 19175, 19571
. : milestone, 19373,
appsec (18.576 ms) : 18393, 18760
. : milestone, 18576,
code_origins (18.348 ms) : 18167, 18530
. : milestone, 18348,
iast (18.046 ms) : 17868, 18224
. : milestone, 18046,
profiling (18.592 ms) : 18407, 18776
. : milestone, 18592,
tracing (18.201 ms) : 18023, 18380
. : milestone, 18201,
section candidate
no_agent (18.549 ms) : 18359, 18739
. : milestone, 18549,
appsec (18.404 ms) : 18220, 18588
. : milestone, 18404,
code_origins (17.825 ms) : 17648, 18002
. : milestone, 17825,
iast (18.282 ms) : 18104, 18461
. : milestone, 18282,
profiling (19.41 ms) : 19214, 19606
. : milestone, 19410,
tracing (18.09 ms) : 17913, 18267
. : milestone, 18090,
DacapoParameters
See matching parameters
SummaryFound 1 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 0 unstable metrics.
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.62.0-SNAPSHOT~2d2903f3ba, baseline=1.62.0-SNAPSHOT~1ee99fb92c
dateFormat X
axisFormat %s
section baseline
no_agent (15.427 s) : 15427000, 15427000
. : milestone, 15427000,
appsec (14.627 s) : 14627000, 14627000
. : milestone, 14627000,
iast (18.325 s) : 18325000, 18325000
. : milestone, 18325000,
iast_GLOBAL (18.235 s) : 18235000, 18235000
. : milestone, 18235000,
profiling (14.792 s) : 14792000, 14792000
. : milestone, 14792000,
tracing (14.926 s) : 14926000, 14926000
. : milestone, 14926000,
section candidate
no_agent (15.04 s) : 15040000, 15040000
. : milestone, 15040000,
appsec (14.779 s) : 14779000, 14779000
. : milestone, 14779000,
iast (18.303 s) : 18303000, 18303000
. : milestone, 18303000,
iast_GLOBAL (17.914 s) : 17914000, 17914000
. : milestone, 17914000,
profiling (14.913 s) : 14913000, 14913000
. : milestone, 14913000,
tracing (14.708 s) : 14708000, 14708000
. : milestone, 14708000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.62.0-SNAPSHOT~2d2903f3ba, baseline=1.62.0-SNAPSHOT~1ee99fb92c
dateFormat X
axisFormat %s
section baseline
no_agent (1.492 ms) : 1480, 1503
. : milestone, 1492,
appsec (3.84 ms) : 3617, 4063
. : milestone, 3840,
iast (2.282 ms) : 2213, 2352
. : milestone, 2282,
iast_GLOBAL (2.331 ms) : 2261, 2401
. : milestone, 2331,
profiling (2.105 ms) : 2050, 2160
. : milestone, 2105,
tracing (2.081 ms) : 2028, 2135
. : milestone, 2081,
section candidate
no_agent (1.495 ms) : 1484, 1507
. : milestone, 1495,
appsec (2.547 ms) : 2492, 2602
. : milestone, 2547,
iast (2.279 ms) : 2210, 2349
. : milestone, 2279,
iast_GLOBAL (2.328 ms) : 2259, 2398
. : milestone, 2328,
profiling (2.108 ms) : 2053, 2164
. : milestone, 2108,
tracing (2.094 ms) : 2039, 2148
. : milestone, 2094,
|
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
Adds a the tag
ai_guard.event: trueto the local root span of the trace.Motivation
The tag will help find traces containing AI Guard evaluations.
Additional Notes
Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issueJira ticket: [APPSEC-62215]
Note: Once your PR is ready to merge, add it to the merge queue by commenting
/merge./merge -ccancels the queue request./merge -f --reason "reason"skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.