Prometheus and PromQL 3 · Rates and aggregation

Detect a missing metric

Returns 1 when no series match, which is useful for alerting on vanished targets.

absent(up{job="api"})

Official Prometheus and PromQL 3 documentation

More rates and aggregation commands

All rates and aggregation commands · Prometheus and PromQL 3 cheatsheet

Was this page helpful?