Tracing Issues in Your Application
summary
A demo tea-brewing microservice app exposes a real incident: Prometheus + Micrometer show rising errors, Tempo and Zipkin traces reveal a 200 ms DB connection spike caused by a missing tea row; Flyway migration inserts “English Breakfast” to fix 404s, then added caching drops repository calls to zero and latency returns to previous 5–40 ms. Stack uses Spring Boot, Sleuth/Brave (or OpenTelemetry), Grafana, Loki, Tempo, Hikari and Toxiproxy; exemplars let metrics link to traces so the root cause is narrowed and resolved.
AI-written summary · about
chapters (18)
- 0:00Introduction and speaker background
- 3:40Observability setup and dependencies
- 7:11Demonstrating the tea brewing app
- 8:56Analyzing metrics with Grafana
- 10:40Investigating distributed traces with Tempo
- 14:32Querying logs with Loki
- 15:57Fixing the database schema issue
- 18:24Addressing latency spikes
- 23:20Using exemplars to link metrics and traces
- 26:49Implementing caching to reduce latency
- 28:37Setting up alerting mechanisms
- 30:23Analyzing query performance with metrics
- 32:07Summary of the demo and three pillars
- 33:52How observability works internally
- 40:56Tracing standards and tools overview
- 44:26Visualization tools for observability
- 45:07Micrometer 1.10 and future plans
- 47:15Q&A session
