Skip to content

LLM Obs SDK Mapper - #8372

Merged
nayeem-kamal merged 20 commits into
gary/llmobs-sdk-mergefrom
gary/add-llm-obs-writer
Jul 8, 2025
Merged

LLM Obs SDK Mapper#8372
nayeem-kamal merged 20 commits into
gary/llmobs-sdk-mergefrom
gary/add-llm-obs-writer

Conversation

@gary-huang

@gary-huanggary-huang commented Feb 12, 2025

Copy link
Copy Markdown
Contributor

What Does This Do

Adds the remote mapper and payload definitions for LLMObs spans as well as adding the remote intake api setup for the LLMObs backend endpoint.

Motivation

Support manual sending of LLMObs spans from within the tracer.

Additional Notes

Additional tests will follow in the feature branch.

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@gary-huang
gary-huangforce-pushed the gary/impl-llm-obs-api branch 2 times, most recently from 680ec94 to b1d7aebCompareFebruary 13, 2025 07:39
@gary-huang
gary-huangforce-pushed the gary/add-llm-obs-writer branch from 113bf8c to 9052dc4CompareFebruary 13, 2025 07:41
@pr-commenter

pr-commenterBot commented Feb 13, 2025

Copy link
Copy Markdown

Benchmarks

Startup

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmastergary/add-llm-obs-writer
git_commit_date17518997641751932260
git_commit_sha2ee59a975d85a2
release_version1.51.0-SNAPSHOT~2ee59a972d1.50.0-SNAPSHOT~75d85a24a4
See matching parameters
BaselineCandidate
applicationinsecure-bankinsecure-bank
ci_job_date17519347301751934730
ci_job_id10174077341017407734
ci_pipeline_id6985712069857120
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_versionLinux runner-zfyrx7zua-project-304-concurrent-0-zgj6jfkn 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/LinuxLinux runner-zfyrx7zua-project-304-concurrent-0-zgj6jfkn 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
moduleAgentAgent
parentNoneNone
variantiastiast

Summary

Found 1 performance improvements and 7 performance regressions! Performance is the same for 45 metrics, 18 unstable metrics.

scenarioΔ mean execution_timecandidate mean execution_timebaseline mean execution_time
scenario:startup:insecure-bank:tracing:Agent.startworse
[+21.499ms; +59.462ms] or [+2.148%; +5.942%]
1.041s1.001s
scenario:startup:insecure-bank:tracing:Remote Configworse
[+53.519µs; +91.515µs] or [+7.982%; +13.649%]
742.984µs670.467µs
scenario:startup:petclinic:appsec:IASTbetter
[-1.626ms; -0.883ms] or [-7.017%; -3.811%]
21.919ms23.174ms
scenario:startup:petclinic:appsec:AppSecworse
[+5.520ms; +8.298ms] or [+3.240%; +4.871%]
177.244ms170.335ms
scenario:startup:petclinic:appsec:Remote Configworse
[+13.830µs; +59.728µs] or [+2.260%; +9.761%]
648.664µs611.885µs
scenario:startup:petclinic:profiling:AppSecworse
[+28.448ms; +31.335ms] or [+89.930%; +99.056%]
61.526ms31.634ms
scenario:startup:petclinic:tracing:Agent.startworse
[+28.949ms; +38.521ms] or [+2.910%; +3.872%]
1028.609ms994.874ms
scenario:startup:petclinic:tracing:Remote Configworse
[+39.717µs; +100.256µs] or [+5.806%; +14.656%]
754.062µs684.075µs
Startup time reports for insecure-bank
gantt
title insecure-bank - global startup overhead: candidate=1.50.0-SNAPSHOT~75d85a24a4, baseline=1.51.0-SNAPSHOT~2ee59a972d
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.001 s) : 0, 1000684
Total [baseline] (8.581 s) : 0, 8580781
Agent [candidate] (1.041 s) : 0, 1041164
Total [candidate] (8.627 s) : 0, 8627429
section iast
Agent [baseline] (1.132 s) : 0, 1132474
Total [baseline] (9.296 s) : 0, 9295531
Agent [candidate] (1.152 s) : 0, 1152031
Total [candidate] (9.232 s) : 0, 9232244
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.137 s) : 0, 1136589
Total [baseline] (9.243 s) : 0, 9243239
Agent [candidate] (1.152 s) : 0, 1152177
Total [candidate] (9.188 s) : 0, 9188250
section iast_TELEMETRY_OFF
Agent [baseline] (1.132 s) : 0, 1131586
Total [baseline] (9.243 s) : 0, 9243302
Agent [candidate] (1.153 s) : 0, 1153211
Total [candidate] (9.237 s) : 0, 9236572
Loading
  • baseline results
