August 2019
Beginner
608 pages
16h 7m
English
There are several ways to create custom monitoring scripts that will supply time series data to your Prometheus server. As noted earlier in the Setting up Prometheus section, there are many client libraries available, such as https://github.com/prometheus/client_python.
In the following screenshot, you can see that the preceding project is not very big but does have stars on GitHub.

To use this library, install it using pip (a Python package manager for modules) with the following code:
$ pip install prometheus_client Collecting prometheus_client matplotlib 1.3.1 requires nose, which is not installed. matplotlib 1.3.1 ...
Read now
Unlock full access