mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-29 07:29:42 -08:00
18 lines
419 B
YAML
18 lines
419 B
YAML
|
groups:
|
||
|
- name: example
|
||
|
rules:
|
||
|
- alert: HighRequestLatency
|
||
|
expr: job:request_latency_seconds:mean5m{job="myjob"} > 0.5
|
||
|
for: 10m
|
||
|
labels:
|
||
|
severity: page
|
||
|
annotations:
|
||
|
summary: High request latency
|
||
|
- alert: HighRequestLatency
|
||
|
expr: job:request_latency_seconds:mean5m{job="myjob"} > 0.5
|
||
|
for: 10m
|
||
|
labels:
|
||
|
severity: page
|
||
|
annotations:
|
||
|
summary: High request latency
|