redis_exporter icon indicating copy to clipboard operation
redis_exporter copied to clipboard

What is the advantage of Redis exporter with enabled cluster mode while it shows same behaviour when setting is set to false?

Open Technovation22 opened this issue 2 years ago • 0 comments

Describe the problem I noticed when I have clustered redis on AWS, whenever I call to get metrics it looks like is connecting to different nodes (probably different or the same cluster). This means in every refresh in the grafana dashboard I'm getting data from a different nodes

  1. I wanted to make sure if this is how it works. I'm saying that because in each call I see a different run_id and I can assume that is from a different node.
  2. in this case instance parameter in grafana should be something like run_id?
  3. What is the advantage of using redis-exporter with enabled cluster setting while in cluster mode, I noticed redis-exporter already works when I don't set the REDIS_EXPORTER_IS_CLUSTER: true but again it shows connecting to the different nodes in each call and exactly same behaviour. Just there is a difference when REDIS_EXPORTER_IS_CLUSTER: true, scarping takes more than 10s which means I have to override the timeout value which is 10s.

What version of redis_exporter are you running? Please run redis_exporter --version if you're not sure what version you're running. [ ] 0.3x.x [x] 1.x.x 1.45.0

Running the exporter Setting env vars REDIS_EXPORTER_DEBUG: true REDIS_ADDR: rediss://:[password]@clustercfg.[name].[zone name].[region name].cache.amazonaws.com:6379 REDIS_EXPORTER_IS_CLUSTER: true

Screenshots If applicable, add screenshots to help explain your question. image

Additional context Add any other context about the question here.

Technovation22 avatar Jan 24 '23 23:01 Technovation22