Monitoring#
There are two API endpoints you can call to check the status of your instance: /healthz and /metrics.
healthz#
The /healthz endpoint returns a standard HTTP status code. 200 indicates the instance is reachable. It's available for both self-hosted and Cloud users.
Access the endpoint:
1 | |
metrics#
The /metrics endpoint provides more detailed information about the current status of the instance.
Access the endpoint:
1 | |
Feature availability
The /metrics endpoint isn't available on n8n Cloud.
Enable metrics and healthz for self-hosted n8n#
The /metrics and /healthz endpoints are disabled by default. To enable them, configure your n8n instance:
1 2 3 4 | |
Refer to Configuration methods for more information on how to configure your instance using environment variables.