edit in alert PrometheusTargetMissing (again)

This commit is contained in:
Aaron Riedel 2023-04-21 07:53:09 +02:00
parent 8503d2b46f
commit a7578bf430
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -53,7 +53,7 @@ data:
severity: critical
annotations:
summary: Prometheus target missing (instance {{ $labels.instance }})
description: "A Prometheus target has disappeared. \n Job: {{ $labels.job }}\n App: {{ $labels.app }}\n Pod: {{ $labels.pod }}\n Node: {{ $labels.node }}\n Namespace: {{ $labels.namespace }}"
description: "A Prometheus target has disappeared. {{if ne $labels.job ""}}\n Job: {{ $labels.job }}{{end}}{{if ne $labels.app ""}}\n App: {{ $labels.app }}{{end}}{{if ne $labels.pod ""}}\n Pod: {{ $labels.pod }}{{end}}{{if ne $labels.node ""}}\n Node: {{ $labels.node }}{{end}}{{if ne $labels.namespace ""}}\n Namespace: {{ $labels.namespace }}{{end}}"
- name: PrometheusConfigurationReloadFailure
rules:
- alert: PrometheusConfigurationReloadFailure