Application Metrics (with Prometheus examples)
summary
A case study shows a Kafka-based feedback pipeline and microservices, instruments with Prometheus and a PHP client, Grafana dashboards and alerting; metrics use counters, histograms, gauges and labels, and the metrics endpoint plus adapter choice (APC vs Redis) matter for web vs CLI. A concrete objective is SLO = 150 ms for the ingest endpoint, production telemetry surprisingly averages 5 ms (99.95th) after a framework change, and monitoring relies on the Prometheus pull model with bucketed histograms and percentile queries.
AI-written summary · about
chapters (29)
- 0:00Intro
- 0:44What is Usability
- 3:03Pipeline Project
- 5:39Metrics
- 9:45Why are metrics so low
- 10:41Telemetry
- 13:01Example
- 14:51Too much information
- 15:28Auto collected metrics
- 17:04Understanding your system
- 17:58Understanding your pipeline
- 19:52Understanding your metrics
- 20:23Picking a target
- 21:43Response time
- 24:25SLO
- 25:25Dont overachieve
- 28:05Adapt to changes
- 28:41SLAs
- 30:05Practice
- 30:35Prometheus
- 35:01Implementing Metrics
- 41:07Prometheus Graphic Interface
- 41:58Fixing Errors
- 42:13Lucky Note
- 42:25Visualization
- 42:38Prometheus example
- 43:30Running per minute
- 44:57Understand
- 45:30Feedback
