This alert fires when a configured Prometheus scrape target is not responding.
System load, a node or the exporter processes being offline, or otherwise unresponsive may be contributing factors that result in this alert.
When this alert fires, it may indicate a severe problem with the host, or that we are blind to future problem detection due to lack of metrics.
If the failing host is the primary, this can be the first sign of a half-dead primary: its exporters, Patroni or Consul agent are stuck, while Postgres may still be committing writes that the replicas no longer receive. Check whether the cluster still has a Leader and whether the replicas are streaming, and if not, follow Primary unresponsive or no Leader: recover it without losing data.
This uses the internal up() function provided by Prometheus, which indicates whether or not the most recent scrape attempt of a given job was successful or not.
It is expected that the return of the query will always be an empty result. Note that we filter the pgbouncer scrape job in the query, due to this being incorrectly configured via the Mimir prometheus-agent ScrapeConfig.
This alert is intended to fire regardless of a host’s power state. Because of this, a silence should be created in Alertmanager prior to powering off any instances to avoid unwanted alerts.
This alert will fire if any single scrape target on a host is failing to be scraped. You can determine the specific scrape jobs by removing the min() aggregator from the prometheus query. Example
If this fires and you aren’t intentionally powering down a VM, always assume this is a high severity alert.
When this fires we either have a node that has failed in a way that could directly impact our customers, or we become blind to future issues as future metrics collection will not be working.
Attempt to restart the exporter services on the machine if the host is responsive and handling query traffic normally.
If a replica is locked up or unresponsive, a reboot may be necessary.
If the primary is locked up or unresponsive, don’t reboot it directly: with the cluster unpaused, a replica that is behind can be promoted and the writes only the primary has are lost. Follow Primary unresponsive or no Leader: recover it without losing data, which pauses the cluster first.