Prometheus-pushgateway Command
Install prometheus-pushgateway
-
Debian
apt-get install prometheus-pushgatewayClick to copy -
Ubuntu
apt-get install prometheus-pushgatewayClick to copy -
Kali Linux
apt-get install prometheus-pushgatewayClick to copy -
Raspbian
apt-get install prometheus-pushgatewayClick to copy
prometheus-pushgateway
Prometheus exporter for ephemereal jobsThe 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.




