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

  1. Instance uptime: check /healthz and /healthz/readiness from outside the server.
  2. Resource and queue metrics: on self-hosted, enable N8N_METRICS=true and scrape /metrics with Prometheus.
  3. Logs: set N8N_LOG_LEVEL and N8N_LOG_OUTPUT so you can investigate after the fact.
  4. Failed executions: an error workflow with the Error Trigger node, plus the Insights failure rate.
  5. 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:

You have three realistic options:

For pricing, free tiers and how other hosted monitors compare, see n8n monitoring tools compared.

Which layers you actually need

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.