Skip to content

Redis Cluster exporter shows identical key values across nodes — intended behavior or bug? #1055

@abregar

Description

@abregar

Describe the problem
Just recently set up Prometheus monitoring for a Redis Cluster (3 masters, 3 replicas) using this redis_exporter. Everything looked fine at first, metrics were scraping correctly, but I noticed that all nodes were exposing identical key values. To test further, I intentionally stopped one master instance, yet the exporter still reported redis_up = 1 for that node. From what I can tell, redis_up seems to reflect process reachability (TCP/INFO) rather than actual cluster health, which makes it confusing when a node is flagged as failed in CLUSTER NODES but still shows up as healthy in Prometheus. I found a few potentially similar reports in one of the comments - #979 (comment) which identifies similar behavior.

Running the exporter
--web.listen-address=127.0.0.1:9121 --is-cluster=true

Screenshots
Here's an example of redis_instance_info showing the case further
Image

Additional context
Add any other context about the question here.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions