~/talk

To Production and Beyond: Observability for Modern Spring Aps

Talkat Devnexus 2023 · 2023-04-04..04-06· [observability, spring]
slides:none on file

Spring Boot 3 apps use Observation API (micrometer 1.10) to auto-create metrics, logs and spans; micrometer-tracing replaces Sleuth for Boot 3 and plugs into Brave vs OpenTelemetry experimental. Demo shows three services (t-service, t-leaf, voter) with Prometheus, Grafana, Loki, Tempo/Zipkin and HikariCP. A missing DB row causes 404/500, fixed by inserting the “English breakfast” record; exemplars link a 180ms high-latency span to a 19ms low one (≈10x) so metrics point back to traces. exemplars and micrometer-tracing enable metrics→trace jump.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:06What is observability
  3. 5:19Why observability matters
  4. 10:12Logging with Spring Boot
  5. 11:16Metrics with Spring Boot
  6. 13:02Distributed tracing in Spring
  7. 16:55Observation API explained
  8. 23:15Demo application overview
  9. 25:00Debugging the demo issue
  10. 26:02Logs to traces with Grafana
  11. 36:27Fixing the database issue
  12. 38:56Metrics and latency analysis
  13. 40:22Traces to metrics with exemplars
  14. 49:00JVM and application metrics
  15. 52:08Actuator endpoints overview
  16. 54:37Spring Boot Admin demo
  17. 55:21HATEOAS for API discoverability
  18. 57:49Spring Academy and swag
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.