ModuleVariantDurationΔ tracing
Agenttracing1.001 s-
Agentiast1.132 s131.79 ms (13.2%)
Agentiast_HARDCODED_SECRET_DISABLED1.137 s135.906 ms (13.6%)
Agentiast_TELEMETRY_OFF1.132 s130.903 ms (13.1%)
Totaltracing8.581 s-
Totaliast9.296 s714.751 ms (8.3%)
Totaliast_HARDCODED_SECRET_DISABLED9.243 s662.458 ms (7.7%)
Totaliast_TELEMETRY_OFF9.243 s662.521 ms (7.7%)
  • candidate results
ModuleVariantDurationΔ tracing
Agenttracing1.041 s-
Agentiast1.152 s110.867 ms (10.6%)
Agentiast_HARDCODED_SECRET_DISABLED1.152 s111.013 ms (10.7%)
Agentiast_TELEMETRY_OFF1.153 s112.047 ms (10.8%)
Totaltracing8.627 s-
Totaliast9.232 s604.815 ms (7.0%)
Totaliast_HARDCODED_SECRET_DISABLED9.188 s560.822 ms (6.5%)
Totaliast_TELEMETRY_OFF9.237 s609.144 ms (7.1%)
gantt
title insecure-bank - break down per module: candidate=1.50.0-SNAPSHOT~75d85a24a4, baseline=1.51.0-SNAPSHOT~2ee59a972d
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (692.578 ms) : 0, 692578
BytebuddyAgent [candidate] (695.179 ms) : 0, 695179
GlobalTracer [baseline] (242.096 ms) : 0, 242096
GlobalTracer [candidate] (245.642 ms) : 0, 245642
AppSec [baseline] (30.206 ms) : 0, 30206
AppSec [candidate] (57.728 ms) : 0, 57728
Debugger [baseline] (6.017 ms) : 0, 6017
Debugger [candidate] (6.248 ms) : 0, 6248
Remote Config [baseline] (670.467 µs) : 0, 670
Remote Config [candidate] (742.984 µs) : 0, 743
Telemetry [baseline] (8.205 ms) : 0, 8205
Telemetry [candidate] (12.015 ms) : 0, 12015
section iast
BytebuddyAgent [baseline] (807.084 ms) : 0, 807084
BytebuddyAgent [candidate] (804.265 ms) : 0, 804265
GlobalTracer [baseline] (232.771 ms) : 0, 232771
GlobalTracer [candidate] (231.301 ms) : 0, 231301
IAST [baseline] (25.264 ms) : 0, 25264
IAST [candidate] (28.479 ms) : 0, 28479
AppSec [baseline] (31.281 ms) : 0, 31281
AppSec [candidate] (50.152 ms) : 0, 50152
Debugger [baseline] (6.711 ms) : 0, 6711
Debugger [candidate] (5.913 ms) : 0, 5913
Remote Config [baseline] (594.193 µs) : 0, 594
Remote Config [candidate] (590.854 µs) : 0, 591
Telemetry [baseline] (7.938 ms) : 0, 7938
Telemetry [candidate] (7.892 ms) : 0, 7892
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (809.88 ms) : 0, 809880
BytebuddyAgent [candidate] (803.06 ms) : 0, 803060
GlobalTracer [baseline] (233.977 ms) : 0, 233977
GlobalTracer [candidate] (232.313 ms) : 0, 232313
IAST [baseline] (27.183 ms) : 0, 27183
IAST [candidate] (26.056 ms) : 0, 26056
AppSec [baseline] (29.44 ms) : 0, 29440
AppSec [candidate] (52.904 ms) : 0, 52904
Debugger [baseline] (6.677 ms) : 0, 6677
Debugger [candidate] (5.904 ms) : 0, 5904
Remote Config [baseline] (575.641 µs) : 0, 576
Remote Config [candidate] (583.864 µs) : 0, 584
Telemetry [baseline] (8.042 ms) : 0, 8042
Telemetry [candidate] (7.869 ms) : 0, 7869
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (806.473 ms) : 0, 806473
BytebuddyAgent [candidate] (805.936 ms) : 0, 805936
GlobalTracer [baseline] (233.495 ms) : 0, 233495
GlobalTracer [candidate] (231.129 ms) : 0, 231129
IAST [baseline] (27.99 ms) : 0, 27990
IAST [candidate] (28.659 ms) : 0, 28659
AppSec [baseline] (28.414 ms) : 0, 28414
AppSec [candidate] (49.485 ms) : 0, 49485
Debugger [baseline] (5.853 ms) : 0, 5853
Debugger [candidate] (6.008 ms) : 0, 6008
Remote Config [baseline] (579.127 µs) : 0, 579
Remote Config [candidate] (607.292 µs) : 0, 607
Telemetry [baseline] (7.904 ms) : 0, 7904
Telemetry [candidate] (7.847 ms) : 0, 7847
Loading
Startup time reports for petclinic
gantt
title petclinic - global startup overhead: candidate=1.50.0-SNAPSHOT~75d85a24a4, baseline=1.51.0-SNAPSHOT~2ee59a972d
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (994.874 ms) : 0, 994874
Total [baseline] (10.627 s) : 0, 10626508
Agent [candidate] (1.029 s) : 0, 1028609
Total [candidate] (10.683 s) : 0, 10682883
section appsec
Agent [baseline] (1.164 s) : 0, 1164353
Total [baseline] (10.751 s) : 0, 10751042
Agent [candidate] (1.173 s) : 0, 1173072
Total [candidate] (10.786 s) : 0, 10785737
section iast
Agent [baseline] (1.135 s) : 0, 1135337
Total [baseline] (10.816 s) : 0, 10815689
Agent [candidate] (1.152 s) : 0, 1151875
Total [candidate] (10.889 s) : 0, 10888694
section profiling
Agent [baseline] (1.245 s) : 0, 1244982
Total [baseline] (10.966 s) : 0, 10966147
Agent [candidate] (1.269 s) : 0, 1269296
Total [candidate] (10.921 s) : 0, 10921137
Loading
  • baseline results
