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.6.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cubicweb_prometheus-0.6.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file cubicweb_prometheus-0.6.0.tar.gz.

File metadata

  • Download URL: cubicweb_prometheus-0.6.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for cubicweb_prometheus-0.6.0.tar.gz
Algorithm Hash digest
SHA256 eba0ea102bc5418a06aef2059d9cdd454d61381695186eadd93eefae0c2a2fdf
MD5 9180a3368060485635bb3c66b001692b
BLAKE2b-256 3ece6d502861510f251c71098dec8239a9e64b7b6ae76cb8e823b983992689b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cubicweb_prometheus-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 428407819cfa9e4b173fce754350442d368c6da3fff75c7922cf72756650498e
MD5 45ef9b097b96b04e9afaedf21d4b2d69
BLAKE2b-256 244c61a65ba3547d773757dd54b88f7f6a265b6814fc2175951ebdf1b35ca52b

See more details on using hashes here.

Supported by

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