awesome-prometheus-alerts/_data
Per Lundberg 00dd58eace
Fix Redis missing master query
The previous approach fails because of the "missing data" semantics in Prometheus. If the Redis server is down, PromQL will typically return "no data" instead of 0 for a `count()`; this is by design in Prometheus.

This suggestion as given by @slovdahl works around this by returning an vector with a single `0` entry in this case, making the query work as intended.
2020-11-25 16:06:05 +02:00
..
rules.yml Fix Redis missing master query 2020-11-25 16:06:05 +02:00