Skip to content

Commit

Permalink
refactor: checking if memory limit is set for RedisOutOfConfiguredMax…
Browse files Browse the repository at this point in the history
…memory
  • Loading branch information
bdossantos committed May 5, 2024
1 parent 72ac1c9 commit 37a89ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ groups:
description: "Redis has not been backuped for 24 hours\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"

- alert: RedisOutOfSystemMemory
expr: redis_memory_used_bytes / redis_total_system_memory_bytes * 100 > 90
expr: redis_memory_used_bytes / redis_total_system_memory_bytes * 100 > 90 and on(instance) redis_memory_max_bytes > 0
for: 5m
labels:
severity: page
Expand Down

0 comments on commit 37a89ab

Please sign in to comment.