mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
Changed the level type in alerts.yml for TooManyLogs alert (#2760)
alerts: filter out non error log messages for `TooManyLogs` Info and Warn error levels aren't always a result of malfunctioning or faulty state. So we filter them out.
This commit is contained in:
parent
3837b50f37
commit
aeeaf877ac
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ groups:
|
||||||
When VictoriaMetrics constantly hits the limit it means that storage is overloaded and requires more CPU."
|
When VictoriaMetrics constantly hits the limit it means that storage is overloaded and requires more CPU."
|
||||||
|
|
||||||
- alert: TooManyLogs
|
- alert: TooManyLogs
|
||||||
expr: sum(increase(vm_log_messages_total{level!="info"}[5m])) by (job, instance) > 0
|
expr: sum(increase(vm_log_messages_total{level="error"}[5m])) by (job, instance) > 0
|
||||||
for: 15m
|
for: 15m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
|
|
Loading…
Reference in a new issue