prometheus-pushgateway

Prometheus exporter for ephemereal jobs

Install

All systems
curl cmd.cat/prometheus-pushgateway.sh
Debian Debian
apt-get install prometheus-pushgateway
Ubuntu
apt-get install prometheus-pushgateway
image/svg+xml Kali Linux
apt-get install prometheus-pushgateway
Windows (WSL2)
sudo apt-get update sudo apt-get install prometheus-pushgateway
Raspbian
apt-get install prometheus-pushgateway

prometheus-pushgateway

Prometheus exporter for ephemereal jobs

The Prometheus Pushgateway exists to allow ephemeral and batch jobs to expose their metrics to Prometheus. Since these kinds of jobs may not exist long enough to be scraped, they can instead push their metrics to a Pushgateway. The Pushgateway then exposes these metrics to Prometheus. The Pushgateway is explicitly not an aggregator, but rather a metrics cache. It does not have a statsd-like semantics. The metrics pushed are exactly the same as you would present for scraping in a permanently running program. For machine-level metrics, the textfile collector of prometheus-node-exporter is usually more appropriate. The Pushgateway is best used for service-level metrics.