diff --git a/documentation/prometheus-mixin/alerts.libsonnet b/documentation/prometheus-mixin/alerts.libsonnet index 0cb52901d..f18c98809 100644 --- a/documentation/prometheus-mixin/alerts.libsonnet +++ b/documentation/prometheus-mixin/alerts.libsonnet @@ -235,7 +235,6 @@ > on(job, instance) group_right max_over_time(prometheus_remote_storage_shards_max{%(prometheusSelector)s}[5m]) ) - == 1 ||| % $._config, 'for': '15m', labels: { @@ -243,7 +242,7 @@ }, annotations: { summary: 'Prometheus remote write desired shards calculation wants to run more than configured max shards.', - description: 'Prometheus %(prometheusName)s remote write is {{ printf "%%.1f" $value }}s behind for queue {{$labels.queue}}.' % $._config, + description: 'Prometheus %(prometheusName)s remote write desired shards calculation wants to run {{ printf $value }} shards, which is more than the max of {{ printf `prometheus_remote_storage_shards_max{instance="%%s",%(prometheusSelector)s}` $labels.instance | query | first | value }}.' % $._config, }, }, {