mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 22:37:27 -08:00
Merge pull request #13505 from wbollock/fix/PrometheusNotIngestingSamples_label_matching
mixin: PrometheusNotIngestingSamples label matching
This commit is contained in:
commit
805d51f6d3
|
@ -122,7 +122,7 @@
|
||||||
alert: 'PrometheusNotIngestingSamples',
|
alert: 'PrometheusNotIngestingSamples',
|
||||||
expr: |||
|
expr: |||
|
||||||
(
|
(
|
||||||
rate(prometheus_tsdb_head_samples_appended_total{%(prometheusSelector)s}[5m]) <= 0
|
sum without(type) (rate(prometheus_tsdb_head_samples_appended_total{%(prometheusSelector)s}[5m])) <= 0
|
||||||
and
|
and
|
||||||
(
|
(
|
||||||
sum without(scrape_job) (prometheus_target_metadata_cache_entries{%(prometheusSelector)s}) > 0
|
sum without(scrape_job) (prometheus_target_metadata_cache_entries{%(prometheusSelector)s}) > 0
|
||||||
|
|
Loading…
Reference in a new issue