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' receiver: 'null'
routes: routes:
- match: - match:
alertname: DeadMansSwitch alertname: Watchdog
receiver: 'null' receiver: 'null'
receivers: receivers:
- name: 'null' - name: 'null'
@@ -497,7 +497,7 @@ The Alertmanager configuration is located in the `_config.alertmanager.config` c
receiver: 'null' receiver: 'null'
routes: routes:
- match: - match:
alertname: DeadMansSwitch alertname: Watchdog
receiver: 'null' receiver: 'null'
receivers: receivers:
- name: 'null' - name: 'null'

View File

@@ -49,13 +49,13 @@ local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + {
name: 'example-group', name: 'example-group',
rules: [ rules: [
{ {
alert: 'DeadMansSwitch', alert: 'Watchdog',
expr: 'vector(1)', expr: 'vector(1)',
labels: { labels: {
severity: 'none', severity: 'none',
}, },
annotations: { 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' receiver: 'null'
routes: routes:
- match: - match:
alertname: DeadMansSwitch alertname: Watchdog
receiver: 'null' receiver: 'null'
receivers: receivers:
- name: 'null' - name: 'null'

View File

@@ -9,7 +9,7 @@ route:
receiver: 'null' receiver: 'null'
routes: routes:
- match: - match:
alertname: DeadMansSwitch alertname: Watchdog
receiver: 'null' receiver: 'null'
receivers: receivers:
- name: 'null' - 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: groups:
- name: example-group - name: example-group
rules: rules:
- alert: DeadMansSwitch - alert: Watchdog
expr: vector(1) expr: vector(1)
labels: labels:
severity: "none" severity: "none"
annotations: 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', name: 'example-group',
rules: [ rules: [
{ {
alert: 'DeadMansSwitch', alert: 'Watchdog',
expr: 'vector(1)', expr: 'vector(1)',
labels: { labels: {
severity: 'none', severity: 'none',
}, },
annotations: { 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', receiver: 'null',
match: { match: {
alertname: 'DeadMansSwitch', alertname: 'Watchdog',
}, },
}, },
], ],

View File

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