未验证 提交 7c039a6b 编写于 作者: B Björn Rabenstein 提交者: GitHub

Merge pull request #6242 from prometheus/beorn7/mixin

Fix PrometheusRemoteWriteDesiredShards
...@@ -218,7 +218,7 @@ ...@@ -218,7 +218,7 @@
# https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details. # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
( (
max_over_time(prometheus_remote_storage_shards_desired{%(prometheusSelector)s}[5m]) 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]) max_over_time(prometheus_remote_storage_shards_max{%(prometheusSelector)s}[5m])
) )
||| % $._config, ||| % $._config,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册