Jump to content

This is a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Redioscope

From Wikitech

Redioscope generates metrics based on the data in one or more redis databases.

It has two entry points, a web interface and a command line tool (redioscan). Its primary purpose is to expose a statistical summary in the OpenMetrics format so it can be scraped by Prometheus. A docker image is available at docker-registry.wikimedia.org/repos/mediawiki/services/redioscope (tags).

Redioscope is designed as a standalone application, but it contains several reusable packages. It can be imported as a Go module using go get gitlab.wikimedia.org/repos/mediawiki/services/redioscope .

Uses

Redioscope is currently used to surface metrics from the REST Gateway/Rate limiting . It connects to the redis servers independently of the REST Gateway service, and is not critical to its operations.