/pip-prometheus

Export the version of Pip packages to Prometheus

Primary LanguagePythonApache License 2.0Apache-2.0

pip-prometheus

Export the version of Pip packages to Prometheus.io

PyPI version Build Status

Usage

Simply import pip_prometheus to register the metrics.

See the prometheus_client documentation to see how to export the metrics via an HTTP server. If you're using Django, check out django-prometheus which can export metrics to a Django view, and exports metrics relevant to Django.

To aggregate the exported variables, see the Prometheus.io documentation.