Add summary

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
This commit is contained in:
ArthurSens
2021-04-16 12:54:23 +00:00
parent 92016ef68d
commit c96c639ef1

View File

@@ -7,6 +7,7 @@
{ {
alert: 'TargetDown', alert: 'TargetDown',
annotations: { annotations: {
summary: 'One or more targets are unreachable.',
description: '{{ printf "%.4g" $value }}% of the {{ $labels.job }}/{{ $labels.service }} targets in {{ $labels.namespace }} namespace are down.', description: '{{ printf "%.4g" $value }}% of the {{ $labels.job }}/{{ $labels.service }} targets in {{ $labels.namespace }} namespace are down.',
}, },
expr: '100 * (count(up == 0) BY (job, namespace, service) / count(up) BY (job, namespace, service)) > 10', expr: '100 * (count(up == 0) BY (job, namespace, service) / count(up) BY (job, namespace, service)) > 10',
@@ -18,6 +19,7 @@
{ {
alert: 'Watchdog', alert: 'Watchdog',
annotations: { annotations: {
summary: 'An alert that should always be firing to certify that Alertmanager is working properly.',
description: ||| description: |||
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.
This alert is always firing, therefore it should always be firing in Alertmanager This alert is always firing, therefore it should always be firing in Alertmanager