edit in alert PrometheusTargetMissing (again)
This commit is contained in:
parent
8503d2b46f
commit
a7578bf430
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ data:
|
||||||
severity: critical
|
severity: critical
|
||||||
annotations:
|
annotations:
|
||||||
summary: Prometheus target missing (instance {{ $labels.instance }})
|
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
|
- name: PrometheusConfigurationReloadFailure
|
||||||
rules:
|
rules:
|
||||||
- alert: PrometheusConfigurationReloadFailure
|
- alert: PrometheusConfigurationReloadFailure
|
||||||
|
|
Loading…
Reference in a new issue