n8n-docs/docs/hosting/configuration/configuration-examples/prometheus.md
2024-03-28 11:38:17 +01:00

716 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{:target="_blank" .external-link} 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.