Skip to main content

Module prometheus

Module prometheus 

Source
Expand description

Prometheus metrics exposition.

Installs a global Prometheus recorder and exposes a render function for the /metrics endpoint.

Staticsยง

PROM_HANDLE ๐Ÿ”’
UPKEEP_STARTED ๐Ÿ”’

Functionsยง

init_prometheus
Initialize the Prometheus metrics recorder.
render
Render current metrics in Prometheus exposition format.
start_upkeep_task
Start the background upkeep task for Prometheus metrics.