oliver006 / redis_exporter

Prometheus Exporter for ValKey & Redis Metrics. Supports ValKey and Redis 2.x, 3.x, 4.x, 5.x, 6.x, and 7.x
https://github.com/oliver006/redis_exporter
MIT License
3.03k stars 859 forks source link

Prometheus Server Label Rewriting: Missing ADDR Label in metrics #849

Closed purti-rajpal closed 7 months ago

purti-rajpal commented 8 months ago

Describe the problem ADDR label is missing from v1.38.0. I am running one redis exporter for each of redis instance of the cluster

What version of redis_exporter are you running? v1.38.0

How can I get it back using prometheus server label rewriting. Sorry I am new to this. The current prometheus yaml file looks like below:

oliver006 commented 7 months ago

See the docs here on how to monitor multiple Redis instances: https://github.com/oliver006/redis_exporter#prometheus-configuration-to-scrape-multiple-redis-hosts

And the addr label has been deprecated and retired for a long time now.