Enable Prometheus metrics#
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.
1 |
|
Refer to the respective Environment Variables (N8N_METRICS_INCLUDE_*
) for configuring which metrics and labels should get exposed.