ModuleVariantDurationΔ tracing
Agenttracing994.874 ms-
Agentappsec1.164 s169.479 ms (17.0%)
Agentiast1.135 s140.463 ms (14.1%)
Agentprofiling1.245 s250.108 ms (25.1%)
Totaltracing10.627 s-
Totalappsec10.751 s124.534 ms (1.2%)
Totaliast10.816 s189.181 ms (1.8%)
Totalprofiling10.966 s339.638 ms (3.2%)
  • candidate results
ModuleVariantDurationΔ tracing
Agenttracing1.029 s-
Agentappsec1.173 s144.463 ms (14.0%)
Agentiast1.152 s123.266 ms (12.0%)
Agentprofiling1.269 s240.687 ms (23.4%)
Totaltracing10.683 s-
Totalappsec10.786 s102.854 ms (1.0%)
Totaliast10.889 s205.811 ms (1.9%)
Totalprofiling10.921 s238.254 ms (2.2%)
gantt
title petclinic - break down per module: candidate=1.50.0-SNAPSHOT~75d85a24a4, baseline=1.51.0-SNAPSHOT~2ee59a972d
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (686.662 ms) : 0, 686662
BytebuddyAgent [candidate] (684.584 ms) : 0, 684584
GlobalTracer [baseline] (242.062 ms) : 0, 242062
GlobalTracer [candidate] (243.222 ms) : 0, 243222
AppSec [baseline] (30.452 ms) : 0, 30452
AppSec [candidate] (57.236 ms) : 0, 57236
Debugger [baseline] (6.047 ms) : 0, 6047
Debugger [candidate] (6.239 ms) : 0, 6239
Remote Config [baseline] (684.075 µs) : 0, 684
Remote Config [candidate] (754.062 µs) : 0, 754
Telemetry [baseline] (8.18 ms) : 0, 8180
Telemetry [candidate] (12.963 ms) : 0, 12963
section appsec
BytebuddyAgent [baseline] (705.901 ms) : 0, 705901
BytebuddyAgent [candidate] (707.265 ms) : 0, 707265
GlobalTracer [baseline] (239.273 ms) : 0, 239273
GlobalTracer [candidate] (239.962 ms) : 0, 239962
IAST [baseline] (23.174 ms) : 0, 23174
IAST [candidate] (21.919 ms) : 0, 21919
AppSec [baseline] (170.335 ms) : 0, 170335
AppSec [candidate] (177.244 ms) : 0, 177244
Debugger [baseline] (7.305 ms) : 0, 7305
Debugger [candidate] (5.978 ms) : 0, 5978
Remote Config [baseline] (611.885 µs) : 0, 612
Remote Config [candidate] (648.664 µs) : 0, 649
Telemetry [baseline] (8.464 ms) : 0, 8464
Telemetry [candidate] (7.374 ms) : 0, 7374
section iast
BytebuddyAgent [baseline] (809.323 ms) : 0, 809323
BytebuddyAgent [candidate] (803.393 ms) : 0, 803393
GlobalTracer [baseline] (233.45 ms) : 0, 233450
GlobalTracer [candidate] (231.382 ms) : 0, 231382
IAST [baseline] (28.571 ms) : 0, 28571
IAST [candidate] (29.487 ms) : 0, 29487
AppSec [baseline] (28.725 ms) : 0, 28725
AppSec [candidate] (49.659 ms) : 0, 49659
Debugger [baseline] (5.82 ms) : 0, 5820
Debugger [candidate] (5.9 ms) : 0, 5900
Remote Config [baseline] (581.454 µs) : 0, 581
Remote Config [candidate] (596.172 µs) : 0, 596
Telemetry [baseline] (7.993 ms) : 0, 7993
Telemetry [candidate] (7.956 ms) : 0, 7956
section profiling
BytebuddyAgent [baseline] (678.331 ms) : 0, 678331
BytebuddyAgent [candidate] (676.196 ms) : 0, 676196
GlobalTracer [baseline] (362.017 ms) : 0, 362017
GlobalTracer [candidate] (361.013 ms) : 0, 361013
AppSec [baseline] (31.634 ms) : 0, 31634
AppSec [candidate] (61.526 ms) : 0, 61526
Debugger [baseline] (12.049 ms) : 0, 12049
Debugger [candidate] (6.06 ms) : 0, 6060
Remote Config [baseline] (660.085 µs) : 0, 660
Remote Config [candidate] (653.859 µs) : 0, 654
Telemetry [baseline] (8.763 ms) : 0, 8763
Telemetry [candidate] (8.137 ms) : 0, 8137
ProfilingAgent [baseline] (102.937 ms) : 0, 102937
ProfilingAgent [candidate] (104.845 ms) : 0, 104845
Profiling [baseline] (102.96 ms) : 0, 102960
Profiling [candidate] (104.869 ms) : 0, 104869
Loading

