What is the `up` metric?

BeginnerConceptPrometheus Architecture
Answer

Prometheus generates up{job, instance} for every scrape: 1 if the scrape succeeded, 0 if it failed (connection refused, timeout, bad format). It also records scrape_duration_seconds, scrape_samples_scraped and scrape_series_added.

up == 0

This is the most basic "target down" alert, and a big advantage of the pull model.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Prometheus Architecture