Skip to main content

Exporting prometheus metrics

Project description

Summary

Exporting prometheus metrics.

This cube provides a pyramid tween that will, when active, collect the metrics configured in the settings pyramid.ini and expose them on route /metrics.

Configuration

Include the metrics you want in pyramid.ini:

prometheus.pyramid.http_requests = True
prometheus.pyramid.current_requests = True
prometheus.pyramid.slow_routes = True
prometheus.pyramid.time_routes = True
prometheus.pyramid.count_routes = True

prometheus.cubicweb.sql.time = Histogram
prometheus.cubicweb.rql.time = Histogram
...

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

cubicweb-prometheus-0.5.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

cubicweb_prometheus-0.5.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file cubicweb-prometheus-0.5.0.tar.gz.

File metadata

  • Download URL: cubicweb-prometheus-0.5.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cubicweb-prometheus-0.5.0.tar.gz
Algorithm Hash digest
SHA256 179696dc9995dc8c551424b5702854ffbe10f14ade8807c8a7cd02e33fa79987
MD5 b90337da2246652c93dfa0bb0d0b092c
BLAKE2b-256 18a447026c51d48494ad9bc9427f486478c82c2446ec62ded83ad146ce612d43

See more details on using hashes here.

File details

Details for the file cubicweb_prometheus-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cubicweb_prometheus-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2df74ada03d9a983d039a7d4499af03702973ee6560ac542b149cdc8bfe31c7
MD5 02263faa61b483cffc42383a46849b49
BLAKE2b-256 4a09ad8ea4cbe50bc30c4bdb262d6c4d1ed375f5251bd0829e2dfe4e2a01339c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page