n8n-docs/docs/hosting/configuration/configuration-examples/prometheus.md

683 B

title description contentType
Enable Prometheus metrics Enable Prometheus metrics endpoint. howto

Enable Prometheus metrics

/// note | Experimental Prometheus metrics are an experimental feature. /// To collect and expose metrics, n8n uses the prom-client library.

The /metrics endpoint is disabled by default, but it's possible to enable it using the N8N_METRICS environment variable.

export N8N_METRICS=true

Refer to the respective Environment Variables (N8N_METRICS_INCLUDE_*) for configuring which metrics and labels should get exposed.