Add separate host and instance variables.

Change-Id: I9bd4d144b382a7f31ad05c062cb5ba5d04bad067
Closes-Bug: PROD-20985
This commit is contained in:
Dmitry Kalashnik 2018-06-25 17:30:39 +04:00
parent 161a4f03d9
commit da4fd1e307

View file

@ -12,7 +12,7 @@ server:
service: prometheus service: prometheus
annotations: annotations:
summary: "Prometheus target is down" summary: "Prometheus target is down"
description: "The Prometheus target for the {{ $labels.job }} job on the {{ $labels.host or $labels.instance }} node is down for 2 minutes." description: "The Prometheus target for the {{ $labels.job }} job on the {{ or $labels.host $labels.instance }} node is down for 2 minutes."
PrometheusTargetSamplesOrderWarning: PrometheusTargetSamplesOrderWarning:
if: increase(prometheus_target_scrapes_sample_out_of_order_total[1m]) > 0 if: increase(prometheus_target_scrapes_sample_out_of_order_total[1m]) > 0
labels: labels: