Guides · Updated October 26, 2026
How to monitor n8n in production: the 5 layers
"Is n8n up?" and "are my workflows doing their job?" are different questions. Most n8n monitoring setups answer the first one well and the second one barely. This guide walks through five layers, from the server to individual workflows, with what each one catches, what it misses, and how to set it up with n8n's built-in endpoints.
The short version
- Instance uptime: check
/healthzand/healthz/readinessfrom outside the server. - Resource and queue metrics: on self-hosted, enable
N8N_METRICS=trueand scrape/metricswith Prometheus. - Logs: set
N8N_LOG_LEVELandN8N_LOG_OUTPUTso you can investigate after the fact. - Failed executions: an error workflow with the Error Trigger node, plus the Insights failure rate.
- Silent failures: a per-workflow check for runs that are overdue, error streaks and runs that "succeed" with zero items.
Layers 1 to 4 come with n8n. Layer 5 is the one most teams don't have, and it's where client-facing incidents usually come from.
1. Instance uptime: /healthz and /healthz/readiness
n8n has a health endpoint at <your-instance-url>/healthz. It returns HTTP 200 when the instance is reachable, but it doesn't check the database. /healthz/readiness returns 200 only when the database is connected and migrated, so it's the better target if you want to know n8n can actually work. The main server always has the health endpoint on, on both self-hosted and Cloud. In queue mode, workers have it off by default; set QUEUE_HEALTH_CHECK_ACTIVE=true to turn it on. You can rename the path with N8N_ENDPOINT_HEALTH.
Point any external uptime checker at these URLs, for example a self-hosted Uptime Kuma or your existing uptime service. The important word is external: a check running on the same box goes down with it.
Catches: server down, crash loops, database not connected. Misses: everything inside workflows.
2. Metrics: /metrics with Prometheus and Grafana
On self-hosted n8n (all editions), set N8N_METRICS=true and n8n serves Prometheus metrics at /metrics. It's off by default and isn't available on n8n Cloud. Default system and Node.js metrics are included; more detail is opt-in through variables such as N8N_METRICS_INCLUDE_QUEUE_METRICS (jobs in queue mode), N8N_METRICS_INCLUDE_WORKFLOW_ID_LABEL and N8N_METRICS_INCLUDE_API_ENDPOINTS. n8n's docs include a guide to visualizing these in Grafana.
Catches: memory and CPU pressure, event-loop lag, a growing queue backlog. Misses: whether a given workflow did its job; a workflow that quietly stops running doesn't move these graphs.
3. Logs
n8n logs through winston. N8N_LOG_LEVEL sets the level (error, warn, info, debug; default info) and N8N_LOG_OUTPUT can be console, file or both. File logs rotate with N8N_LOG_FILE_SIZE_MAX and N8N_LOG_FILE_COUNT_MAX. Streaming logs to external systems is an Enterprise feature. Logs are where you go after an alert, not usually what alerts you.
4. Failed executions: the Error Trigger and Insights
An error workflow that starts with the Error Trigger node runs whenever an automatic execution of a linked workflow fails, and can send the error to Slack, email or anywhere else. Each workflow has to select it under Settings > Error workflow. If yours stays quiet, see n8n Error Trigger not working? 7 reasons.
The Insights summary banner, on every Cloud plan and self-hosted edition, shows total and failed production executions and the failure rate for the last 7 days. The full per-workflow Insights dashboard needs Cloud Pro or Enterprise, or self-hosted Business or Enterprise.
Catches: executions that end in an error. Misses: runs that never started, runs that succeeded with nothing in them, nodes set to continue on error, and an instance that's down (the error workflow runs inside it).
5. Silent failures: is each workflow still doing its job?
This is the layer that answers "did the client's lead sync actually run this morning?" The failure modes look like this:
- Missed runs. A schedule stops firing, a workflow gets unpublished, or a webhook URL changes after a migration. No execution, so no error.
- Empty successes. An API returns an empty list or a credential loses access and the service answers with nothing. The run is green with 0 items.
- Error streaks. A workflow fails every run for a day. Each failure fires an alert, they get muted, and nobody notices the pattern.
You have three realistic options:
- Heartbeat pings. Add an HTTP Request node at the end of each important workflow that pings a heartbeat service such as Healthchecks.io; the service alerts when a ping doesn't arrive on time. Simple and reliable for a handful of workflows, but you have to add and maintain a node in every workflow, set each schedule by hand, and add your own check if zero items should count as a failure.
- A DIY watchdog. A scheduled workflow that reads executions through the n8n public API and compares them with what you expect. Free and flexible. Run it somewhere other than the instance it watches, or it goes down together with it, and expect to maintain the thresholds yourself.
- A hosted monitor. FlowWatch is one, and it's what we build. It reads workflows and executions with an n8n API key (read-only use; nothing to add to your workflows), checks every 15 minutes from outside your instance, learns each workflow's normal run interval and output volume, and alerts by email, Slack or Telegram on missed runs, error streaks and zero-output successes. Agencies get one dashboard for all client instances. It costs money (from $29/month after a 14-day trial), so for one or two workflows a heartbeat ping may be all you need.
For pricing, free tiers and how other hosted monitors compare, see n8n monitoring tools compared.
Which layers you actually need
- Hobby or a few internal workflows: an external check on
/healthz/readinessplus an error workflow on every workflow. - Self-hosted for a team: add
/metricswith Prometheus, file logs, and heartbeat pings or a watchdog on the workflows that matter. - Agency running client workflows: all of the above, plus per-workflow checks for missed runs and empty successes on every client instance, because that's what clients notice first.
Check layer 5 on your instance in two minutes
The free n8n Health Check lists workflows that are failing, stalled or producing nothing. No signup, and the key isn't stored.
FAQ
What is the n8n health check endpoint?
n8n exposes /healthz, which returns HTTP 200 when the instance is reachable, and /healthz/readiness, which returns 200 only when the database is connected and migrated. /healthz is on by default on the main server for both self-hosted and Cloud. The path can be changed with N8N_ENDPOINT_HEALTH. On queue-mode workers the health endpoint is off unless you set QUEUE_HEALTH_CHECK_ACTIVE=true.
How do I enable Prometheus metrics in n8n?
Set N8N_METRICS=true on a self-hosted instance and scrape <your-instance-url>/metrics. Extra groups, such as queue metrics or a workflow ID label, have their own N8N_METRICS_INCLUDE_* variables. The /metrics endpoint isn't available on n8n Cloud.
Does /healthz tell me my workflows are running?
No. A 200 from /healthz only means the server answers. Your instance can be healthy while a schedule has stopped firing, a webhook no longer receives calls, or a workflow keeps succeeding with zero items.
Is the n8n Error Trigger enough for monitoring?
It covers automatic executions that fail, in workflows that have the error workflow selected. It doesn't cover runs that never started, successful runs with no output, nodes set to continue on error, manual runs, or an instance that is down, because the error workflow runs inside the same instance.
How do I monitor n8n Cloud, where I can't add environment variables?
On Cloud you can still check /healthz from outside, use an error workflow, read the Insights summary for failed production executions, and use the n8n public API (with an API key) to look at executions per workflow. The /metrics endpoint is self-hosted only.
Based on n8n's documentation for monitoring, endpoint environment variables, logging and Insights as of October 2026. Also see n8n workflow failed silently? How to catch it next time. FlowWatch is independent monitoring software and is not affiliated with n8n GmbH.