A fork of official Python client for Prometheus.
This fork contains a few bugfixes and enhancements that make client usable inside Debian-based Docker containers:
- process stat reader was fixed to use correct /proc/$pid/stat entries
- process stat reader aggregates child process stats in addition to its own
- system-level cpu/mem metrics were added (ie.
*_system_*infix)
pip install prometheus-client
This package can be found on PyPI.
Documentation is available on https://prometheus.github.io/client_python