Counter, Gauge, Upper 90 - Oh my!
summary
Defines counters, gauges, histograms and shows a concrete Flask middleware writing metrics to CSV that records per-request latency, then uses pandas to group by node, endpoint and status to get percentiles. Compares integration models with Prometheus scrape vs statsd push, explains buckets and quantiles, highlights watching 95th percentile / upper 90 rather than mean, and advises using existing exporters and hosted systems instead of a DIY metrics sink.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:45Why should you care
- 4:33What is a Matric
- 5:18Matric Types
- 6:45Histogram Timer
- 7:53Source Code Walkthrough
- 12:30Analysis








