IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Python class

PrometheusMetricsMode

PrometheusMetricsMode​

max.pipelines.PrometheusMetricsMode

source

Controls the Prometheus metrics mode.

"instrument_only"
Instrument metrics through the Prometheus client library, relying on the application to handle the metrics server.
"launch_server"
Launch a Prometheus server to handle metrics requests.
"launch_multiproc_server"
Launch a Prometheus server in multiprocess mode to report metrics.

alias of Literal[‘instrument_only’, ‘launch_server’, ‘launch_multiproc_server’]