提交 61617eb2 编写于 作者: B beorn7

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: Nbeorn7 <beorn@grafana.com>
上级 e0443e6f
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册