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:
@@ -0,0 +1,37 @@
|
||||
# 03 Same Micrometer build with management.observations.conventions=opentelemetry (new in Spring Boot 4.2)
|
||||
== spans
|
||||
|
||||
-- span tree (one line per span: name [kind, instrumentation scope])
|
||||
trace 1 (4 spans)
|
||||
GET /orders/{id} [SERVER, scope=org.springframework.boot]
|
||||
http get [CLIENT, scope=org.springframework.boot]
|
||||
GET /inventory/{sku} [SERVER, scope=org.springframework.boot]
|
||||
pricing.compute [INTERNAL, scope=org.springframework.boot]
|
||||
trace 2 (4 spans)
|
||||
GET /orders/{id}/audited [SERVER, scope=org.springframework.boot]
|
||||
http get [CLIENT, scope=org.springframework.boot]
|
||||
GET /inventory/{sku} [SERVER, scope=org.springframework.boot]
|
||||
pricing.compute [INTERNAL, scope=org.springframework.boot]
|
||||
trace 3 (1 spans)
|
||||
audit.write [INTERNAL, scope=org.springframework.boot]
|
||||
|
||||
-- attribute keys per span name
|
||||
GET /inventory/{sku} [SERVER]
|
||||
error.type, http.request.method, http.request.method_original, http.response.status_code, http.route, outcome, url.path, url.scheme
|
||||
GET /orders/{id} [SERVER]
|
||||
error.type, http.request.method, http.request.method_original, http.response.status_code, http.route, outcome, url.path, url.scheme
|
||||
GET /orders/{id}/audited [SERVER]
|
||||
error.type, http.request.method, http.request.method_original, http.response.status_code, http.route, outcome, url.path, url.scheme
|
||||
audit.write [INTERNAL]
|
||||
|
||||
http get [CLIENT]
|
||||
client.name, exception, http.url, method, outcome, status, uri
|
||||
pricing.compute [INTERNAL]
|
||||
pricing.sku
|
||||
|
||||
-- HTTP metrics exported
|
||||
scope (no scope name) (77 metrics)
|
||||
http.client.requests histogram unit=milliseconds
|
||||
http.client.requests.max gauge unit=milliseconds
|
||||
http.server.request.duration histogram unit=milliseconds
|
||||
http.server.request.duration.max gauge unit=milliseconds
|
||||
Reference in New Issue
Block a user