This task tracks the Graphite deprecation.
Sunsetting Graphite ensures we stay ahead with a supported, scalable metrics platform for more effective long-term, multidimensional metrics analysis and storage.
Wikitech: Graphite deprecation roadmap
Context: The SRE Observability team has been using Prometheus as its preferred metrics storage in production for several years. Prometheus offers key benefits over Graphite and a more modern ecosystem. The Prometheus stack provides more robust data labeling, storage, and query capabilities. This effort facilitates the improvement of our production metrics infrastructure and the deprecation of older systems.
The thought process behind the deprecation is outlined in T249164: RFC: Better interface for generating metrics in MediaWiki.
In this context we distinguish graphite as used by statsd (i.e. metrics are emitted via statsd over udp and the turned to graphite writes) which is tracked by T205870 and using graphite protocol directly (i.e. the application natively talks the graphite protocol, as opposed to statsd).
Migrate MediaWiki off Graphite
Migrate other graphite protocol users
- wikidata.rc hierarchy, via statistics::wmde::graphite on stat hosts
- librenms hierarchy, from the software of the same name, tracked in T372457: Remove librenms -> graphite integration, replace with gnmi
- T372855: migrate Data Platform Engineering maintained metrics from graphite to prometheus
- T233089: Export zuul metrics to Prometheus