From c96c639ef18c9e4fe8ce232461b96b5313857eb9 Mon Sep 17 00:00:00 2001 From: ArthurSens <arthursens2005@gmail.com> Date: Fri, 16 Apr 2021 12:54:23 +0000 Subject: [PATCH] Add summary Signed-off-by: ArthurSens <arthursens2005@gmail.com> --- .../kube-prometheus/components/mixin/alerts/general.libsonnet | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jsonnet/kube-prometheus/components/mixin/alerts/general.libsonnet b/jsonnet/kube-prometheus/components/mixin/alerts/general.libsonnet index 221d8a83..cd5c7165 100644 --- a/jsonnet/kube-prometheus/components/mixin/alerts/general.libsonnet +++ b/jsonnet/kube-prometheus/components/mixin/alerts/general.libsonnet @@ -7,6 +7,7 @@ { alert: 'TargetDown', 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.', }, expr: '100 * (count(up == 0) BY (job, namespace, service) / count(up) BY (job, namespace, service)) > 10', @@ -18,6 +19,7 @@ { alert: 'Watchdog', annotations: { + summary: 'An alert that should always be firing to certify that Alertmanager is working properly.', description: ||| 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 -- GitLab