Load

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
end_time2025-07-08T00:02:292025-07-08T00:15:58
git_branchmastergary/add-llm-obs-writer
git_commit_date17518997641751932260
git_commit_sha2ee59a975d85a2
release_version1.51.0-SNAPSHOT~2ee59a972d1.50.0-SNAPSHOT~75d85a24a4
start_time2025-07-08T00:02:152025-07-08T00:15:43
See matching parameters
BaselineCandidate
applicationinsecure-bankinsecure-bank
ci_job_date17519340981751934098
ci_job_id10174077351017407735
ci_pipeline_id6985712069857120
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_versionLinux runner-zfyrx7zua-project-304-concurrent-1-nnibq57e 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/LinuxLinux runner-zfyrx7zua-project-304-concurrent-1-nnibq57e 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
thresholds_or_resultsresultsresults
variantiastiast

Summary

Found 5 performance improvements and 1 performance regressions! Performance is the same for 6 metrics, 16 unstable metrics.

scenarioΔ mean http_req_durationΔ mean throughputcandidate mean http_req_durationcandidate mean throughputbaseline mean http_req_durationbaseline mean throughput
scenario:load:petclinic:appsecbetter
[-9.080ms; -8.918ms] or [-87.286%; -85.729%]
unstable
[+307.784op/s; +4257.076op/s] or [+64.635%; +893.986%]
1.404ms2758.621op/s10.402ms476.190op/s
scenario:load:petclinic:appsec_no_iastbetter
[-1.126ms; -0.975ms] or [-62.808%; -54.434%]
unstable
[-1447.194op/s; +5630.200op/s] or [-61.506%; +239.284%]
0.742ms4444.444op/s1.792ms2352.941op/s
scenario:load:petclinic:iastbetter
[-1.100ms; -1.000ms] or [-97.538%; -88.650%]
unstable
[+1377.018op/s; +11666.461op/s] or [+39.589%; +335.411%]
0.078ms10000.000op/s1.128ms3478.261op/s
scenario:load:petclinic:no_agentworse
[+2.773ms; +2.916ms] or [+31.811%; +33.451%]
unstable
[-165.693op/s; -108.844op/s] or [-29.203%; -19.184%]
11.563ms430.108op/s8.718ms567.376op/s
scenario:load:petclinic:profilingbetter
[-5.398ms; -5.239ms] or [-73.057%; -70.906%]
unstable
[-109.811op/s; +2776.477op/s] or [-16.472%; +416.472%]
2.070ms2000.000op/s7.388ms666.667op/s
scenario:load:petclinic:tracingbetter
[-5.114ms; -4.915ms] or [-61.746%; -59.349%]
unstable
[-312.648op/s; +1780.778op/s] or [-52.369%; +298.280%]
3.267ms1331.080op/s8.282ms597.015op/s

