Spring Observability Team
Jonatan Ivanov
Tommy Ludwig
Marcin Grzejszczak
Slide 3
Slide 3 text
Architecture
Tea Service
Tealeaf
Service
DB
Water
Service
DB
Eureka
Eureka
Slide 4
Slide 4 text
DEMO
Slide 5
Slide 5 text
Summary
- We’ve managed to correlate
- Logs to Traces (and vice versa)
- Traces to Metrics (via common tags)
- Metrics to Traces (via exemplars) to Logs
- The Spring portfolio is instrumented
- WebMVC, WebFlux, etc. instrumentation
- Third-party libraries are also instrumented
- jdbc-observations
- OpenFeign
- etc.
Slide 6
Slide 6 text
What’s (kind of) new in Micrometer?
1.9.0 - 2022 May
- OTLP Registry (OpenTelemetry)
- HighCardinalityTagsDetector
- Exemplars (Prometheus)
Slide 7
Slide 7 text
Exemplars (Prometheus)
“Metadata” that you can attach to your metrics
Updated at measurement time (sampled)
They are not tags (high cardinality)
Usually traceId and spanId
Correlate Metrics to Distributed Tracing and Logs
Available for Counter and Histogram buckets
Slide 8
Slide 8 text
What’s new in Micrometer?
1.10.0 - 2022 November
- Micrometer Tracing (Sleuth w/o Spring deps.)
- Micrometer Docs Generator
- Micrometer Context Propagation
- Observation API (micrometer-core)