Skip to content

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

@iqbaltkj

Description

@iqbaltkj

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

Image

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?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions