1
0
Fork 0

Make warnings shorter

This commit is contained in:
Malte Brandy 2020-06-04 04:07:56 +02:00
parent 8553b26a09
commit 35e93b6a92
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -7,14 +7,14 @@ groups:
labels:
severity: critical
annotations:
description: '{{ $labels.instance }} probe {{ $labels.job}} failed for 60m.'
description: '{{ $labels.instance }} probe {{ $labels.job}} failed.'
- alert: nixpkgs
expr: hydra_job_failed == 1
for: 2h
labels:
severity: warning
annotations:
description: '{{ $labels.packageName }} on nixpkgs branch {{ $labels.jobset }} failed for 2h.'
description: '{{ $labels.packageName }} on nixpkgs branch {{ $labels.jobset }} failed.'
- alert: node_down
expr: (up{name!="apollo",instance!="hydra.nixos.org:443"} == 0)
for: 5m