How to Install and Uninstall prometheus-pushgateway Package on Ubuntu 21.10 (Impish Indri)

Last updated: September 20,2024

1. Install "prometheus-pushgateway" package

Here is a brief guide to show you how to install prometheus-pushgateway on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install prometheus-pushgateway

2. Uninstall "prometheus-pushgateway" package

Here is a brief guide to show you how to uninstall prometheus-pushgateway on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove prometheus-pushgateway $ sudo apt autoclean && sudo apt autoremove

3. Information about the prometheus-pushgateway package on Ubuntu 21.10 (Impish Indri)

Package: prometheus-pushgateway
Architecture: amd64
Version: 1.4.0+ds-1
Built-Using: golang-1.15 (= 1.15.4-1ubuntu2), golang-github-alecthomas-units (= 0.0~git20201120.1786d5e-1), golang-github-beorn7-perks (= 1.0.1-1), golang-github-cespare-xxhash (= 2.1.1-1), golang-github-go-kit-kit (= 0.6.0-3), golang-github-go-logfmt-logfmt (= 0.5.0-2), golang-github-go-stack-stack (= 1.8.0-1), golang-github-jpillora-backoff (= 1.0.0-1.1), golang-github-julienschmidt-httprouter (= 1.3.0-1), golang-github-mwitkow-go-conntrack (= 0.0~git20190716.2f06839-2), golang-github-pkg-errors (= 0.9.1-1), golang-github-prometheus-client-golang (= 1.9.0-2), golang-github-prometheus-client-model (= 0.2.0-1), golang-github-prometheus-common (= 0.15.0-2), golang-github-prometheus-exporter-toolkit (= 0.5.1-2), golang-github-prometheus-procfs (= 0.3.0-1), golang-go.crypto (= 1:0.0~git20201221.eec23a3-1), golang-golang-x-net (= 1:0.0+git20201031.ff519b6+dfsg-1), golang-golang-x-sys (= 0.0~git20210124.22da62e-1), golang-golang-x-text (= 0.3.5-1), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.6-2), golang-goprotobuf (= 1.3.4-2), golang-protobuf-extensions (= 1.0.1-1), golang-yaml.v2 (= 2.4.0-1)
Priority: extra
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9743
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: adduser, fonts-glyphicons-halflings, libjs-bootstrap4, libjs-jquery (>= 3), libc6 (>= 2.32)
Filename: pool/universe/p/prometheus-pushgateway/prometheus-pushgateway_1.4.0+ds-1_amd64.deb
Size: 2875628
MD5sum: d963f53058294aac2fc0a613bb0fcd9b
SHA1: ae457623cb8d4953ed7b84c43142f84383aed9cc
SHA256: 90a094f0bf147468060aebe91ecd29a96998b3b1bba0f8a3582ed7614839c2f0
SHA512: 2a8fb16db631b475e1e1cb16ef8e5097a84907de92e79601f78cacc29c467bd6a2c89e72abe35d319ab72ecaeafe9ac36dd6d95d152301584f9ea4939d5edd56
Homepage: https://github.com/prometheus/pushgateway
Description-en: 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.
Description-md5: 95fbeb244faa98192d9c460610063023