aioprometheus.asgi.quart module¶
- async aioprometheus.asgi.quart.metrics()¶
Render metrics into format specified by ‘accept’ header.
This function first attempts to retrieve the metrics Registry from
current_app
in case the app is using a custom registry instead of the default registry. If this fails then the default registry is used.