Commit 2cdff177 authored by Marat Kalibekov's avatar Marat Kalibekov

Trigger target_is_down alert after 2m

parent b54aa4f7
## Target is down
ALERT target_is_down
IF up{job!~"(blackbox|blackbox-ssl)"} == 0
FOR 1m
FOR 2m
LABELS {severity="critical"}
ANNOTATIONS {
title="{{ $labels.job }}/{{ if $labels.fqdn }}{{ $labels.fqdn }}{{ else }}{{ $labels.instance }}{{ end }} failed to be scraped for the last minute. Scraping prometheus instance - {{ $labels.server }}.",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment