logging-prometheus

Exports logging metrics for Prometheus.io.


Keywords
python, logging, monitoring, prometheus, exported-metrics, metrics
License
Apache-2.0
Install
pip install logging-prometheus==0.1.0

Documentation

python-logging-prometheus

Export metrics about your Python application's logging volume for Prometheus.io.

PyPI version Build Status PyPi page link -- Python versions

Installation

pip install logging_prometheus

Usage

Simply import logging_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.