diff --git a/doc/self-hosting.md b/doc/self-hosting.md index 4982dd5db3..8d7deec4e9 100644 --- a/doc/self-hosting.md +++ b/doc/self-hosting.md @@ -198,10 +198,10 @@ sudo node server ### Prometheus Shields uses [prom-client](https://github.com/siimon/prom-client) to provide [default metrics](https://prometheus.io/docs/instrumenting/writing_clientlibs/#standard-and-runtime-collectors). These metrics are disabled by default. -You can enable them by `METRICS_PROMETHEUS_ENABLED` environment variable. +You can enable them by `METRICS_PROMETHEUS_ENABLED` and `METRICS_PROMETHEUS_ENDPOINT_ENABLED` environment variables. ```bash -METRICS_PROMETHEUS_ENABLED=true npm start +METRICS_PROMETHEUS_ENABLED=true METRICS_PROMETHEUS_ENDPOINT_ENABLED=true npm start ``` Metrics are available at `/metrics` resource.