Skip to content

Simple server that scrapes Redis Sentinel stats and exports them via HTTP for Prometheus consumption

License

Notifications You must be signed in to change notification settings

BlueArchive/redis_sentinel_exporter

 
 

Repository files navigation

Redis Sentinel Exporter for Prometheus

BuildStatus Widget codecov

This is a simple server that scrapes Redis Sentinel stats and exports them via HTTP for Prometheus consumption.

NOTE: local bluearchive fork of a repo that disappeared (leomminov/redis_sentinel_exporter)

Configuration

  • -debug (env DEBUG) – Output verbose debug information.
  • -log-format (env LOG_FORMAT) – Log format, valid options are txt and json. (default txt)
  • -namespace (env NAMESPACE) – Namespace for metrics. (default redis_sentinel)
  • -sentinel.addr (env SENTINEL_ADDR) – Redis Sentinel host:port. (default redis://127.0.0.1:26379)
  • -sentinel.password (env SENTINEL_PASSWORD) – Redis Sentinel password (optional).
  • -sentinel.password-file (env SENTINEL_PASSWORD_FILE) - Path to Redis Sentinel password file (optional).
  • -version – Prints version and exit.
  • -web.listen-address (env LISTEN_ADDRESS) – Address to listen on for web interface and telemetry. (default :9355)
  • -web.telemetry-path (env TELEMETRY_PATH) – Path under which to expose metrics. (default /metrics)

Links

About

Simple server that scrapes Redis Sentinel stats and exports them via HTTP for Prometheus consumption

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 84.4%
  • Shell 11.9%
  • Dockerfile 2.2%
  • Makefile 1.5%