Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

docs - add prometheus env var (#73450)

Jeff Bruemmer8f695d729629
diff --git a/src/metabase/cmd/resources/other-env-vars.md b/src/metabase/cmd/resources/other-env-vars.md
index a6d84f0bdb8..06f2f91acf0 100644
--- a/src/metabase/cmd/resources/other-env-vars.md
+++ b/src/metabase/cmd/resources/other-env-vars.md
@@ -400,6 +400,15 @@ Path of the "plugins" directory, which is used to store the Metabase database dr
The location is where custom third-party drivers should be added. Then Metabase will load the driver on startup, which can be verified in the log.
+### `MB_PROMETHEUS_SERVER_PORT`
+
+Type: integer<br>
+Default: `null`
+
+Port to serve Prometheus metrics from. If set, Prometheus collectors are registered and served from `localhost:<port>/metrics`.
+
+See [Observability with Prometheus](../installation-and-operation/observability-with-prometheus.md).
+
### `MB_QP_CACHE_BACKEND`
Type: string<br>