Skip to main content

Prometheus metrics reporting for Routemaster.

Project description

Usage, in your Routemaster configuration file:

    - class: routemaster_prometheus.logger:PrometheusLogger
        path: /metrics

This package is based on the official Python Promeutheus bindings in ``prometheus_client` <>`_. In order for that package to operate in a multithreaded program such as Routemaster, the environment variable prometheus_multiproc_dir must be set to a writeable directory for temporary files. It does not need to be backed up as nothing is persisted between application launches.

This is already done for you in the thread/routemaster Docker image provided, but when deploying in a custom way you may wish to change this directory.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

routemaster_prometheus-1.5.0.tar.gz (4.2 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page