Dacapo

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmastergary/add-llm-obs-writer
git_commit_date17518997641751932260
git_commit_sha2ee59a975d85a2
release_version1.51.0-SNAPSHOT~2ee59a972d1.50.0-SNAPSHOT~75d85a24a4
See matching parameters
BaselineCandidate
applicationbiojavabiojava
ci_job_date17519343211751934321
ci_job_id10174077361017407736
ci_pipeline_id6985712069857120
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_versionLinux runner-zfyrx7zua-project-304-concurrent-2-cl7aziws 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/LinuxLinux runner-zfyrx7zua-project-304-concurrent-2-cl7aziws 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
variantappsecappsec

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics.

Execution time for biojava
gantt
title biojava - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~75d85a24a4, baseline=1.51.0-SNAPSHOT~2ee59a972d
dateFormat X
axisFormat %s
section baseline
no_agent (15.545 s) : 15545000, 15545000
. : milestone, 15545000,
appsec (14.899 s) : 14899000, 14899000
. : milestone, 14899000,
iast (18.704 s) : 18704000, 18704000
. : milestone, 18704000,
iast_GLOBAL (17.93 s) : 17930000, 17930000
. : milestone, 17930000,
profiling (15.782 s) : 15782000, 15782000
. : milestone, 15782000,
tracing (15.077 s) : 15077000, 15077000
. : milestone, 15077000,
section candidate
no_agent (15.26 s) : 15260000, 15260000
. : milestone, 15260000,
appsec (14.69 s) : 14690000, 14690000
. : milestone, 14690000,
iast (18.25 s) : 18250000, 18250000
. : milestone, 18250000,
iast_GLOBAL (17.84 s) : 17840000, 17840000
. : milestone, 17840000,
profiling (15.189 s) : 15189000, 15189000
. : milestone, 15189000,
tracing (14.95 s) : 14950000, 14950000
. : milestone, 14950000,
Loading
  • baseline results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent15.545 s [15.545 s, 15.545 s]-
