- Notifications
You must be signed in to change notification settings - Fork 315
chore: add the tags returned by the service to the ai_guard span #9931
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
base: master
Are you sure you want to change the base?
Conversation
| 🎯 Code Coverage 🔗 Commit SHA: 61aa2a4 | Docs | Datadog PR Page | Was this helpful? Give us feedback! |
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 2 performance regressions! Performance is the same for 52 metrics, 11 unstable metrics.
Startup time reports for insecure-bankgantt title insecure-bank - global startup overhead: candidate=1.56.0-SNAPSHOT~61aa2a432f, baseline=1.56.0-SNAPSHOT~5f0a539095 dateFormat X axisFormat %s section tracing Agent [baseline] (1.05 s) : 0, 1050473 Total [baseline] (8.667 s) : 0, 8667097 Agent [candidate] (1.048 s) : 0, 1048391 Total [candidate] (8.662 s) : 0, 8662267 section iast Agent [baseline] (1.189 s) : 0, 1188925 Total [baseline] (9.289 s) : 0, 9288902 Agent [candidate] (1.191 s) : 0, 1191078 Total [candidate] (9.316 s) : 0, 9316033
gantt title insecure-bank - break down per module: candidate=1.56.0-SNAPSHOT~61aa2a432f, baseline=1.56.0-SNAPSHOT~5f0a539095 dateFormat X axisFormat %s section tracing crashtracking [baseline] (1.453 ms) : 0, 1453 crashtracking [candidate] (1.449 ms) : 0, 1449 BytebuddyAgent [baseline] (705.587 ms) : 0, 705587 BytebuddyAgent [candidate] (705.727 ms) : 0, 705727 GlobalTracer [baseline] (249.428 ms) : 0, 249428 GlobalTracer [candidate] (246.121 ms) : 0, 246121 AppSec [baseline] (32.428 ms) : 0, 32428 AppSec [candidate] (32.232 ms) : 0, 32232 Debugger [baseline] (6.441 ms) : 0, 6441 Debugger [candidate] (6.367 ms) : 0, 6367 Remote Config [baseline] (683.019 µs) : 0, 683 Remote Config [candidate] (718.683 µs) : 0, 719 Telemetry [baseline] (14.749 ms) : 0, 14749 Telemetry [candidate] (16.744 ms) : 0, 16744 Flare Poller [baseline] (4.968 ms) : 0, 4968 Flare Poller [candidate] (4.342 ms) : 0, 4342 section iast crashtracking [baseline] (1.464 ms) : 0, 1464 crashtracking [candidate] (1.473 ms) : 0, 1473 BytebuddyAgent [baseline] (834.551 ms) : 0, 834551 BytebuddyAgent [candidate] (837.365 ms) : 0, 837365 GlobalTracer [baseline] (238.205 ms) : 0, 238205 GlobalTracer [candidate] (236.155 ms) : 0, 236155 AppSec [baseline] (29.567 ms) : 0, 29567 AppSec [candidate] (28.235 ms) : 0, 28235 Debugger [baseline] (6.108 ms) : 0, 6108 Debugger [candidate] (6.084 ms) : 0, 6084 Remote Config [baseline] (610.307 µs) : 0, 610 Remote Config [candidate] (602.758 µs) : 0, 603 Telemetry [baseline] (8.022 ms) : 0, 8022 Telemetry [candidate] (8.449 ms) : 0, 8449 Flare Poller [baseline] (4.144 ms) : 0, 4144 Flare Poller [candidate] (4.072 ms) : 0, 4072 IAST [baseline] (31.367 ms) : 0, 31367 IAST [candidate] (33.463 ms) : 0, 33463 Startup time reports for petclinicgantt title petclinic - global startup overhead: candidate=1.56.0-SNAPSHOT~61aa2a432f, baseline=1.56.0-SNAPSHOT~5f0a539095 dateFormat X axisFormat %s section tracing Agent [baseline] (1.05 s) : 0, 1050046 Total [baseline] (10.761 s) : 0, 10761162 Agent [candidate] (1.048 s) : 0, 1048243 Total [candidate] (10.798 s) : 0, 10798200 section appsec Agent [baseline] (1.227 s) : 0, 1226995 Total [baseline] (10.972 s) : 0, 10971537 Agent [candidate] (1.223 s) : 0, 1222986 Total [candidate] (10.876 s) : 0, 10875538 section iast Agent [baseline] (1.199 s) : 0, 1199014 Total [baseline] (11.297 s) : 0, 11296964 Agent [candidate] (1.19 s) : 0, 1190048 Total [candidate] (11.202 s) : 0, 11202109 section profiling Agent [baseline] (1.192 s) : 0, 1192446 Total [baseline] (10.92 s) : 0, 10920080 Agent [candidate] (1.197 s) : 0, 1196533 Total [candidate] (10.935 s) : 0, 10934969
gantt title petclinic - break down per module: candidate=1.56.0-SNAPSHOT~61aa2a432f, baseline=1.56.0-SNAPSHOT~5f0a539095 dateFormat X axisFormat %s section tracing crashtracking [baseline] (1.462 ms) : 0, 1462 crashtracking [candidate] (1.455 ms) : 0, 1455 BytebuddyAgent [baseline] (705.135 ms) : 0, 705135 BytebuddyAgent [candidate] (705.339 ms) : 0, 705339 GlobalTracer [baseline] (248.753 ms) : 0, 248753 GlobalTracer [candidate] (246.017 ms) : 0, 246017 AppSec [baseline] (32.371 ms) : 0, 32371 AppSec [candidate] (32.427 ms) : 0, 32427 Debugger [baseline] (6.412 ms) : 0, 6412 Debugger [candidate] (6.376 ms) : 0, 6376 Remote Config [baseline] (677.639 µs) : 0, 678 Remote Config [candidate] (716.129 µs) : 0, 716 Telemetry [baseline] (13.237 ms) : 0, 13237 Telemetry [candidate] (15.202 ms) : 0, 15202 Flare Poller [baseline] (7.284 ms) : 0, 7284 Flare Poller [candidate] (5.919 ms) : 0, 5919 section appsec crashtracking [baseline] (1.462 ms) : 0, 1462 crashtracking [candidate] (1.464 ms) : 0, 1464 BytebuddyAgent [baseline] (730.933 ms) : 0, 730933 BytebuddyAgent [candidate] (729.67 ms) : 0, 729670 GlobalTracer [baseline] (241.41 ms) : 0, 241410 GlobalTracer [candidate] (237.906 ms) : 0, 237906 AppSec [baseline] (174.778 ms) : 0, 174778 AppSec [candidate] (174.897 ms) : 0, 174897 Debugger [baseline] (6.121 ms) : 0, 6121 Debugger [candidate] (6.005 ms) : 0, 6005 Remote Config [baseline] (658.794 µs) : 0, 659 Remote Config [candidate] (643.081 µs) : 0, 643 Telemetry [baseline] (7.983 ms) : 0, 7983 Telemetry [candidate] (8.522 ms) : 0, 8522 Flare Poller [baseline] (3.922 ms) : 0, 3922 Flare Poller [candidate] (3.984 ms) : 0, 3984 IAST [baseline] (24.793 ms) : 0, 24793 IAST [candidate] (24.952 ms) : 0, 24952 section iast crashtracking [baseline] (1.491 ms) : 0, 1491 crashtracking [candidate] (1.472 ms) : 0, 1472 BytebuddyAgent [baseline] (840.463 ms) : 0, 840463 BytebuddyAgent [candidate] (835.606 ms) : 0, 835606 GlobalTracer [baseline] (240.876 ms) : 0, 240876 GlobalTracer [candidate] (236.848 ms) : 0, 236848 AppSec [baseline] (29.791 ms) : 0, 29791 AppSec [candidate] (29.982 ms) : 0, 29982 Debugger [baseline] (6.212 ms) : 0, 6212 Debugger [candidate] (6.054 ms) : 0, 6054 Remote Config [baseline] (617.513 µs) : 0, 618 Remote Config [candidate] (600.034 µs) : 0, 600 Telemetry [baseline] (8.174 ms) : 0, 8174 Telemetry [candidate] (8.605 ms) : 0, 8605 Flare Poller [baseline] (4.145 ms) : 0, 4145 Flare Poller [candidate] (4.111 ms) : 0, 4111 IAST [baseline] (32.149 ms) : 0, 32149 IAST [candidate] (31.739 ms) : 0, 31739 section profiling ProfilingAgent [baseline] (110.933 ms) : 0, 110933 ProfilingAgent [candidate] (111.864 ms) : 0, 111864 crashtracking [baseline] (1.443 ms) : 0, 1443 crashtracking [candidate] (1.446 ms) : 0, 1446 BytebuddyAgent [baseline] (728.969 ms) : 0, 728969 BytebuddyAgent [candidate] (729.892 ms) : 0, 729892 GlobalTracer [baseline] (221.671 ms) : 0, 221671 GlobalTracer [candidate] (223.17 ms) : 0, 223170 AppSec [baseline] (32.036 ms) : 0, 32036 AppSec [candidate] (32.389 ms) : 0, 32389 Debugger [baseline] (8.151 ms) : 0, 8151 Debugger [candidate] (9.109 ms) : 0, 9109 Remote Config [baseline] (717.773 µs) : 0, 718 Remote Config [candidate] (689.957 µs) : 0, 690 Telemetry [baseline] (14.511 ms) : 0, 14511 Telemetry [candidate] (13.892 ms) : 0, 13892 Flare Poller [baseline] (4.106 ms) : 0, 4106 Flare Poller [candidate] (4.223 ms) : 0, 4223 Profiling [baseline] (111.602 ms) : 0, 111602 Profiling [candidate] (112.541 ms) : 0, 112541 LoadParameters
See matching parameters
SummaryFound 3 performance improvements and 1 performance regressions! Performance is the same for 13 metrics, 19 unstable metrics.
Request duration reports for petclinicgantt title petclinic - request duration [CI 0.99] : candidate=1.56.0-SNAPSHOT~61aa2a432f, baseline=1.56.0-SNAPSHOT~5f0a539095 dateFormat X axisFormat %s section baseline no_agent (18.451 ms) : 18260, 18641 . : milestone, 18451, appsec (18.743 ms) : 18551, 18935 . : milestone, 18743, code_origins (18.507 ms) : 18318, 18695 . : milestone, 18507, iast (18.023 ms) : 17841, 18206 . : milestone, 18023, profiling (18.504 ms) : 18320, 18687 . : milestone, 18504, tracing (17.747 ms) : 17572, 17923 . : milestone, 17747, section candidate no_agent (18.341 ms) : 18155, 18528 . : milestone, 18341, appsec (18.624 ms) : 18437, 18811 . : milestone, 18624, code_origins (17.383 ms) : 17211, 17555 . : milestone, 17383, iast (17.719 ms) : 17538, 17900 . : milestone, 17719, profiling (18.637 ms) : 18455, 18820 . : milestone, 18637, tracing (17.564 ms) : 17388, 17740 . : milestone, 17564,
Request duration reports for insecure-bankgantt title insecure-bank - request duration [CI 0.99] : candidate=1.56.0-SNAPSHOT~61aa2a432f, baseline=1.56.0-SNAPSHOT~5f0a539095 dateFormat X axisFormat %s section baseline no_agent (1.181 ms) : 1169, 1192 . : milestone, 1181, iast (3.175 ms) : 3136, 3215 . : milestone, 3175, iast_FULL (5.708 ms) : 5649, 5767 . : milestone, 5708, iast_GLOBAL (3.552 ms) : 3501, 3603 . : milestone, 3552, profiling (1.933 ms) : 1917, 1949 . : milestone, 1933, tracing (1.758 ms) : 1745, 1772 . : milestone, 1758, section candidate no_agent (1.179 ms) : 1167, 1190 . : milestone, 1179, iast (3.184 ms) : 3136, 3231 . : milestone, 3184, iast_FULL (5.603 ms) : 5548, 5658 . : milestone, 5603, iast_GLOBAL (3.468 ms) : 3416, 3519 . : milestone, 3468, profiling (2.103 ms) : 2084, 2122 . : milestone, 2103, tracing (1.791 ms) : 1775, 1806 . : milestone, 1791,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for biojavagantt title biojava - execution time [CI 0.99] : candidate=1.56.0-SNAPSHOT~61aa2a432f, baseline=1.56.0-SNAPSHOT~5f0a539095 dateFormat X axisFormat %s section baseline no_agent (14.665 s) : 14665000, 14665000 . : milestone, 14665000, appsec (14.834 s) : 14834000, 14834000 . : milestone, 14834000, iast (18.412 s) : 18412000, 18412000 . : milestone, 18412000, iast_GLOBAL (17.987 s) : 17987000, 17987000 . : milestone, 17987000, profiling (15.634 s) : 15634000, 15634000 . : milestone, 15634000, tracing (14.764 s) : 14764000, 14764000 . : milestone, 14764000, section candidate no_agent (15.429 s) : 15429000, 15429000 . : milestone, 15429000, appsec (14.512 s) : 14512000, 14512000 . : milestone, 14512000, iast (18.355 s) : 18355000, 18355000 . : milestone, 18355000, iast_GLOBAL (18.288 s) : 18288000, 18288000 . : milestone, 18288000, profiling (15.615 s) : 15615000, 15615000 . : milestone, 15615000, tracing (14.724 s) : 14724000, 14724000 . : milestone, 14724000,
Execution time for tomcatgantt title tomcat - execution time [CI 0.99] : candidate=1.56.0-SNAPSHOT~61aa2a432f, baseline=1.56.0-SNAPSHOT~5f0a539095 dateFormat X axisFormat %s section baseline no_agent (1.472 ms) : 1461, 1484 . : milestone, 1472, appsec (2.453 ms) : 2402, 2504 . : milestone, 2453, iast (2.201 ms) : 2137, 2265 . : milestone, 2201, iast_GLOBAL (2.247 ms) : 2183, 2311 . : milestone, 2247, profiling (2.061 ms) : 2009, 2114 . : milestone, 2061, tracing (2.023 ms) : 1974, 2073 . : milestone, 2023, section candidate no_agent (1.476 ms) : 1465, 1488 . : milestone, 1476, appsec (3.725 ms) : 3507, 3943 . : milestone, 3725, iast (2.215 ms) : 2151, 2280 . : milestone, 2215, iast_GLOBAL (2.253 ms) : 2189, 2317 . : milestone, 2253, profiling (2.062 ms) : 2010, 2113 . : milestone, 2062, tracing (2.026 ms) : 1976, 2076 . : milestone, 2026,
|
1fa71e2 to 61aa2a4 Compare
What Does This Do
Takes the evaluation tags receives from the AI Guard evaluation API and exposes them in the span tags.
Motivation
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: [PROJ-IDENT]