From 7460379bad5403fcec209400d1aa7a7668287385 Mon Sep 17 00:00:00 2001 From: Matthias Lisin Date: Wed, 19 Jan 2022 19:53:24 +0100 Subject: [PATCH] contrib/mixin: add missing summary to alerts to avoid alert messages being templated with undefined values lets set summary for alerts that are currently missing one --- contrib/mixin/mixin.libsonnet | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/mixin/mixin.libsonnet b/contrib/mixin/mixin.libsonnet index 7a41cffdc..27e266545 100644 --- a/contrib/mixin/mixin.libsonnet +++ b/contrib/mixin/mixin.libsonnet @@ -192,6 +192,7 @@ }, annotations: { description: 'etcd cluster "{{ $labels.%s }}": 99th percentile fsync durations are {{ $value }}s on etcd instance {{ $labels.instance }}.' % $._config.clusterLabel, + summary: 'etcd cluster 99th percentile fsync durations are too high.', }, }, { @@ -220,6 +221,7 @@ }, annotations: { description: 'etcd cluster "{{ $labels.%s }}": database size exceeds the defined quota on etcd instance {{ $labels.instance }}, please defrag or increase the quota as the writes to etcd will be disabled when it is full.' % $._config.clusterLabel, + summary: 'etcd cluster database is running full.', }, }, { @@ -233,6 +235,7 @@ }, annotations: { description: 'etcd cluster "{{ $labels.%s }}": Observed surge in etcd writes leading to 50%% increase in database size over the past four hours on etcd instance {{ $labels.instance }}, please check as it might be disruptive.' % $._config.clusterLabel, + summary: 'etcd cluster database growing very fast.', }, }, ],