Add otel-agent-vs-micrometer module: OpenTelemetry Java agent 2.34.0 vs Micrometer Tracing on Spring Boot 4.2.0, same app instrumented both ways, with real transcripts

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7h4ZNF4BDUpJk3Zou
This commit is contained in:
Claude
2026-11-29 02:59:07 +05:30
parent cbcfb05e35
commit 658bc52e2b
31 changed files with 1435 additions and 0 deletions
@@ -0,0 +1,114 @@
# 04 Metrics received over OTLP, grouped by the instrumentation scope that produced them
######## agent
scope io.opentelemetry.exporters.otlp-http (2 metrics)
otlp.exporter.exported sum
otlp.exporter.seen sum
scope io.opentelemetry.hikaricp-3.0 (7 metrics)
db.client.connections.create_time histogram unit=ms
db.client.connections.idle.min sum unit={connections}
db.client.connections.max sum unit={connections}
db.client.connections.pending_requests sum unit={requests}
db.client.connections.usage sum unit={connections}
db.client.connections.use_time histogram unit=ms
db.client.connections.wait_time histogram unit=ms
scope io.opentelemetry.java-http-client (1 metrics)
http.client.request.duration histogram unit=s
scope io.opentelemetry.runtime-telemetry-java8 (12 metrics)
jvm.class.count sum unit={class}
jvm.class.loaded sum unit={class}
jvm.class.unloaded sum unit={class}
jvm.cpu.count sum unit={cpu}
jvm.cpu.recent_utilization gauge unit=1
jvm.cpu.time sum unit=s
jvm.gc.duration histogram unit=s
jvm.memory.committed sum unit=By
jvm.memory.limit sum unit=By
jvm.memory.used sum unit=By
jvm.memory.used_after_last_gc sum unit=By
jvm.thread.count sum unit={thread}
scope io.opentelemetry.sdk.trace (2 metrics)
processedSpans sum unit=1
queueSize gauge unit=1
scope io.opentelemetry.tomcat-10.0 (1 metrics)
http.server.request.duration histogram unit=s
######## micrometer (default conventions)
scope (no scope name) (77 metrics)
application.ready.time gauge unit=milliseconds
application.started.time gauge unit=milliseconds
audit.write histogram unit=milliseconds
audit.write.max gauge unit=milliseconds
disk.free gauge unit=bytes
disk.total gauge unit=bytes
executor.active gauge unit=threads
executor.completed sum unit=tasks
executor.pool.core gauge unit=threads
executor.pool.max gauge unit=threads
executor.pool.size gauge unit=threads
executor.queue.remaining gauge unit=tasks
executor.queued gauge unit=tasks
hikaricp.connections gauge
hikaricp.connections.acquire histogram unit=milliseconds
hikaricp.connections.acquire.max gauge unit=milliseconds
hikaricp.connections.active gauge
hikaricp.connections.creation histogram unit=milliseconds
hikaricp.connections.creation.max gauge unit=milliseconds
hikaricp.connections.idle gauge
hikaricp.connections.max gauge
hikaricp.connections.min gauge
hikaricp.connections.pending gauge
hikaricp.connections.timeout sum
hikaricp.connections.usage histogram unit=milliseconds
hikaricp.connections.usage.max gauge unit=milliseconds
http.client.requests histogram unit=milliseconds
http.client.requests.max gauge unit=milliseconds
http.server.requests histogram unit=milliseconds
http.server.requests.max gauge unit=milliseconds
jdbc.connections.active gauge
jdbc.connections.idle gauge
jdbc.connections.max gauge
jdbc.connections.min gauge
jvm.buffer.count gauge unit=buffers
jvm.buffer.memory.used gauge unit=bytes
jvm.buffer.total.capacity gauge unit=bytes
jvm.classes.loaded gauge unit=classes
jvm.classes.loaded.count sum unit=classes
jvm.classes.unloaded sum unit=classes
jvm.compilation.time sum unit=ms
jvm.gc.live.data.size gauge unit=bytes
jvm.gc.max.data.size gauge unit=bytes
jvm.gc.memory.allocated sum unit=bytes
jvm.gc.memory.promoted sum unit=bytes
jvm.gc.overhead gauge
jvm.gc.pause histogram unit=milliseconds
jvm.gc.pause.max gauge unit=milliseconds
jvm.info gauge
jvm.memory.committed gauge unit=bytes
jvm.memory.max gauge unit=bytes
jvm.memory.usage.after.gc gauge
jvm.memory.used gauge unit=bytes
jvm.memory.used_after_last_gc gauge unit=bytes
jvm.threads.daemon gauge unit=threads
jvm.threads.live gauge unit=threads
jvm.threads.peak gauge unit=threads
jvm.threads.started sum unit=threads
jvm.threads.states gauge unit=threads
logback.events sum unit=events
pricing.compute histogram unit=milliseconds
pricing.compute.max gauge unit=milliseconds
process.cpu.time sum unit=ns
process.cpu.usage gauge
process.files.max gauge unit=files
process.files.open gauge unit=files
process.start.time gauge unit=milliseconds
process.uptime gauge unit=milliseconds
system.cpu.count gauge
system.cpu.usage gauge
system.load.average.1m gauge
tomcat.sessions.active.current gauge unit=sessions
tomcat.sessions.active.max gauge unit=sessions
tomcat.sessions.alive.max gauge unit=milliseconds
tomcat.sessions.created sum unit=sessions
tomcat.sessions.expired sum unit=sessions
tomcat.sessions.rejected sum unit=sessions