prefect.utilities.services

Functions

start_client_metrics_server

start_client_metrics_server() -> None

Start the process-wide Prometheus metrics server for client metrics (if enabled with PREFECT_CLIENT_METRICS_ENABLED) on the port PREFECT_CLIENT_METRICS_PORT.

stop_client_metrics_server

stop_client_metrics_server() -> None

Start the process-wide Prometheus metrics server for client metrics, if it has previously been started