oliver006/redis_exporter

Redis Cluster on GCP Doesn't Has Separate Resources Utilizations Metrics

Open

#973 opened on Jan 31, 2025

View on GitHub
 (8 comments) (0 reactions) (1 assignee)Go (944 forks)github user discovery
help wantedquestion

Repository metrics

Stars
 (3,637 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the problem I run a Redis cluster with 5 shards and 2 replicas on GCP. Since the cluster has only one endpoint, so I added this Redis endpoint to the Redis exporter. I want to monitor the resource utilization of all my Redis instances, but the exporter only shows the total resources for all instances combined.

What version of redis_exporter are you running? 1.67

Running the exporter Output metrics :

# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 950.44

I want to get something like this metrics output :

# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total_run_id_$(n) 50.44
process_cpu_seconds_total_run_id_$(n) 80.44

Screenshots

Example Dashboard with the same issue

Additional context

  1. Can the current exporter separate the resource utilization for each instance?
  2. Can it work as a new feature or bug fix?

Contributor guide