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
Built Distribution
Close
Hashes for cubicweb-prometheus-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 179696dc9995dc8c551424b5702854ffbe10f14ade8807c8a7cd02e33fa79987 |
|
MD5 | b90337da2246652c93dfa0bb0d0b092c |
|
BLAKE2b-256 | 18a447026c51d48494ad9bc9427f486478c82c2446ec62ded83ad146ce612d43 |
Close
Hashes for cubicweb_prometheus-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2df74ada03d9a983d039a7d4499af03702973ee6560ac542b149cdc8bfe31c7 |
|
MD5 | 02263faa61b483cffc42383a46849b49 |
|
BLAKE2b-256 | 4a09ad8ea4cbe50bc30c4bdb262d6c4d1ed375f5251bd0829e2dfe4e2a01339c |