How to Install and Uninstall python-prometheus-client Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

1. Install "python-prometheus-client" package

In this section, we are going to explain the necessary steps to install python-prometheus-client on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-prometheus-client

2. Uninstall "python-prometheus-client" package

Here is a brief guide to show you how to uninstall python-prometheus-client on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-prometheus-client $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-prometheus-client package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-prometheus-client
Priority: optional
Section: universe/python
Installed-Size: 66
Maintainer: Ubuntu Developers
Original-Maintainer: Christopher Baines
Architecture: all
Version: 0.0.13-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-prometheus-client/python-prometheus-client_0.0.13-1_all.deb
Size: 15462
MD5sum: 454230c3040a597e74567d2c9f4e6c03
SHA1: 804b3dee026be70e63aa205f2fda1854b4fa23d8
SHA256: e706837b4917f32c091da6d225f40b552002c7c18defb539a304840879153ad2
Description-en: Python 2 client for the Prometheus monitoring system
This library provides an API for exporting metrics from a Python application.
It provides classes for the metric types, and an HTTP server to expose the
metrics to Prometheus.
.
When using Linux, the process CPU, RAM, file descriptor usage and start time
will also be exported.
.
Along with the HTTP server to expose metrics, you can also write the metrics
to a text file to be exported by the prometheus-node-exporter, or push them to
the prometheus-pushgateway.
.
This library also includes support for re-exporting Graphite metrics to
Prometheus, custom collectors to proxy metrics for other systems and a parser
for the Prometheus text format.
Description-md5: c108e31aecde97f271a7653ca9ccbfe3
Homepage: https://github.com/prometheus/client_python
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu