hanzhongzi / sentinel-exporter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sentinel Exporter

This is a prometheus exporter for redis sentinel. For this mvp we only provide basic metrics from sentinel, which aren't available in redis exporters like this. Most importantly the number of active and dead sentinel nodes so that you can monitor if a quorum is upheld.

Install

To install simply run

$ pip install -r requirements.txt

Running

python sentinel_exporter.py --host localhost --port 26379

Flags

Name Description Default
-p --port Which port sentinel is listening on 26379
-H --host The host sentinel is running on localhost
-i --scrape-interval-seconds How often to update the underlying metrics in seconds 30
-m --metrics-port The port that the metrics exporter will listen on 9478
-P --password The password that the metrics exporter will connect in sentinle " "

About

License:MIT License


Languages

Language:Python 95.1%Language:Dockerfile 4.9%