Monitoring Mastodons: A story about Hachyderm
summary
A team scales an off‑the‑shelf Mastodon deployment to ~30,000 users after November 2022, chooses Prometheus and Grafana for observability, and runs a custom exporter and cluster‑wide Prometheus. Incidents include two failed hard drives, a full database filesystem on December 13, queue misconfigurations causing latency and duplicate posts, misconfigured media cache and SSL renewal failures. CPU and RAM metrics help, disk and streaming metrics do not, alerts prove mostly useless, and upstream patches plus better streaming instrumentation are next.
AI-written summary · about
chapters (14)
- 0:00Introduction to monitoring
- 1:08Why Hachyderm needed monitoring
- 2:37Challenges monitoring Mastodon
- 4:28Why Prometheus and Grafana
- 5:37What is monitoring really
- 7:00Levels of system maturity
- 10:07Monitoring for users and software
- 12:11Community-owned service approach
- 13:14Fault domains in Mastodon
- 15:25How monitoring helped during incidents
- 17:51What monitoring missed
- 19:59Human knowledge as superpower
- 21:02What’s next for monitoring
- 22:04Q&A session
