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,33 @@
# 06 Micrometer build plus net.ttddyy.observation:datasource-micrometer-spring-boot 2.3.1 (third-party)
== spans
-- span tree (one line per span: name [kind, instrumentation scope])
trace 1 (7 spans)
http get /orders/{id} [SERVER, scope=org.springframework.boot]
connection [CLIENT, scope=org.springframework.boot]
query [CLIENT, scope=org.springframework.boot]
result-set [CLIENT, scope=org.springframework.boot]
http get [CLIENT, scope=org.springframework.boot]
http get /inventory/{sku} [SERVER, scope=org.springframework.boot]
pricing.compute [INTERNAL, scope=org.springframework.boot]
trace 2 (7 spans)
http get /orders/{id}/audited [SERVER, scope=org.springframework.boot]
connection [CLIENT, scope=org.springframework.boot]
query [CLIENT, scope=org.springframework.boot]
result-set [CLIENT, scope=org.springframework.boot]
http get [CLIENT, scope=org.springframework.boot]
http get /inventory/{sku} [SERVER, scope=org.springframework.boot]
pricing.compute [INTERNAL, scope=org.springframework.boot]
trace 3 (3 spans)
audit.write [INTERNAL, scope=org.springframework.boot]
connection [CLIENT, scope=org.springframework.boot]
query [CLIENT, scope=org.springframework.boot]
-- attribute keys per span name
connection [CLIENT]
jdbc.datasource.driver, jdbc.datasource.name, jdbc.datasource.pool
--
query [CLIENT]
jdbc.datasource.driver, jdbc.datasource.name, jdbc.datasource.pool, jdbc.query[0], jdbc.row-affected, peer.service
result-set [CLIENT]
jdbc.datasource.driver, jdbc.datasource.name, jdbc.datasource.pool, jdbc.row-count, peer.service