VS
Size: a a a
VS
VS
VS
НА
AS
AS
- alert: BlackboxEndpointDown
expr: probe_success == 0
labels:
....
annotations:
summary: "Endpoint {{ $labels.instance }} down"
description: "BlackBox exporter can't scrape data from endpoint"
runbook: https://kb.....
status_code: |
{{ with printf "probe_http_status_code{instance='%s'" .Labels.instance | query }} {{ . | first | value }} {{ end }}
probe_duration: |
{{ with printf "probe_duration_seconds{instance='%s'" .Labels.instance | query }} {{ . | first | value |humanizeDuration}} {{ end }}
pattern_not_found: |
{{ with printf "probe_failed_due_to_regex{instance='%s'" .Labels.instance | query }} {{ . | first | value }} {{ end }}
S
- alert: BlackboxEndpointDown
expr: probe_success == 0
labels:
....
annotations:
summary: "Endpoint {{ $labels.instance }} down"
description: "BlackBox exporter can't scrape data from endpoint"
runbook: https://kb.....
status_code: |
{{ with printf "probe_http_status_code{instance='%s'" .Labels.instance | query }} {{ . | first | value }} {{ end }}
probe_duration: |
{{ with printf "probe_duration_seconds{instance='%s'" .Labels.instance | query }} {{ . | first | value |humanizeDuration}} {{ end }}
pattern_not_found: |
{{ with printf "probe_failed_due_to_regex{instance='%s'" .Labels.instance | query }} {{ . | first | value }} {{ end }}
AP
pg_database_size{datname!~"template.*", datname!~"postgres", instance=~"$server", datname=~"$database"}/(1024*1024*1024)
W
AP
VS
N
as
T
N
T
N
rd
rd