Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 months 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 (over 9 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 (3 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[![PyPI version](https://badge.fury.io/py/pip-prometheus.svg)](http://badge.fury.io/py/pip-prometheus)
[![Build Status](https://travis-ci.org/korfuri/pip-prometheus.svg?branch=master)](https://travis-ci.org/korfuri/pip-prometheus)
[![PyPi page link -- Python versions](https://img.shields.io/pypi/pyversions/pip-prometheus.svg)](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/).