RedisOutOfConfiguredMaxmemory: checking if memory limit is set (#410)

This commit is contained in:
Sergey Shtoltz 2024-05-02 21:48:46 +03:00 committed by GitHub
parent b77cb3467c
commit aad1c4cd95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -821,7 +821,7 @@ groups:
The exporter must be started with --include-system-metrics flag or REDIS_EXPORTER_INCL_SYSTEM_METRICS=true environment variable.
- name: Redis out of configured maxmemory
description: Redis is running out of configured maxmemory (> 90%)
query: "redis_memory_used_bytes / redis_memory_max_bytes * 100 > 90"
query: "redis_memory_used_bytes / redis_memory_max_bytes * 100 > 90 and on(instance) redis_memory_max_bytes > 0"
severity: warning
for: 2m
- name: Redis too many connections