Easily build healthy and reliable web apps using metrics and tracing
summary
Builds a tiny Flamingo web app from scratch, wires a health check endpoint that verifies the blog service, and adds OpenCensus instrumentation: a counter that records article-list hits (demo shows ~10 increments) and a latency histogram for responses. Implements distributed tracing so a single trace id follows request through controller → blog service → external JSON API, and exports data to common backends for live dashboards and Grafana-style visualizations.
AI-written summary · about
chapters (20)
- 0:00Introduction to metrics and tracing
- 4:27Challenges in modern web apps
- 7:01Importance of metrics in detail
- 9:32Types of metrics and their use
- 12:53Introduction to tracing
- 13:57Building a sample app with metrics
- 21:17Flamingo framework overview
- 23:05Implementing controllers and interfaces
- 26:32Template engine and rendering
- 28:59Reading list logic and development
- 30:40Health checks and monitoring
- 32:06Open source library integration
- 34:14Measuring article metrics
- 35:49Visualizing metrics in dashboards
- 37:43Real-time data analysis
- 39:15Context and tracing in requests
- 41:03External service calls and tracing
- 41:55Local setup and quick start guide
- 43:18Early problem detection with metrics
- 46:21Q&A and closing remarks
