Gathering Metrics With StatsD And Graphite
summary
Shows how to send PHP metrics as counts, timings, gauges and sets via UDP to a StatsD daemon that aggregates and flushes every 10s to Graphite (carbon + whisper); includes concrete PHP client calls, the over‑the‑wire packet formats, storage retention/aggregation rules and how timing metrics yield mean/upper/lower/stddev/p90 buckets. Covers log parsing with Logstash or Logster, simple alerting via the Graphite render API, and scalable anomaly tools (Skyline) — a working pipeline used during a Comic Relief spike.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 1:40DevOps
- 7:44Counting
- 12:03StatsD
- 15:43Namespacing
- 18:58Whisper
- 28:48Other Metrics
- 29:59Timing Metric
- 30:59Timing Matrix
- 32:17Graph
- 32:59Timing Metrics
- 33:52Graphite API
- 34:44Render API
- 37:32Log Stash
- 41:59Graphite Functions
- 42:50Pluggable System
- 44:16Graphing Tools
- 45:06Questions
- 47:59More Questions
- 50:48CPU Memory
- 53:03Logging To localhost
- 55:15Vertical Lines
related talks
36mMetrics - What's your code actually doing?
35mReal-Time Monitoring with Grafana, StatsD and InfluxDB
27mEasy App Metrics
05mLightning Talk: PHP and Prometheus For better Metrics
26mGraphite@Scale or How to Store Millions of Metrics per Second
49mA Practical Guide to Dashboarding
50mApplication metrics with Prometheus
54mA Practical Guide to Dashboarding
