mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -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',
|
||||
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
|
||||
(
|
||||
sum without(scrape_job) (prometheus_target_metadata_cache_entries{%(prometheusSelector)s}) > 0
|
||||
|
|
Loading…
Reference in a new issue