Merge "Trigger the target down alert after 2 minutes"
This commit is contained in:
commit
22f7ab3572
1 changed files with 3 additions and 2 deletions
|
@ -6,12 +6,13 @@ server:
|
|||
{% raw %}
|
||||
PrometheusTargetDown:
|
||||
if: 'up != 1'
|
||||
for: 2m
|
||||
labels:
|
||||
severity: critical
|
||||
service: prometheus
|
||||
annotations:
|
||||
summary: 'Prometheus endpoint {{ $labels.instance }} is down'
|
||||
description: 'Prometheus endpoint {{ $labels.instance }} is down for job {{ $labels.job }}'
|
||||
summary: 'Prometheus endpoint {{ $labels.instance }} down'
|
||||
description: 'The Prometheus target {{ $labels.instance }} is down for the job {{ $labels.job }}.'
|
||||
{% endraw %}
|
||||
{%- endif %}
|
||||
{%- if remote_storage_adapter.get('enabled', False) %}
|
||||
|
|
Loading…
Reference in a new issue