Skip to content

Commit

Permalink
🐞 fix(redis): alert RedisMemoryHigh rm "<100"
Browse files Browse the repository at this point in the history
  • Loading branch information
jojotong committed Nov 29, 2022
1 parent 012394b commit eee027b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus-redis-exporter/templates/prometheusrule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
value: '{{"{{"}} $value | printf "%.1f" }}'
expr: redis_memory_used_bytes{service="{{ template "prometheus-redis-exporter.fullname" . }}",namespace="{{ .Release.Namespace }}"}
/ redis_memory_max_bytes{service="{{ template "prometheus-redis-exporter.fullname" . }}", namespace="{{ .Release.Namespace }}"}
* 100>90<=100
* 100>90
for: 2m
labels:
gems_alert_from: monitor
Expand Down

0 comments on commit eee027b

Please sign in to comment.