Skip to content

Commit

Permalink
Increasing the threshold for a file lag and reducing the severity to …
Browse files Browse the repository at this point in the history
…warning

Signed-off-by: Edward Welch <edward.welch@grafana.com>
  • Loading branch information
slim-bean committed Feb 26, 2020
1 parent f9e37e2 commit 8df56ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions production/promtail-mixin/alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@
{
alert: 'PromtailFileLagging',
expr: |||
abs(promtail_file_bytes_total - promtail_read_bytes_total) > 100000
abs(promtail_file_bytes_total - promtail_read_bytes_total) > 1e6
|||,
'for': '15m',
labels: {
severity: 'critical',
severity: 'warning',
},
annotations: {
message: |||
{{ $labels.instance }} {{ $labels.job }} {{ $labels.path }} has been lagging by more than 100kb for more than 15m.
{{ $labels.instance }} {{ $labels.job }} {{ $labels.path }} has been lagging by more than 1MB for more than 15m.
|||,
},
},
Expand Down

0 comments on commit 8df56ce

Please sign in to comment.