Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increasing the threshold for a file lag and reducing the severity to warning #1749

Merged
merged 1 commit into from
Feb 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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