Labels -redis_memory_used_bytes and maxmemory_policy
kumaramit01 opened this issue · 0 comments
Describe the problem
I am trying to create an alert/recording rule for memory usage for non-evicting redis clusters. I see there is redis_memory_used_bytes
I can use and there are some examples in redis.libsonnet. However I cannot combine the redis_instance_info
labels that have the maxmemory_policy to differentiate between the evicting and non-evicting clusters. Let me know if I am missing something and there is a way to do this.
Alternatively would it useful to have maxmemory_policy label on the redis_memory_used_bytes
? That would make it trivial in PromQL to filter. LMK what you think.
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.50.0
Running the exporter
What's the full command you're using to run the exporter?
/usr/bin/redis_exporter --web.listen-address=0.0.0.0:9108