mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 22:37:27 -08:00
Merge pull request #6242 from prometheus/beorn7/mixin
Fix PrometheusRemoteWriteDesiredShards
This commit is contained in:
commit
7c039a6b3b
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue