Skip to main content

Usage, in your Routemaster configuration file:

plugins:
  logging:
    - class: routemaster_prometheus.logger:PrometheusLogger
      kwargs:
        path: /metrics

This package is based on the official Python Promeutheus bindings in ``prometheus_client` <https://pypi.org/project/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.

Release files for routemaster-prometheus 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for routemaster-prometheus 1.5.0
File Size Uploaded
routemaster_prometheus-1.5.0.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for routemaster-prometheus 1.5.0
File Interpreter ABI Platform
routemaster_prometheus-1.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / routemaster_prometheus-1.5.0.tar.gz

Download URL routemaster_prometheus-1.5.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0a17b480a466744b5f96f22f135334ce93293983920f2cc50b2073ad07234535
BLAKE2b-256 checksum
How to use checksums
2faa2a486aeeeeeddf747dfe6d7ce20e36f8301afc9900b097c75349e9e2f3f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.3

Release files / routemaster_prometheus-1.5.0-py3-none-any.whl

Download URL routemaster_prometheus-1.5.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d324941d1756afd554ff9994e1708db98c0617f9e89b91adf9d32ee2e2cc2a7
BLAKE2b-256 checksum
How to use checksums
c0b668dcc0c65a403477094a2cc324f58e711d8117805397caee5c9a58629262
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.3

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.23

2 release files

1.3.22

2 release files

1.3.20

2 release files

1.3.19

2 release files

1.3.10

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page