Skip to content

sportradar/sentinel-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 " "