Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 763 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 763 Bytes

Redis metrics into Prometheus

The goal of this project is to provide Prometheus with metrics scraped out of a Redis cluster. The list of hosts to be scraped will be provided by an endpoint of a web server.

Steps to get it running:

  • docker compose up
  • Open Prometheus (localhost:9090) in your browser.

Verify that Prometheus is scrapping the metrics out of redis using the redis-exporter by opening the page "Targets":

Verify that there are metrics incoming from redis:

Web server

The web server does two functions in this example:

  • Serve the list of redis hosts. This would be ideally dynamically generated.
  • Add new items to the redis cluster in order to have activity.