https://github.com/korfuri/pip-prometheus
Export the version of Pip packages to Prometheus
https://github.com/korfuri/pip-prometheus
exported-metrics metrics pip prometheus python
Last synced: 5 days ago
JSON representation
Export the version of Pip packages to Prometheus
- Host: GitHub
- URL: https://github.com/korfuri/pip-prometheus
- Owner: korfuri
- License: apache-2.0
- Created: 2015-04-11T23:48:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-20T16:03:35.000Z (over 5 years ago)
- Last Synced: 2024-10-04T19:07:47.398Z (7 months ago)
- Topics: exported-metrics, metrics, pip, prometheus, python
- Language: Python
- Size: 14.6 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pip-prometheus
Export the version of Pip packages to Prometheus.io[](http://badge.fury.io/py/pip-prometheus)
[](https://travis-ci.org/korfuri/pip-prometheus)
[](https://pypi.python.org/pypi/pip-prometheus)## Usage
Simply `import pip_prometheus` to register the metrics.
See the [prometheus_client documentation](https://github.com/prometheus/client_python) to see how to export the
metrics via an HTTP server. If you're using Django, check out
[django-prometheus](https://github.com/korfuri/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](http://prometheus.io/).