Fix PrometheusRemoteWriteDesiredShards
This rule has the same labels on both sides. We don't want `group_right` and `on`, we want nothing. Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
parent
e0443e6fa3
commit
61617eb2d9
|
@ -218,7 +218,7 @@
|
|||
# https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
|
||||
(
|
||||
max_over_time(prometheus_remote_storage_shards_desired{%(prometheusSelector)s}[5m])
|
||||
> on(job, instance) group_right
|
||||
>
|
||||
max_over_time(prometheus_remote_storage_shards_max{%(prometheusSelector)s}[5m])
|
||||
)
|
||||
||| % $._config,
|
||||
|
|
Loading…
Reference in New Issue