-
Notifications
You must be signed in to change notification settings - Fork 291
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
[MLOB] add LLM obs configs #8076
base: master
Are you sure you want to change the base?
Conversation
3863387
to
19d2dc3
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 57 metrics, 6 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.45.0-SNAPSHOT~a8108c61a2, baseline=1.45.0-SNAPSHOT~a3e9bda406
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.052 s) : 0, 1052178
Total [baseline] (8.592 s) : 0, 8591785
Agent [candidate] (1.054 s) : 0, 1053561
Total [candidate] (8.61 s) : 0, 8610141
section iast
Agent [baseline] (1.175 s) : 0, 1174989
Total [baseline] (9.201 s) : 0, 9201019
Agent [candidate] (1.195 s) : 0, 1195111
Total [candidate] (9.25 s) : 0, 9249571
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.176 s) : 0, 1175769
Total [baseline] (9.18 s) : 0, 9179874
Agent [candidate] (1.18 s) : 0, 1179601
Total [candidate] (9.243 s) : 0, 9242588
section iast_TELEMETRY_OFF
Agent [baseline] (1.172 s) : 0, 1172257
Total [baseline] (9.172 s) : 0, 9172262
Agent [candidate] (1.175 s) : 0, 1175367
Total [candidate] (9.228 s) : 0, 9227922
gantt
title insecure-bank - break down per module: candidate=1.45.0-SNAPSHOT~a8108c61a2, baseline=1.45.0-SNAPSHOT~a3e9bda406
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (710.956 ms) : 0, 710956
BytebuddyAgent [candidate] (712.065 ms) : 0, 712065
GlobalTracer [baseline] (255.926 ms) : 0, 255926
GlobalTracer [candidate] (256.173 ms) : 0, 256173
AppSec [baseline] (57.793 ms) : 0, 57793
AppSec [candidate] (57.819 ms) : 0, 57819
Remote Config [baseline] (679.188 µs) : 0, 679
Remote Config [candidate] (695.282 µs) : 0, 695
Telemetry [baseline] (11.839 ms) : 0, 11839
Telemetry [candidate] (11.857 ms) : 0, 11857
section iast
BytebuddyAgent [baseline] (826.472 ms) : 0, 826472
BytebuddyAgent [candidate] (841.011 ms) : 0, 841011
GlobalTracer [baseline] (245.702 ms) : 0, 245702
GlobalTracer [candidate] (249.238 ms) : 0, 249238
AppSec [baseline] (57.808 ms) : 0, 57808
AppSec [candidate] (58.645 ms) : 0, 58645
IAST [baseline] (21.024 ms) : 0, 21024
IAST [candidate] (21.751 ms) : 0, 21751
Remote Config [baseline] (668.477 µs) : 0, 668
Remote Config [candidate] (689.404 µs) : 0, 689
Telemetry [baseline] (8.424 ms) : 0, 8424
Telemetry [candidate] (8.636 ms) : 0, 8636
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (826.44 ms) : 0, 826440
BytebuddyAgent [candidate] (829.249 ms) : 0, 829249
GlobalTracer [baseline] (246.263 ms) : 0, 246263
GlobalTracer [candidate] (247.251 ms) : 0, 247251
AppSec [baseline] (57.806 ms) : 0, 57806
AppSec [candidate] (57.806 ms) : 0, 57806
IAST [baseline] (21.193 ms) : 0, 21193
IAST [candidate] (21.173 ms) : 0, 21173
Remote Config [baseline] (650.224 µs) : 0, 650
Remote Config [candidate] (667.21 µs) : 0, 667
Telemetry [baseline] (8.499 ms) : 0, 8499
Telemetry [candidate] (8.483 ms) : 0, 8483
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (823.871 ms) : 0, 823871
BytebuddyAgent [candidate] (826.1 ms) : 0, 826100
GlobalTracer [baseline] (246.475 ms) : 0, 246475
GlobalTracer [candidate] (246.987 ms) : 0, 246987
AppSec [baseline] (57.293 ms) : 0, 57293
AppSec [candidate] (57.571 ms) : 0, 57571
IAST [baseline] (20.743 ms) : 0, 20743
IAST [candidate] (20.802 ms) : 0, 20802
Remote Config [baseline] (646.287 µs) : 0, 646
Remote Config [candidate] (660.978 µs) : 0, 661
Telemetry [baseline] (8.303 ms) : 0, 8303
Telemetry [candidate] (8.306 ms) : 0, 8306
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.45.0-SNAPSHOT~a8108c61a2, baseline=1.45.0-SNAPSHOT~a3e9bda406
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.052 s) : 0, 1051968
Total [baseline] (10.392 s) : 0, 10392238
Agent [candidate] (1.059 s) : 0, 1059170
Total [candidate] (10.443 s) : 0, 10442542
section appsec
Agent [baseline] (1.193 s) : 0, 1193435
Total [baseline] (10.793 s) : 0, 10793360
Agent [candidate] (1.193 s) : 0, 1192771
Total [candidate] (10.756 s) : 0, 10756392
section iast
Agent [baseline] (1.184 s) : 0, 1184461
Total [baseline] (11.015 s) : 0, 11014811
Agent [candidate] (1.177 s) : 0, 1177484
Total [candidate] (10.981 s) : 0, 10981441
section profiling
Agent [baseline] (1.271 s) : 0, 1271102
Total [baseline] (10.798 s) : 0, 10797619
Agent [candidate] (1.28 s) : 0, 1279710
Total [candidate] (10.904 s) : 0, 10904160
gantt
title petclinic - break down per module: candidate=1.45.0-SNAPSHOT~a8108c61a2, baseline=1.45.0-SNAPSHOT~a3e9bda406
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (710.453 ms) : 0, 710453
BytebuddyAgent [candidate] (716.448 ms) : 0, 716448
GlobalTracer [baseline] (255.606 ms) : 0, 255606
GlobalTracer [candidate] (257.681 ms) : 0, 257681
AppSec [baseline] (57.78 ms) : 0, 57780
AppSec [candidate] (58.868 ms) : 0, 58868
Remote Config [baseline] (689.974 µs) : 0, 690
Remote Config [candidate] (681.278 µs) : 0, 681
Telemetry [baseline] (12.557 ms) : 0, 12557
Telemetry [candidate] (10.446 ms) : 0, 10446
section appsec
BytebuddyAgent [baseline] (733.481 ms) : 0, 733481
BytebuddyAgent [candidate] (733.059 ms) : 0, 733059
GlobalTracer [baseline] (254.587 ms) : 0, 254587
GlobalTracer [candidate] (254.29 ms) : 0, 254290
AppSec [baseline] (171.925 ms) : 0, 171925
AppSec [candidate] (171.583 ms) : 0, 171583
IAST [baseline] (19.437 ms) : 0, 19437
IAST [candidate] (19.453 ms) : 0, 19453
Remote Config [baseline] (660.121 µs) : 0, 660
Remote Config [candidate] (667.143 µs) : 0, 667
Telemetry [baseline] (7.981 ms) : 0, 7981
Telemetry [candidate] (8.383 ms) : 0, 8383
section iast
BytebuddyAgent [baseline] (833.75 ms) : 0, 833750
BytebuddyAgent [candidate] (828.516 ms) : 0, 828516
GlobalTracer [baseline] (247.358 ms) : 0, 247358
GlobalTracer [candidate] (246.013 ms) : 0, 246013
AppSec [baseline] (57.77 ms) : 0, 57770
AppSec [candidate] (57.836 ms) : 0, 57836
IAST [baseline] (21.269 ms) : 0, 21269
IAST [candidate] (21.105 ms) : 0, 21105
Remote Config [baseline] (664.603 µs) : 0, 665
Remote Config [candidate] (647.119 µs) : 0, 647
Telemetry [baseline] (8.574 ms) : 0, 8574
Telemetry [candidate] (8.398 ms) : 0, 8398
section profiling
BytebuddyAgent [baseline] (700.204 ms) : 0, 700204
BytebuddyAgent [candidate] (704.897 ms) : 0, 704897
GlobalTracer [baseline] (371.167 ms) : 0, 371167
GlobalTracer [candidate] (373.499 ms) : 0, 373499
AppSec [baseline] (54.029 ms) : 0, 54029
AppSec [candidate] (54.218 ms) : 0, 54218
Remote Config [baseline] (645.378 µs) : 0, 645
Remote Config [candidate] (659.068 µs) : 0, 659
Telemetry [baseline] (7.768 ms) : 0, 7768
Telemetry [candidate] (7.913 ms) : 0, 7913
ProfilingAgent [baseline] (95.574 ms) : 0, 95574
ProfilingAgent [candidate] (96.391 ms) : 0, 96391
Profiling [baseline] (95.598 ms) : 0, 95598
Profiling [candidate] (96.415 ms) : 0, 96415
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 13 metrics, 15 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.45.0-SNAPSHOT~a8108c61a2, baseline=1.45.0-SNAPSHOT~a3e9bda406
dateFormat X
axisFormat %s
section baseline
no_agent (1.365 ms) : 1346, 1385
. : milestone, 1365,
appsec (1.76 ms) : 1734, 1786
. : milestone, 1760,
appsec_no_iast (1.765 ms) : 1741, 1789
. : milestone, 1765,
iast (1.52 ms) : 1497, 1543
. : milestone, 1520,
profiling (1.56 ms) : 1536, 1585
. : milestone, 1560,
tracing (1.501 ms) : 1477, 1525
. : milestone, 1501,
section candidate
no_agent (1.374 ms) : 1355, 1393
. : milestone, 1374,
appsec (1.77 ms) : 1746, 1794
. : milestone, 1770,
appsec_no_iast (1.756 ms) : 1732, 1781
. : milestone, 1756,
iast (1.522 ms) : 1499, 1544
. : milestone, 1522,
profiling (1.517 ms) : 1494, 1540
. : milestone, 1517,
tracing (1.494 ms) : 1465, 1522
. : milestone, 1494,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.45.0-SNAPSHOT~a8108c61a2, baseline=1.45.0-SNAPSHOT~a3e9bda406
dateFormat X
axisFormat %s
section baseline
no_agent (380.912 µs) : 360, 401
. : milestone, 381,
iast (501.216 µs) : 480, 523
. : milestone, 501,
iast_FULL (658.398 µs) : 637, 680
. : milestone, 658,
iast_GLOBAL (522.873 µs) : 501, 544
. : milestone, 523,
iast_HARDCODED_SECRET_DISABLED (499.192 µs) : 477, 521
. : milestone, 499,
iast_INACTIVE (461.362 µs) : 440, 483
. : milestone, 461,
iast_TELEMETRY_OFF (488.212 µs) : 466, 511
. : milestone, 488,
tracing (457.463 µs) : 436, 479
. : milestone, 457,
section candidate
no_agent (381.705 µs) : 361, 402
. : milestone, 382,
iast (500.516 µs) : 478, 523
. : milestone, 501,
iast_FULL (661.447 µs) : 640, 683
. : milestone, 661,
iast_GLOBAL (520.915 µs) : 499, 543
. : milestone, 521,
iast_HARDCODED_SECRET_DISABLED (506.074 µs) : 484, 528
. : milestone, 506,
iast_INACTIVE (456.382 µs) : 435, 477
. : milestone, 456,
iast_TELEMETRY_OFF (491.042 µs) : 469, 513
. : milestone, 491,
tracing (450.016 µs) : 430, 470
. : milestone, 450,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.45.0-SNAPSHOT~a8108c61a2, baseline=1.45.0-SNAPSHOT~a3e9bda406
dateFormat X
axisFormat %s
section baseline
no_agent (15.61 s) : 15610000, 15610000
. : milestone, 15610000,
appsec (15.077 s) : 15077000, 15077000
. : milestone, 15077000,
iast (18.921 s) : 18921000, 18921000
. : milestone, 18921000,
iast_GLOBAL (17.903 s) : 17903000, 17903000
. : milestone, 17903000,
profiling (15.174 s) : 15174000, 15174000
. : milestone, 15174000,
tracing (14.881 s) : 14881000, 14881000
. : milestone, 14881000,
section candidate
no_agent (14.96 s) : 14960000, 14960000
. : milestone, 14960000,
appsec (15.201 s) : 15201000, 15201000
. : milestone, 15201000,
iast (18.348 s) : 18348000, 18348000
. : milestone, 18348000,
iast_GLOBAL (18.204 s) : 18204000, 18204000
. : milestone, 18204000,
profiling (15.15 s) : 15150000, 15150000
. : milestone, 15150000,
tracing (14.911 s) : 14911000, 14911000
. : milestone, 14911000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.45.0-SNAPSHOT~a8108c61a2, baseline=1.45.0-SNAPSHOT~a3e9bda406
dateFormat X
axisFormat %s
section baseline
no_agent (1.461 ms) : 1450, 1472
. : milestone, 1461,
appsec (2.321 ms) : 2280, 2363
. : milestone, 2321,
iast (2.072 ms) : 2019, 2124
. : milestone, 2072,
iast_GLOBAL (2.116 ms) : 2063, 2169
. : milestone, 2116,
profiling (1.944 ms) : 1902, 1986
. : milestone, 1944,
tracing (1.927 ms) : 1887, 1968
. : milestone, 1927,
section candidate
no_agent (1.46 ms) : 1448, 1471
. : milestone, 1460,
appsec (2.322 ms) : 2280, 2363
. : milestone, 2322,
iast (2.073 ms) : 2021, 2125
. : milestone, 2073,
iast_GLOBAL (2.126 ms) : 2073, 2179
. : milestone, 2126,
profiling (1.944 ms) : 1902, 1986
. : milestone, 1944,
tracing (1.916 ms) : 1876, 1957
. : milestone, 1916,
|
fd136e0
to
ba03bdd
Compare
ba03bdd
to
a8108c6
Compare
Hi! 👋 Looks like you updated a Git Submodule.
|
What Does This Do
adds llm observability related configs and some start up behavior that are related to the enablement of llm observability
dd.llmobs.enabled
is set to true and there is no ml app defined - throw errordd.llmobs.agentless.enabled
is set to true and there is no API key supplied - throw errorjava system property success cases
agent mode configuration
agentless mode configuration with API key env var
env variable success cases
agent mode configuration
agentless mode configuration
Motivation
Additional Notes
tested with a sample spring app
the following stack satisfies 1
the follow stack satisfies 2
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]