Rename DeadMansSwitch to Watchdog

This commit is contained in:
goll
2019-03-15 15:37:42 +01:00
parent 083f66cb46
commit ef539c398b
9 changed files with 13 additions and 13 deletions

View File

@@ -298,7 +298,7 @@ These are the available fields with their respective default values:
receiver: 'null'
routes:
- match:
alertname: DeadMansSwitch
alertname: Watchdog
receiver: 'null'
receivers:
- name: 'null'
@@ -497,7 +497,7 @@ The Alertmanager configuration is located in the `_config.alertmanager.config` c
receiver: 'null'
routes:
- match:
alertname: DeadMansSwitch
alertname: Watchdog
receiver: 'null'
receivers:
- name: 'null'

View File

@@ -49,13 +49,13 @@ local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + {
name: 'example-group',
rules: [
{
alert: 'DeadMansSwitch',
alert: 'Watchdog',
expr: 'vector(1)',
labels: {
severity: 'none',
},
annotations: {
description: 'This is a DeadMansSwitch meant to ensure that the entire alerting pipeline is functional.',
description: 'This is a Watchdog meant to ensure that the entire alerting pipeline is functional.',
},
},
],

View File

@@ -12,7 +12,7 @@
receiver: 'null'
routes:
- match:
alertname: DeadMansSwitch
alertname: Watchdog
receiver: 'null'
receivers:
- name: 'null'

View File

@@ -9,7 +9,7 @@ route:
receiver: 'null'
routes:
- match:
alertname: DeadMansSwitch
alertname: Watchdog
receiver: 'null'
receivers:
- name: 'null'

View File

@@ -1 +1 @@
{"groups":[{"name":"example-group","rules":[{"alert":"DeadMansSwitch","annotations":{"description":"This is a DeadMansSwitch meant to ensure that the entire alerting pipeline is functional."},"expr":"vector(1)","labels":{"severity":"none"}}]}]}
{"groups":[{"name":"example-group","rules":[{"alert":"Watchdog","annotations":{"description":"This is a Watchdog meant to ensure that the entire alerting pipeline is functional."},"expr":"vector(1)","labels":{"severity":"none"}}]}]}

View File

@@ -1,9 +1,9 @@
groups:
- name: example-group
rules:
- alert: DeadMansSwitch
- alert: Watchdog
expr: vector(1)
labels:
severity: "none"
annotations:
description: This is a DeadMansSwitch meant to ensure that the entire alerting pipeline is functional.
description: This is a Watchdog meant to ensure that the entire alerting pipeline is functional.

View File

@@ -8,13 +8,13 @@ local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + {
name: 'example-group',
rules: [
{
alert: 'DeadMansSwitch',
alert: 'Watchdog',
expr: 'vector(1)',
labels: {
severity: 'none',
},
annotations: {
description: 'This is a DeadMansSwitch meant to ensure that the entire alerting pipeline is functional.',
description: 'This is a Watchdog meant to ensure that the entire alerting pipeline is functional.',
},
},
],

View File

@@ -28,7 +28,7 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
{
receiver: 'null',
match: {
alertname: 'DeadMansSwitch',
alertname: 'Watchdog',
},
},
],

View File

@@ -16,7 +16,7 @@
},
},
{
alert: 'DeadMansSwitch',
alert: 'Watchdog',
annotations: {
message: |||
This is an alert meant to ensure that the entire alerting pipeline is functional.