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

Home Page:https://github.com/oliver006/redis_exporter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prometheus Server Label Rewriting: Missing ADDR Label in metrics

purti-rajpal opened this issue · comments

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:

  • labels:
    redis_cache: Test
    targets:
    • redis-host:9121/metrics
    • redis-host:9122/metrics

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.