RedisOutOfConfiguredMaxmemory: checking if memory limit is set

This commit is contained in:
shtoltz 2024-05-02 13:18:05 +03:00
parent b77cb3467c
commit 5414b538e5

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. 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 - name: Redis out of configured maxmemory
description: Redis is running out of configured maxmemory (> 90%) 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 severity: warning
for: 2m for: 2m
- name: Redis too many connections - name: Redis too many connections