mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-26 11:27:00 +08:00
Add fors
This commit is contained in:
parent
ae8cfb0366
commit
e9cd249918
2 changed files with 5 additions and 5 deletions
8
dist/rules/jenkins/metric-plugin.yml
vendored
8
dist/rules/jenkins/metric-plugin.yml
vendored
|
|
@ -4,14 +4,14 @@ groups:
|
|||
|
||||
rules:
|
||||
|
||||
- alert: JenkinsOffline
|
||||
- alert: JenkinsNodeOffline
|
||||
expr: 'jenkins_node_offline_value > 1'
|
||||
for: 0m
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: Jenkins offline (instance {{ $labels.instance }})
|
||||
description: "Jenkins offline: `{{$labels.instance}}` in realm {{$labels.realm}}/{{$labels.env}} ({{$labels.region}})\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
summary: Jenkins node offline (instance {{ $labels.instance }})
|
||||
description: "Jenkins node offline: `{{$labels.instance}}` in realm {{$labels.realm}}/{{$labels.env}} ({{$labels.region}})\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
- alert: JenkinsHealthcheck
|
||||
expr: 'jenkins_health_check_score < 1'
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ groups:
|
|||
|
||||
- alert: PrometheusTargetMissing
|
||||
expr: 'up == 0'
|
||||
for: 0m
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
|
|
|
|||
Loading…
Reference in a new issue