-
Notifications
You must be signed in to change notification settings - Fork 293
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
add APIs for llm obs #8135
base: master
Are you sure you want to change the base?
add APIs for llm obs #8135
Conversation
84eb184
to
85d0946
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 4 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.46.0-SNAPSHOT~62bc9a024e, baseline=1.46.0-SNAPSHOT~82e3386fa9
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.06 s) : 0, 1060368
Total [baseline] (10.422 s) : 0, 10421662
Agent [candidate] (1.062 s) : 0, 1062192
Total [candidate] (10.53 s) : 0, 10530343
section appsec
Agent [baseline] (1.187 s) : 0, 1186963
Total [baseline] (10.682 s) : 0, 10681782
Agent [candidate] (1.196 s) : 0, 1195889
Total [candidate] (10.748 s) : 0, 10747630
section iast
Agent [baseline] (1.193 s) : 0, 1192957
Total [baseline] (11.018 s) : 0, 11018458
Agent [candidate] (1.187 s) : 0, 1186929
Total [candidate] (10.971 s) : 0, 10970595
section profiling
Agent [baseline] (1.274 s) : 0, 1273521
Total [baseline] (11.007 s) : 0, 11006829
Agent [candidate] (1.268 s) : 0, 1268303
Total [candidate] (10.888 s) : 0, 10887682
gantt
title petclinic - break down per module: candidate=1.46.0-SNAPSHOT~62bc9a024e, baseline=1.46.0-SNAPSHOT~82e3386fa9
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (718.516 ms) : 0, 718516
BytebuddyAgent [candidate] (719.812 ms) : 0, 719812
GlobalTracer [baseline] (255.654 ms) : 0, 255654
GlobalTracer [candidate] (257.83 ms) : 0, 257830
AppSec [baseline] (55.247 ms) : 0, 55247
AppSec [candidate] (56.37 ms) : 0, 56370
Remote Config [baseline] (721.216 µs) : 0, 721
Remote Config [candidate] (736.959 µs) : 0, 737
Telemetry [baseline] (15.195 ms) : 0, 15195
Telemetry [candidate] (12.349 ms) : 0, 12349
section appsec
BytebuddyAgent [baseline] (729.839 ms) : 0, 729839
BytebuddyAgent [candidate] (736.013 ms) : 0, 736013
GlobalTracer [baseline] (252.898 ms) : 0, 252898
GlobalTracer [candidate] (254.344 ms) : 0, 254344
AppSec [baseline] (170.276 ms) : 0, 170276
AppSec [candidate] (171.78 ms) : 0, 171780
IAST [baseline] (20.105 ms) : 0, 20105
IAST [candidate] (19.521 ms) : 0, 19521
Remote Config [baseline] (678.646 µs) : 0, 679
Remote Config [candidate] (663.199 µs) : 0, 663
Telemetry [baseline] (8.226 ms) : 0, 8226
Telemetry [candidate] (8.229 ms) : 0, 8229
section iast
BytebuddyAgent [baseline] (838.803 ms) : 0, 838803
BytebuddyAgent [candidate] (834.434 ms) : 0, 834434
GlobalTracer [baseline] (248.971 ms) : 0, 248971
GlobalTracer [candidate] (247.898 ms) : 0, 247898
AppSec [baseline] (58.441 ms) : 0, 58441
AppSec [candidate] (58.084 ms) : 0, 58084
IAST [baseline] (21.902 ms) : 0, 21902
IAST [candidate] (21.761 ms) : 0, 21761
Remote Config [baseline] (684.755 µs) : 0, 685
Remote Config [candidate] (669.538 µs) : 0, 670
Telemetry [baseline] (8.975 ms) : 0, 8975
Telemetry [candidate] (8.861 ms) : 0, 8861
section profiling
BytebuddyAgent [baseline] (702.622 ms) : 0, 702622
BytebuddyAgent [candidate] (702.68 ms) : 0, 702680
GlobalTracer [baseline] (368.104 ms) : 0, 368104
GlobalTracer [candidate] (365.813 ms) : 0, 365813
AppSec [baseline] (54.76 ms) : 0, 54760
AppSec [candidate] (53.956 ms) : 0, 53956
Remote Config [baseline] (698.174 µs) : 0, 698
Remote Config [candidate] (690.557 µs) : 0, 691
Telemetry [baseline] (8.887 ms) : 0, 8887
Telemetry [candidate] (8.796 ms) : 0, 8796
ProfilingAgent [baseline] (96.513 ms) : 0, 96513
ProfilingAgent [candidate] (94.53 ms) : 0, 94530
Profiling [baseline] (96.537 ms) : 0, 96537
Profiling [candidate] (94.554 ms) : 0, 94554
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.46.0-SNAPSHOT~62bc9a024e, baseline=1.46.0-SNAPSHOT~82e3386fa9
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.061 s) : 0, 1061199
Total [baseline] (8.641 s) : 0, 8640869
Agent [candidate] (1.06 s) : 0, 1059631
Total [candidate] (8.669 s) : 0, 8669460
section iast
Agent [baseline] (1.184 s) : 0, 1183509
Total [baseline] (9.22 s) : 0, 9219698
Agent [candidate] (1.181 s) : 0, 1181063
Total [candidate] (9.206 s) : 0, 9206042
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.181 s) : 0, 1180501
Total [baseline] (9.197 s) : 0, 9197007
Agent [candidate] (1.19 s) : 0, 1190262
Total [candidate] (9.225 s) : 0, 9225448
section iast_TELEMETRY_OFF
Agent [baseline] (1.183 s) : 0, 1182712
Total [baseline] (9.235 s) : 0, 9235470
Agent [candidate] (1.176 s) : 0, 1176435
Total [candidate] (9.21 s) : 0, 9209611
gantt
title insecure-bank - break down per module: candidate=1.46.0-SNAPSHOT~62bc9a024e, baseline=1.46.0-SNAPSHOT~82e3386fa9
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (718.221 ms) : 0, 718221
BytebuddyAgent [candidate] (717.318 ms) : 0, 717318
GlobalTracer [baseline] (255.725 ms) : 0, 255725
GlobalTracer [candidate] (256.632 ms) : 0, 256632
AppSec [baseline] (56.098 ms) : 0, 56098
AppSec [candidate] (55.493 ms) : 0, 55493
Remote Config [baseline] (726.158 µs) : 0, 726
Remote Config [candidate] (729.043 µs) : 0, 729
Telemetry [baseline] (15.342 ms) : 0, 15342
Telemetry [candidate] (14.414 ms) : 0, 14414
section iast
BytebuddyAgent [baseline] (832.349 ms) : 0, 832349
BytebuddyAgent [candidate] (830.558 ms) : 0, 830558
GlobalTracer [baseline] (247.098 ms) : 0, 247098
GlobalTracer [candidate] (246.413 ms) : 0, 246413
AppSec [baseline] (58.195 ms) : 0, 58195
AppSec [candidate] (57.914 ms) : 0, 57914
IAST [baseline] (21.449 ms) : 0, 21449
IAST [candidate] (21.553 ms) : 0, 21553
Remote Config [baseline] (670.756 µs) : 0, 671
Remote Config [candidate] (680.586 µs) : 0, 681
Telemetry [baseline] (8.793 ms) : 0, 8793
Telemetry [candidate] (8.837 ms) : 0, 8837
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (829.599 ms) : 0, 829599
BytebuddyAgent [candidate] (837.002 ms) : 0, 837002
GlobalTracer [baseline] (246.482 ms) : 0, 246482
GlobalTracer [candidate] (248.262 ms) : 0, 248262
AppSec [baseline] (58.231 ms) : 0, 58231
AppSec [candidate] (58.652 ms) : 0, 58652
IAST [baseline] (21.675 ms) : 0, 21675
IAST [candidate] (21.658 ms) : 0, 21658
Remote Config [baseline] (678.084 µs) : 0, 678
Remote Config [candidate] (681.265 µs) : 0, 681
Telemetry [baseline] (8.859 ms) : 0, 8859
Telemetry [candidate] (8.935 ms) : 0, 8935
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (831.643 ms) : 0, 831643
BytebuddyAgent [candidate] (827.206 ms) : 0, 827206
GlobalTracer [baseline] (247.785 ms) : 0, 247785
GlobalTracer [candidate] (246.446 ms) : 0, 246446
AppSec [baseline] (57.854 ms) : 0, 57854
AppSec [candidate] (57.674 ms) : 0, 57674
IAST [baseline] (21.012 ms) : 0, 21012
IAST [candidate] (20.723 ms) : 0, 20723
Remote Config [baseline] (665.736 µs) : 0, 666
Remote Config [candidate] (663.99 µs) : 0, 664
Telemetry [baseline] (8.729 ms) : 0, 8729
Telemetry [candidate] (8.685 ms) : 0, 8685
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 18 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~62bc9a024e, baseline=1.46.0-SNAPSHOT~82e3386fa9
dateFormat X
axisFormat %s
section baseline
no_agent (1.367 ms) : 1349, 1386
. : milestone, 1367,
appsec (1.759 ms) : 1736, 1783
. : milestone, 1759,
appsec_no_iast (1.752 ms) : 1729, 1775
. : milestone, 1752,
iast (1.52 ms) : 1497, 1543
. : milestone, 1520,
profiling (1.529 ms) : 1504, 1554
. : milestone, 1529,
tracing (1.503 ms) : 1479, 1527
. : milestone, 1503,
section candidate
no_agent (1.366 ms) : 1347, 1385
. : milestone, 1366,
appsec (1.739 ms) : 1715, 1763
. : milestone, 1739,
appsec_no_iast (1.748 ms) : 1723, 1772
. : milestone, 1748,
iast (1.495 ms) : 1472, 1518
. : milestone, 1495,
profiling (1.56 ms) : 1535, 1585
. : milestone, 1560,
tracing (1.505 ms) : 1481, 1529
. : milestone, 1505,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~62bc9a024e, baseline=1.46.0-SNAPSHOT~82e3386fa9
dateFormat X
axisFormat %s
section baseline
no_agent (375.508 µs) : 355, 396
. : milestone, 376,
iast (497.13 µs) : 475, 519
. : milestone, 497,
iast_FULL (651.586 µs) : 630, 673
. : milestone, 652,
iast_GLOBAL (520.209 µs) : 498, 543
. : milestone, 520,
iast_HARDCODED_SECRET_DISABLED (487.72 µs) : 466, 509
. : milestone, 488,
iast_INACTIVE (454.382 µs) : 433, 476
. : milestone, 454,
iast_TELEMETRY_OFF (488.212 µs) : 466, 510
. : milestone, 488,
tracing (446.864 µs) : 426, 468
. : milestone, 447,
section candidate
no_agent (380.546 µs) : 361, 400
. : milestone, 381,
iast (497.465 µs) : 476, 519
. : milestone, 497,
iast_FULL (655.576 µs) : 634, 677
. : milestone, 656,
iast_GLOBAL (516.131 µs) : 495, 537
. : milestone, 516,
iast_HARDCODED_SECRET_DISABLED (488.374 µs) : 467, 510
. : milestone, 488,
iast_INACTIVE (452.414 µs) : 431, 474
. : milestone, 452,
iast_TELEMETRY_OFF (494.996 µs) : 471, 519
. : milestone, 495,
tracing (449.118 µs) : 428, 471
. : milestone, 449,
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.46.0-SNAPSHOT~62bc9a024e, baseline=1.46.0-SNAPSHOT~82e3386fa9
dateFormat X
axisFormat %s
section baseline
no_agent (14.894 s) : 14894000, 14894000
. : milestone, 14894000,
appsec (15.073 s) : 15073000, 15073000
. : milestone, 15073000,
iast (18.881 s) : 18881000, 18881000
. : milestone, 18881000,
iast_GLOBAL (17.84 s) : 17840000, 17840000
. : milestone, 17840000,
profiling (14.952 s) : 14952000, 14952000
. : milestone, 14952000,
tracing (14.911 s) : 14911000, 14911000
. : milestone, 14911000,
section candidate
no_agent (15.277 s) : 15277000, 15277000
. : milestone, 15277000,
appsec (15.024 s) : 15024000, 15024000
. : milestone, 15024000,
iast (18.657 s) : 18657000, 18657000
. : milestone, 18657000,
iast_GLOBAL (17.883 s) : 17883000, 17883000
. : milestone, 17883000,
profiling (15.121 s) : 15121000, 15121000
. : milestone, 15121000,
tracing (14.803 s) : 14803000, 14803000
. : milestone, 14803000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.46.0-SNAPSHOT~62bc9a024e, baseline=1.46.0-SNAPSHOT~82e3386fa9
dateFormat X
axisFormat %s
section baseline
no_agent (1.465 ms) : 1454, 1477
. : milestone, 1465,
appsec (2.35 ms) : 2307, 2393
. : milestone, 2350,
iast (2.098 ms) : 2044, 2153
. : milestone, 2098,
iast_GLOBAL (2.14 ms) : 2085, 2194
. : milestone, 2140,
profiling (1.977 ms) : 1933, 2021
. : milestone, 1977,
tracing (1.938 ms) : 1897, 1980
. : milestone, 1938,
section candidate
no_agent (1.465 ms) : 1454, 1477
. : milestone, 1465,
appsec (2.353 ms) : 2310, 2396
. : milestone, 2353,
iast (2.103 ms) : 2049, 2158
. : milestone, 2103,
iast_GLOBAL (2.153 ms) : 2098, 2208
. : milestone, 2153,
profiling (1.984 ms) : 1939, 2029
. : milestone, 1984,
tracing (1.949 ms) : 1907, 1991
. : milestone, 1949,
|
85d0946
to
dd637fd
Compare
private static LLMObsSpanFactory SPAN_FACTORY = NoOpLLMObsSpanFactory.INSTANCE; | ||
|
||
/** | ||
* This a hook for injecting SpanFactory implementation. It should only be used internally by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, internal APIs should be added to the internal-api
module.
You can keep the same package structure and they will still be visible to the tracer internals.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah gotcha, thanks!
14f71b3
to
5d90450
Compare
dd637fd
to
85debfc
Compare
Hi! 👋 Looks like you updated a Git Submodule.
|
85debfc
to
98060a9
Compare
Hi! 👋 Looks like you updated a Git Submodule.
|
98060a9
to
62bc9a0
Compare
What Does This Do
Motivation
Additional Notes
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]