[DRAFT] NOT MERGING POC: Send JVM runtime metrics via OTLP using OTel-native naming#10985
Draft
[DRAFT] NOT MERGING POC: Send JVM runtime metrics via OTLP using OTel-native naming#10985
Conversation
Adds jvm.memory.used, jvm.memory.committed, jvm.memory.limit, jvm.gc.duration, jvm.gc.count, jvm.thread.count, jvm.class.loaded, jvm.class.unloaded, jvm.cpu.recent_utilization, jvm.cpu.count as OTel instruments on the existing OTLP metrics pipeline. Includes jvm.memory.type attribute for heap/non_heap breakdown required by semantic-core equivalence mappings. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 62 metrics, 9 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.61.0-SNAPSHOT~c0174a38a5, baseline=1.61.0-SNAPSHOT~c0ce9c5738
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.059 s) : 0, 1059446
Total [baseline] (11.013 s) : 0, 11012723
Agent [candidate] (1.062 s) : 0, 1061763
Total [candidate] (11.143 s) : 0, 11143176
section appsec
Agent [baseline] (1.245 s) : 0, 1245458
Total [baseline] (11.131 s) : 0, 11131144
Agent [candidate] (1.264 s) : 0, 1263834
Total [candidate] (11.136 s) : 0, 11135925
section iast
Agent [baseline] (1.239 s) : 0, 1239101
Total [baseline] (11.321 s) : 0, 11321059
Agent [candidate] (1.231 s) : 0, 1230604
Total [candidate] (11.412 s) : 0, 11411784
section profiling
Agent [baseline] (1.186 s) : 0, 1185766
Total [baseline] (11.056 s) : 0, 11055634
Agent [candidate] (1.194 s) : 0, 1193604
Total [candidate] (11.046 s) : 0, 11045938
gantt
title petclinic - break down per module: candidate=1.61.0-SNAPSHOT~c0174a38a5, baseline=1.61.0-SNAPSHOT~c0ce9c5738
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.179 ms) : 0, 1179
crashtracking [candidate] (1.187 ms) : 0, 1187
BytebuddyAgent [baseline] (629.815 ms) : 0, 629815
BytebuddyAgent [candidate] (630.691 ms) : 0, 630691
AgentMeter [baseline] (29.458 ms) : 0, 29458
AgentMeter [candidate] (29.675 ms) : 0, 29675
GlobalTracer [baseline] (257.289 ms) : 0, 257289
GlobalTracer [candidate] (258.591 ms) : 0, 258591
AppSec [baseline] (31.834 ms) : 0, 31834
AppSec [candidate] (32.007 ms) : 0, 32007
Debugger [baseline] (60.299 ms) : 0, 60299
Debugger [candidate] (60.613 ms) : 0, 60613
Remote Config [baseline] (602.423 µs) : 0, 602
Remote Config [candidate] (590.664 µs) : 0, 591
Telemetry [baseline] (8.0 ms) : 0, 8000
Telemetry [candidate] (8.858 ms) : 0, 8858
Flare Poller [baseline] (4.995 ms) : 0, 4995
Flare Poller [candidate] (3.564 ms) : 0, 3564
section appsec
crashtracking [baseline] (1.206 ms) : 0, 1206
crashtracking [candidate] (1.223 ms) : 0, 1223
BytebuddyAgent [baseline] (657.925 ms) : 0, 657925
BytebuddyAgent [candidate] (669.25 ms) : 0, 669250
AgentMeter [baseline] (12.028 ms) : 0, 12028
AgentMeter [candidate] (12.302 ms) : 0, 12302
GlobalTracer [baseline] (257.32 ms) : 0, 257320
GlobalTracer [candidate] (261.555 ms) : 0, 261555
AppSec [baseline] (178.085 ms) : 0, 178085
AppSec [candidate] (178.496 ms) : 0, 178496
Debugger [baseline] (66.036 ms) : 0, 66036
Debugger [candidate] (67.075 ms) : 0, 67075
Remote Config [baseline] (624.102 µs) : 0, 624
Remote Config [candidate] (626.606 µs) : 0, 627
Telemetry [baseline] (8.403 ms) : 0, 8403
Telemetry [candidate] (8.444 ms) : 0, 8444
Flare Poller [baseline] (3.558 ms) : 0, 3558
Flare Poller [candidate] (3.697 ms) : 0, 3697
IAST [baseline] (24.136 ms) : 0, 24136
IAST [candidate] (24.631 ms) : 0, 24631
section iast
crashtracking [baseline] (1.211 ms) : 0, 1211
crashtracking [candidate] (1.192 ms) : 0, 1192
BytebuddyAgent [baseline] (804.791 ms) : 0, 804791
BytebuddyAgent [candidate] (797.968 ms) : 0, 797968
AgentMeter [baseline] (11.533 ms) : 0, 11533
AgentMeter [candidate] (11.413 ms) : 0, 11413
GlobalTracer [baseline] (249.397 ms) : 0, 249397
GlobalTracer [candidate] (248.002 ms) : 0, 248002
AppSec [baseline] (26.876 ms) : 0, 26876
AppSec [candidate] (26.521 ms) : 0, 26521
Debugger [baseline] (70.489 ms) : 0, 70489
Debugger [candidate] (70.32 ms) : 0, 70320
Remote Config [baseline] (520.848 µs) : 0, 521
Remote Config [candidate] (527.333 µs) : 0, 527
Telemetry [baseline] (9.137 ms) : 0, 9137
Telemetry [candidate] (9.75 ms) : 0, 9750
Flare Poller [baseline] (3.4 ms) : 0, 3400
Flare Poller [candidate] (3.587 ms) : 0, 3587
IAST [baseline] (25.592 ms) : 0, 25592
IAST [candidate] (25.256 ms) : 0, 25256
section profiling
ProfilingAgent [baseline] (93.771 ms) : 0, 93771
ProfilingAgent [candidate] (94.447 ms) : 0, 94447
crashtracking [baseline] (1.173 ms) : 0, 1173
crashtracking [candidate] (1.207 ms) : 0, 1207
BytebuddyAgent [baseline] (684.999 ms) : 0, 684999
BytebuddyAgent [candidate] (690.259 ms) : 0, 690259
AgentMeter [baseline] (8.981 ms) : 0, 8981
AgentMeter [candidate] (9.066 ms) : 0, 9066
GlobalTracer [baseline] (215.702 ms) : 0, 215702
GlobalTracer [candidate] (216.657 ms) : 0, 216657
AppSec [baseline] (32.305 ms) : 0, 32305
AppSec [candidate] (32.692 ms) : 0, 32692
Debugger [baseline] (66.147 ms) : 0, 66147
Debugger [candidate] (65.44 ms) : 0, 65440
Remote Config [baseline] (560.46 µs) : 0, 560
Remote Config [candidate] (569.338 µs) : 0, 569
Telemetry [baseline] (7.756 ms) : 0, 7756
Telemetry [candidate] (7.758 ms) : 0, 7758
Flare Poller [baseline] (3.474 ms) : 0, 3474
Flare Poller [candidate] (4.298 ms) : 0, 4298
Profiling [baseline] (94.318 ms) : 0, 94318
Profiling [candidate] (94.999 ms) : 0, 94999
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.61.0-SNAPSHOT~c0174a38a5, baseline=1.61.0-SNAPSHOT~c0ce9c5738
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.057 s) : 0, 1056584
Total [baseline] (8.858 s) : 0, 8858109
Agent [candidate] (1.057 s) : 0, 1057082
Total [candidate] (8.83 s) : 0, 8829883
section iast
Agent [baseline] (1.227 s) : 0, 1226845
Total [baseline] (9.542 s) : 0, 9542370
Agent [candidate] (1.235 s) : 0, 1235206
Total [candidate] (9.527 s) : 0, 9526780
gantt
title insecure-bank - break down per module: candidate=1.61.0-SNAPSHOT~c0174a38a5, baseline=1.61.0-SNAPSHOT~c0ce9c5738
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.187 ms) : 0, 1187
crashtracking [candidate] (1.185 ms) : 0, 1185
BytebuddyAgent [baseline] (628.833 ms) : 0, 628833
BytebuddyAgent [candidate] (629.509 ms) : 0, 629509
AgentMeter [baseline] (29.313 ms) : 0, 29313
AgentMeter [candidate] (29.457 ms) : 0, 29457
GlobalTracer [baseline] (256.958 ms) : 0, 256958
GlobalTracer [candidate] (256.983 ms) : 0, 256983
AppSec [baseline] (31.771 ms) : 0, 31771
AppSec [candidate] (31.657 ms) : 0, 31657
Debugger [baseline] (59.6 ms) : 0, 59600
Debugger [candidate] (59.493 ms) : 0, 59493
Remote Config [baseline] (588.37 µs) : 0, 588
Remote Config [candidate] (583.002 µs) : 0, 583
Telemetry [baseline] (8.017 ms) : 0, 8017
Telemetry [candidate] (8.001 ms) : 0, 8001
Flare Poller [baseline] (4.215 ms) : 0, 4215
Flare Poller [candidate] (4.258 ms) : 0, 4258
section iast
crashtracking [baseline] (1.195 ms) : 0, 1195
crashtracking [candidate] (1.204 ms) : 0, 1204
BytebuddyAgent [baseline] (796.346 ms) : 0, 796346
BytebuddyAgent [candidate] (802.535 ms) : 0, 802535
AgentMeter [baseline] (11.422 ms) : 0, 11422
AgentMeter [candidate] (11.698 ms) : 0, 11698
GlobalTracer [baseline] (247.046 ms) : 0, 247046
GlobalTracer [candidate] (248.606 ms) : 0, 248606
IAST [baseline] (25.208 ms) : 0, 25208
IAST [candidate] (25.583 ms) : 0, 25583
AppSec [baseline] (27.324 ms) : 0, 27324
AppSec [candidate] (26.864 ms) : 0, 26864
Debugger [baseline] (67.734 ms) : 0, 67734
Debugger [candidate] (67.605 ms) : 0, 67605
Remote Config [baseline] (529.041 µs) : 0, 529
Remote Config [candidate] (525.066 µs) : 0, 525
Telemetry [baseline] (10.404 ms) : 0, 10404
Telemetry [candidate] (10.625 ms) : 0, 10625
Flare Poller [baseline] (3.602 ms) : 0, 3602
Flare Poller [candidate] (3.863 ms) : 0, 3863
LoadParameters
See matching parameters
SummaryFound 1 performance improvements and 0 performance regressions! Performance is the same for 17 metrics, 18 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~c0174a38a5, baseline=1.61.0-SNAPSHOT~c0ce9c5738
dateFormat X
axisFormat %s
section baseline
no_agent (19.613 ms) : 19405, 19821
. : milestone, 19613,
appsec (19.092 ms) : 18897, 19287
. : milestone, 19092,
code_origins (17.988 ms) : 17810, 18166
. : milestone, 17988,
iast (18.751 ms) : 18564, 18938
. : milestone, 18751,
profiling (18.782 ms) : 18599, 18966
. : milestone, 18782,
tracing (17.692 ms) : 17519, 17864
. : milestone, 17692,
section candidate
no_agent (19.622 ms) : 19420, 19825
. : milestone, 19622,
appsec (18.673 ms) : 18484, 18861
. : milestone, 18673,
code_origins (17.906 ms) : 17729, 18082
. : milestone, 17906,
iast (18.052 ms) : 17871, 18233
. : milestone, 18052,
profiling (18.473 ms) : 18293, 18653
. : milestone, 18473,
tracing (17.824 ms) : 17648, 18000
. : milestone, 17824,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~c0174a38a5, baseline=1.61.0-SNAPSHOT~c0ce9c5738
dateFormat X
axisFormat %s
section baseline
no_agent (1.191 ms) : 1180, 1202
. : milestone, 1191,
iast (3.212 ms) : 3167, 3258
. : milestone, 3212,
iast_FULL (5.945 ms) : 5885, 6004
. : milestone, 5945,
iast_GLOBAL (3.534 ms) : 3477, 3592
. : milestone, 3534,
profiling (2.037 ms) : 2019, 2054
. : milestone, 2037,
tracing (1.771 ms) : 1756, 1785
. : milestone, 1771,
section candidate
no_agent (1.181 ms) : 1169, 1192
. : milestone, 1181,
iast (3.094 ms) : 3054, 3134
. : milestone, 3094,
iast_FULL (6.259 ms) : 6194, 6324
. : milestone, 6259,
iast_GLOBAL (3.623 ms) : 3564, 3682
. : milestone, 3623,
profiling (1.993 ms) : 1976, 2010
. : milestone, 1993,
tracing (1.802 ms) : 1786, 1817
. : milestone, 1802,
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 tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~c0174a38a5, baseline=1.61.0-SNAPSHOT~c0ce9c5738
dateFormat X
axisFormat %s
section baseline
no_agent (1.474 ms) : 1463, 1486
. : milestone, 1474,
appsec (3.801 ms) : 3578, 4024
. : milestone, 3801,
iast (2.257 ms) : 2187, 2326
. : milestone, 2257,
iast_GLOBAL (2.304 ms) : 2235, 2373
. : milestone, 2304,
profiling (2.124 ms) : 2067, 2181
. : milestone, 2124,
tracing (2.077 ms) : 2023, 2131
. : milestone, 2077,
section candidate
no_agent (1.475 ms) : 1463, 1486
. : milestone, 1475,
appsec (2.532 ms) : 2478, 2587
. : milestone, 2532,
iast (2.269 ms) : 2200, 2338
. : milestone, 2269,
iast_GLOBAL (2.301 ms) : 2231, 2370
. : milestone, 2301,
profiling (2.103 ms) : 2047, 2160
. : milestone, 2103,
tracing (2.077 ms) : 2023, 2131
. : milestone, 2077,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~c0174a38a5, baseline=1.61.0-SNAPSHOT~c0ce9c5738
dateFormat X
axisFormat %s
section baseline
no_agent (15.526 s) : 15526000, 15526000
. : milestone, 15526000,
appsec (14.97 s) : 14970000, 14970000
. : milestone, 14970000,
iast (18.468 s) : 18468000, 18468000
. : milestone, 18468000,
iast_GLOBAL (18.196 s) : 18196000, 18196000
. : milestone, 18196000,
profiling (14.678 s) : 14678000, 14678000
. : milestone, 14678000,
tracing (14.739 s) : 14739000, 14739000
. : milestone, 14739000,
section candidate
no_agent (14.908 s) : 14908000, 14908000
. : milestone, 14908000,
appsec (14.587 s) : 14587000, 14587000
. : milestone, 14587000,
iast (18.208 s) : 18208000, 18208000
. : milestone, 18208000,
iast_GLOBAL (17.699 s) : 17699000, 17699000
. : milestone, 17699000,
profiling (15.34 s) : 15340000, 15340000
. : milestone, 15340000,
tracing (14.802 s) : 14802000, 14802000
. : milestone, 14802000,
|
…u.utilization, jvm.class.count Aligns with OTel JVM semantic conventions spreadsheet. Updates test to verify all 16 metrics are registered. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Sends jvm.memory.used, jvm.gc.duration, jvm.thread.count, jvm.class.loaded, jvm.cpu.recent_utilization via OTLP. Related: DataDog/dd-trace-dotnet#8299
🤖 Generated with Claude Code