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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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