Skip to content

Commit

Permalink
RedisOutOfConfiguredMaxmemory: checking if memory limit is set (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
shtoltz authored May 2, 2024
1 parent b77cb34 commit aad1c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _data/rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aad1c4c

Please sign in to comment.