Merge pull request #6242 from prometheus/beorn7/mixin

Fix PrometheusRemoteWriteDesiredShards
This commit is contained in:
Björn Rabenstein 2019-10-29 16:01:09 +01:00 committed by GitHub
commit 7c039a6b3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,