appsec14.899 s [14.899 s, 14.899 s]-646.0 ms (-4.2%)
iast18.704 s [18.704 s, 18.704 s]3.159 s (20.3%)
iast_GLOBAL17.93 s [17.93 s, 17.93 s]2.385 s (15.3%)
profiling15.782 s [15.782 s, 15.782 s]237.0 ms (1.5%)
tracing15.077 s [15.077 s, 15.077 s]-468.0 ms (-3.0%)
  • candidate results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent15.26 s [15.26 s, 15.26 s]-
appsec14.69 s [14.69 s, 14.69 s]-570.0 ms (-3.7%)
iast18.25 s [18.25 s, 18.25 s]2.99 s (19.6%)
iast_GLOBAL17.84 s [17.84 s, 17.84 s]2.58 s (16.9%)
profiling15.189 s [15.189 s, 15.189 s]-71.0 ms (-0.5%)
tracing14.95 s [14.95 s, 14.95 s]-310.0 ms (-2.0%)
Execution time for tomcat
gantt
title tomcat - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~75d85a24a4, baseline=1.51.0-SNAPSHOT~2ee59a972d
dateFormat X
axisFormat %s
section baseline
no_agent (1.474 ms) : 1462, 1485
. : milestone, 1474,
appsec (2.419 ms) : 2370, 2469
. : milestone, 2419,
iast (2.199 ms) : 2137, 2262
. : milestone, 2199,
iast_GLOBAL (2.233 ms) : 2171, 2295
. : milestone, 2233,
profiling (2.048 ms) : 1998, 2098
. : milestone, 2048,
tracing (2.003 ms) : 1955, 2051
. : milestone, 2003,
section candidate
no_agent (1.477 ms) : 1466, 1489
. : milestone, 1477,
appsec (2.408 ms) : 2359, 2457
. : milestone, 2408,
iast (2.188 ms) : 2127, 2249
. : milestone, 2188,
iast_GLOBAL (2.229 ms) : 2167, 2291
. : milestone, 2229,
profiling (2.039 ms) : 1989, 2089
. : milestone, 2039,
tracing (2.013 ms) : 1965, 2061
. : milestone, 2013,
Loading
  • baseline results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent1.474 ms [1.462 ms, 1.485 ms]-
appsec2.419 ms [2.37 ms, 2.469 ms]945.608 µs (64.2%)
iast2.199 ms [2.137 ms, 2.262 ms]725.672 µs (49.2%)
iast_GLOBAL2.233 ms [2.171 ms, 2.295 ms]759.69 µs (51.5%)
profiling2.048 ms [1.998 ms, 2.098 ms]574.363 µs (39.0%)
tracing2.003 ms [1.955 ms, 2.051 ms]529.662 µs (35.9%)
  • candidate results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent1.477 ms [1.466 ms, 1.489 ms]-
