You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
695 B
22 lines
695 B
groups: |
|
- |
|
name: alert.rules |
|
rules: |
|
- |
|
alert: InstanceDown |
|
expr: up == 0 |
|
for: 1m |
|
labels: |
|
severity: critical |
|
annotations: |
|
summary: "Endpoint {{ $labels.instance }} down" |
|
description: "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 1 minutes." |
|
- |
|
alert: TestAlert |
|
expr: jvm_threads_deadlocked == 0.0 |
|
for: 30s |
|
labels: |
|
severity: warning |
|
annotations: |
|
summary: "Endpoint {{ $labels.instance }} Test Alert" |
|
description: "Test alert for {{ $labels.instance }} of job {{ $labels.job }} if there is no deadlocks."
|
|
|