appsec2.408 ms [2.359 ms, 2.457 ms]930.552 µs (63.0%)
iast2.188 ms [2.127 ms, 2.249 ms]710.455 µs (48.1%)
iast_GLOBAL2.229 ms [2.167 ms, 2.291 ms]751.439 µs (50.9%)
profiling2.039 ms [1.989 ms, 2.089 ms]562.057 µs (38.0%)
tracing2.013 ms [1.965 ms, 2.061 ms]535.592 µs (36.3%)

@gary-huang
gary-huangforce-pushed the gary/add-llm-obs-writer branch from 9052dc4 to dd8c1edCompareFebruary 14, 2025 09:13
@gary-huang
gary-huangforce-pushed the gary/add-llm-obs-writer branch 2 times, most recently from 88cbf86 to ce8a6d3CompareFebruary 19, 2025 17:32
@gary-huang
gary-huangforce-pushed the gary/add-llm-obs-writer branch 2 times, most recently from fc30660 to 061b18dCompareFebruary 19, 2025 18:18
@gary-huang
gary-huangforce-pushed the gary/add-llm-obs-writer branch 2 times, most recently from 5c305b9 to 9ee77d9CompareFebruary 20, 2025 15:50
@gary-huang
gary-huangforce-pushed the gary/impl-llm-obs-api branch 6 times, most recently from 94136c5 to 7064f57CompareFebruary 20, 2025 23:13
@gary-huang
gary-huangforce-pushed the gary/add-llm-obs-writer branch from 9ee77d9 to 0b4f8a8CompareFebruary 24, 2025 19:38
@gary-huang
gary-huangforce-pushed the gary/add-llm-obs-writer branch from 0b4f8a8 to 738eb77CompareMarch 4, 2025 16:17
@gary-huang
gary-huangforce-pushed the gary/impl-llm-obs-api branch 3 times, most recently from f9cb23e to 64c94e5CompareMarch 5, 2025 19:23
@gary-huang
gary-huangforce-pushed the gary/add-llm-obs-writer branch from f858e30 to fb0af52CompareApril 11, 2025 01:54
@gary-huang
gary-huangforce-pushed the gary/add-llm-obs-writer branch from fb0af52 to e0b4510CompareApril 21, 2025 14:04
Base automatically changed from gary/impl-llm-obs-api to gary/llmobs-sdk-mergeJune 4, 2025 19:35
@gary-huanggary-huang changed the title writer implLLM Obs SDK MapperJun 26, 2025
@nayeem-kamal
nayeem-kamal marked this pull request as ready for review July 3, 2025 14:14
@nayeem-kamal
nayeem-kamal requested review from a team as code ownersJuly 3, 2025 14:14
@nayeem-kamal
nayeem-kamal requested review from daniel-mohedano and mcculls and removed request for daniel-mohedano and mccullsJuly 3, 2025 14:14
@nayeem-kamal
nayeem-kamal merged commit 5ca9c84 into gary/llmobs-sdk-mergeJul 8, 2025
294 of 299 checks passed
@nayeem-kamal
nayeem-kamal deleted the gary/add-llm-obs-writer branch July 8, 2025 15:51
gary-huang added a commit that referenced this pull request Jul 9, 2025
* add APIs for llm obs
* add llm message class to support llm spans
* add llm message class to support llm spans
* impl llmobs agent and llmobs apis
* support llm messages with tool calls
* handle default model name and provider
* rm unneeded file
* impl llmobs agent and llmobs apis
* impl llmobs agent
* working writer
* add support for llm message and tool calls
* cleaned up whitespace
* resolve merge conflicts
* remaining merge conflicts
* fix bad method call
* fixed llmobs intake creation if llmobs not enabled
* removed print statements
* added tests for llmobsspanmapper
* fixed coverage for tags
---------
Co-authored-by: Nayeem Kamal <nayeem.kamal@datadoghq.com>
nayeem-kamal added a commit that referenced this pull request Jul 9, 2025
* add APIs for llm obs sdk (#8135)
* add APIs for llm obs
* add llm message class to support llm spans
* follow java convention of naming Id instead of ID
* add codeowners
* implement LLM Obs SDK spans APIs (#8390)
* add APIs for llm obs
* add llm message class to support llm spans
* add llm message class to support llm spans
* impl llmobs agent and llmobs apis
* support llm messages with tool calls
* handle default model name and provider
* rm unneeded file
* spotless
* add APIs for llm obs sdk (#8135)
* add APIs for llm obs
* add llm message class to support llm spans
* follow java convention of naming Id instead of ID
* add codeowners
* rename ID to Id according to java naming conventions
* Undo change to integrations-core submodule
* fix build gradle
* rm empty line
* fix test
* LLM Obs SDK Mapper (#8372)
* add APIs for llm obs
* add llm message class to support llm spans
* add llm message class to support llm spans
* impl llmobs agent and llmobs apis
* support llm messages with tool calls
* handle default model name and provider
* rm unneeded file
* impl llmobs agent and llmobs apis
* impl llmobs agent
* working writer
* add support for llm message and tool calls
* cleaned up whitespace
* resolve merge conflicts
* remaining merge conflicts
* fix bad method call
* fixed llmobs intake creation if llmobs not enabled
* removed print statements
* added tests for llmobsspanmapper
* fixed coverage for tags
---------
Co-authored-by: Nayeem Kamal <nayeem.kamal@datadoghq.com>
* updated to master submodule
* LLM Obs SDK use context API for parent children span linkage (#8711)
* add APIs for llm obs
* add llm message class to support llm spans
* add llm message class to support llm spans
* impl llmobs agent and llmobs apis
* support llm messages with tool calls
* handle default model name and provider
* rm unneeded file
* impl llmobs agent and llmobs apis
* impl llmobs agent
* working writer
* add support for llm message and tool calls
* impl llmobs agent and llmobs apis
* use new ctx api to track parent span
* cleaned up whitespace
* resolve merge conflicts
* remaining merge conflicts
* fix bad method call
* fixed llmobs intake creation if llmobs not enabled
* removed print statements
* ran spotless
* added tests for llmobsspanmapper
* fixed coverage for tags
---------
Co-authored-by: Nayeem Kamal <nayeem.kamal@datadoghq.com>
Co-authored-by: Nayeem Kamal <kamal.nayeem12@gmail.com>
* LLM Obs SDK evaluation metrics submission (#8688)
* add APIs for llm obs
* add llm message class to support llm spans
* add llm message class to support llm spans
* impl llmobs agent and llmobs apis
* support llm messages with tool calls
* handle default model name and provider
* rm unneeded file
* impl llmobs agent and llmobs apis
* impl llmobs agent
* working writer
* add support for llm message and tool calls
* impl llmobs agent and llmobs apis
* use new ctx api to track parent span
* add api for evals
* working impl supporting both agentless and agent
* handle null tags and default to default ml app if null or empty string provided in the override
* cleaned up whitespace
* resolve merge conflicts
* remaining merge conflicts
* fix bad method call
* fixed llmobs intake creation if llmobs not enabled
* removed print statements
* ran spotless
* ran spotless
* added tests for llmobsspanmapper
* fixed coverage for tags
---------
Co-authored-by: Nayeem Kamal <nayeem.kamal@datadoghq.com>
Co-authored-by: Nayeem Kamal <kamal.nayeem12@gmail.com>
* fix CODEOWNERS
---------
Co-authored-by: Nayeem Kamal <nayeem.kamal@datadoghq.com>
Co-authored-by: Nayeem Kamal <kamal.nayeem12@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@gary-huang@nayeem-kamal