Grafana dashboards for n8n executions and queues: what operators need to see
A self-hosted n8n instance, especially one running in queue mode, can fail quietly. Failed executions pile up, or a Redis backlog grows while workers still look healthy. Prometheus collects n8n metrics over HTTP, and Grafana visualizes them so an operator can spot a rising failure rate or a growing queue before users notice. Dashboards answer the question "is the system trending wrong?" while alerts answer "does someone need to act now?" A team with a single instance and few workflows may get by with a handful of alerts on failed executions. A team running workers, webhook processors and business-critical schedules usually needs dashboards too, because a threshold alert rarely explains why a queue is climbing or which instance is responsible.
The n8n-observability templates are a useful starting point, but treat them as a draft to test, not a finished product. Confirm which panels still match your n8n version, your metric flags and your Prometheus scrape configuration, and remove anything that reads a series your instance does not expose. This page does not promise specific metric names. Metric names and labels can change between n8n releases, so check the /metrics output of the exact version you run before writing any PromQL. Also confirm the Grafana version you plan to use, since Grafana's own upgrade cadence will affect your provisioning files over time.
Build the dashboard around the decisions it must support: whether executions are failing, whether the queue is draining, whether webhook responses are slowing, and whether each main, worker or webhook process is working. Provision data sources and dashboards from files so the views are reviewed like code, following Grafana's provisioning approach. Keep per-instance views separate from fleet-wide views so a single unhealthy worker does not hide inside an average. Before you rely on any panel, run a controlled test such as a deliberately failing workflow or a paused worker, and confirm the panel moves as expected. Record the results so the dashboard becomes evidence that your monitoring works, not just a set of charts.
How n8n metrics reach Grafana dashboards
The path starts at the n8n main instance, webhook processors and workers, which expose metrics over HTTP. Prometheus pulls from each target on its own schedule and keeps the samples in local storage for the retention you set. Grafana queries that storage with PromQL, and Prometheus sends firing alerts to Alertmanager. The metrics endpoint is the trust boundary: only Prometheus should reach it, so check that scrape access is restricted and authenticated.
Prometheus pulls n8n metrics from each process and feeds Grafana and Alertmanager.
Which panels answer which operator question
This tab answers whether workflows are completing successfully. Plot started and finished executions over time, split by final status, so the failure share sits next to total volume. Use rate functions on counters rather than raw counter values, because counters reset when a process restarts and the raw line then looks like a drop in activity.
- Total execution rate: Shows overall throughput. A sudden drop while webhook traffic is steady usually points to triggers that stopped firing, which is a different fault from failing runs.
- Failure ratio: Failed executions divided by finished executions over the same window. A rising ratio with flat volume often follows a changed credential, an upstream API change or a node update.
- Starts by trigger type: Separating scheduled starts from webhook starts shows whether a schedule change or an external caller caused a load shift.
- Label coverage: Check which labels, such as workflow or project identifiers, the deployed version exposes before building per-workflow panels.
Before you trust any failure panel, run one deliberately failing test workflow and confirm that the counter moves the way the panel assumes.
In queue mode the main instance hands executions through Redis to a pool of workers, so this tab answers whether work is waiting for capacity. Pair the waiting job count with the active job count and the number of workers that are online. The combination tells you whether the pool is saturated, starved or stuck.
- Waiting jobs over time: A backlog that grows and does not drain is the clearest sign that workers cannot keep up with arrivals.
- Active jobs against worker concurrency: If active jobs sit at the configured ceiling while waiting jobs rise, the fix is usually more worker capacity or a review of long-running workflows.
- Waiting jobs with idle workers: Growing backlog while workers show little activity suggests a connection problem to Redis or a concurrency setting that is too low.
- Worker count: Track online workers as a step line so restarts and scaling events are visible on the same time axis.
- Redis health: Monitor Redis with its own exporter, because a Redis fault shows up here first as a queue that stops moving.
Confirm the exact queue metric names in your n8n version's live output, and set the backlog alert against your own normal drain time, not a value copied from another team.
This tab answers how long external callers wait for a webhook response. Latency is best measured at the reverse proxy or load balancer in front of n8n, because that matches what the caller experiences. n8n's own timing covers only part of the request path, so the two views rarely match exactly and you should label which one each panel uses.
- Percentile latency: Use histogram quantile functions over the latency buckets for a median and a tail percentile. Averages hide slow requests that matter most to callers.
- Latency by route: Split by webhook path where labels allow it, so one slow integration does not disappear into the total.
- Error status codes: Show 5xx responses next to latency. Rising latency with rising errors points to saturation, while latency alone can point to slow downstream work.
- Correlation with queue depth: Overlay webhook latency on waiting jobs. If the two rise together, the webhook processors may be waiting on the same capacity as the workers.
The Prometheus documentation says the system values reliability over precision, so treat percentile panels as trend indicators and confirm the bucket boundaries in your version's output before setting thresholds.
This tab answers which process is behind a change. Main, worker and webhook processes can each expose metrics, and a fleet-wide average can hide a single failing instance. Use the instance and job labels that Prometheus attaches during scraping to build one panel per process role, plus a template variable that lets an operator choose a single instance.
- Scrape target health: The up series for each target shows whether Prometheus can reach the process. A missing target looks like a quiet system, so alert on it directly.
- Role labels: Group panels by main, worker and webhook so a spike is attributed to the right tier before anyone opens a log.
- Template variables: Add an instance selector so an on-call engineer can compare one worker with its peers.
- Scrape interval alignment: Check that the scrape interval is short enough for the panels' rate windows, or the rates will look jagged.
- Endpoint protection: Confirm that the metrics endpoint requires authentication or is limited to the Prometheus network path before exposing any target.
Compare the number of targets in Prometheus with the number of n8n processes you actually run, because a worker that never registered is the most common cause of an apparently healthy but under-powered queue.
Dashboard build options and when each fits
This table compares three ways to create n8n dashboards in Grafana: starting from the n8n-observability templates, hand-building panels in the UI, and provisioning dashboards as files or through Terraform or Git Sync. Read each row as a trade-off that matters for review and change control. The main takeaway is that UI-built dashboards are fastest to start but hardest to reproduce, so teams running more than one environment usually need a file-based path from the beginning.
| Decision factor | Template or UI build | Provisioned from files or Terraform | Git Sync |
|---|---|---|---|
| Starting point | Import n8n-observability templates, then adjust panels in the Grafana UI | Write dashboard JSON or YAML for n8n panels and load it at startup | Store dashboard definitions in a Git repository that Grafana reads |
| Review and approval | Changes happen in the browser, so review depends on exporting JSON after the fact | Dashboard changes pass through pull requests and code review before deployment | Changes are reviewed as commits or merges in the repository |
| Reproducing across environments | Manual copy or export/import, prone to drift between staging and production | Same files deploy to each environment, with per-environment data source settings | Each environment tracks a branch or path, so promotion follows Git history |
| Change history and rollback | Limited to Grafana version history for each dashboard | Rollback is a Git revert or redeploy of an earlier file | Full commit history with authorship and rollback by revert |
| Provisioning scope | Not applicable, changes are made directly in the UI | Dashboards and data sources are documented as provisionable | Confirm in Grafana provisioning docs which resources Git Sync supports |
| Skill needed | Grafana query and panel knowledge only | Grafana JSON structure and deployment pipeline skills | Git workflow plus Grafana Git Sync configuration |
| Best fit | Early exploration and short-lived investigation views | Teams that deploy to several environments through a pipeline | Teams that want Git as the source of truth with reviewable history |
| Watch for | UI edits that nobody exports back to version control | Files overwritten on restart if edited in the UI, depending on settings | Confirm Git Sync availability and edition requirements for your Grafana version |
How to build the dashboards in sequence
This sequence takes a running n8n instance from raw metrics to a verified Grafana view of executions, failures and queue health, with a check at each stage so the team knows every layer works before relying on it. Each step produces something the next step depends on.
Enable n8n metrics on every process
Set the metrics environment variable on the main instance, each worker and each webhook processor so that every process exposes its own metrics endpoint. Use the include flags only for the metric groups your dashboards will chart, because the defaults may not cover queue and worker series. Confirm the setting names against the n8n documentation for your installed version. Done means that a request to the metrics path on each process returns Prometheus text output from your own network, not a blank page or an authentication error.
Confirm each metrics endpoint responds
From the Prometheus host, request the metrics path on each main, worker and webhook process directly, bypassing any load balancer. A load balancer may route a request to a different process, so direct checks show which process answered. Record the address and process role for each endpoint in your build notes. Done means every endpoint returns metric lines and you can name the role behind each one.
Configure Prometheus scrape targets for all processes
Add a scrape job to the Prometheus configuration that lists every main, worker and webhook processor, labeled by role and instance name so the Grafana panels can filter per process. Keep the metrics endpoint reachable only from Prometheus, since it should not be exposed to the internet. Reload Prometheus and check the targets page. Done means each target shows as up, and a process that is stopped on purpose changes to down within the next scrape cycle.
Set retention to match dashboard time ranges
Prometheus keeps local data for 15 days by default, and retention can be set by time or size. Decide the longest time range your operators will open in the dashboards, then set retention to cover it with margin for storage growth. Local storage is not clustered or replicated, so plan disk capacity and backups for the Prometheus host as you would for any single-node database. Done means the storage settings are saved, the disk has headroom for the chosen window, and a query over the longest planned range returns data.
Connect Grafana to Prometheus and provision dashboards
Add Prometheus as a data source in Grafana, then load the n8n dashboards either by import from the n8n-observability templates or by file-based provisioning so the data source and dashboards are defined as configuration. Provisioning makes the setup repeatable across environments and lets changes go through review. Confirm the dashboard variables for instance and role match the labels you set in the scrape job. Done means the data source test succeeds and each dashboard loads without empty panels caused by label mismatches.
Trigger known test executions
Run a small set of test workflows on a non-production or agreed test environment: one that succeeds, one that fails on purpose, and one that is queued and handled by a worker, plus a webhook call that reaches a webhook processor. Note the time and count of each run so you can compare them against the panels. Done means your run log shows the expected number of successes, failures and webhook calls, ready for comparison.
Verify each panel against the test runs
Check the execution count, failure rate, queue depth and webhook latency panels against the run log, allowing for the scrape interval and the time window of each panel. The deliberately failed test workflow should appear in the failure panel, and the per-instance view should attribute the webhook call to the webhook processor that handled it. Where a number does not match, check the label filter, the time range and the scrape status before changing the query. Done means each panel reflects the known runs, and the team records which panels were verified and by whom.
Why per-instance views matter in queue mode
In n8n queue mode, the main instance receives triggers and webhooks and hands executions through Redis to a pool of workers, so the two sides fail in different ways. A backlog can build on the worker side while the main instance looks healthy, or the reverse: webhooks may be accepted and queued quickly while executions wait. A single blended dashboard averages these together and hides the side that is falling behind. Operators need views that separate the main instance, the workers and any webhook processors before they can tell which component to act on.
The separation depends on labels. Each metric series needs an instance identifier and a process role so that a panel can show main, worker and webhook processes side by side or filter to one of them. Decide these before building dashboards: how each process is named, whether role is carried as a label or encoded in the scrape job, and which values are allowed. Confirm the exact label names and metric flags in the n8n Prometheus metrics documentation for your version, because renaming labels later breaks existing panels and alert rules.
Label cardinality is the other design constraint. Every unique combination of label values creates a separate time series, so labels that change per container restart, per pod or per execution will multiply storage and slow queries. Keep labels to stable identities such as role and a fixed instance name, and set scrape target naming so that a restarted worker keeps a predictable identity. Prometheus stores data in local storage that is not clustered or replicated, so check the series count against your retention and disk plan before you add more per-instance panels.
Securing the metrics path and the Grafana instance
The dashboards in this topic sit on three components that each hold operational detail about n8n: the metrics endpoint, Prometheus with Alertmanager, and Grafana itself. Each one needs its own network and authentication boundary, and the Grafana access model should match the n8n access model, because execution names and business context appear on the panels.
Keep the metrics endpoint private
The n8n /metrics endpoint exposes counters and gauges about executions, queues and processes. Confirm that the endpoint is reachable only from the Prometheus scrapers, either through a private network path or a reverse proxy rule that blocks public routes. Check the proxy configuration after every change to routing, because a broad path rule can expose the endpoint without anyone noticing. Confirm the exact n8n metrics settings in your version before you rely on any single control.
Require authentication where supported
Where the metrics endpoint or the scraping path supports a token or basic authentication setting, enable it and store the credential in your secrets system rather than in a plain Prometheus file. Ask whether your n8n version supports this natively, and if it does not, enforce authentication at the proxy layer. Rotate the scrape credential on the same schedule as other service credentials.
Restrict Prometheus and Alertmanager access
Prometheus stores its time series locally and offers no built-in access control for its query API, so the network path is the main boundary. Limit who can reach the Prometheus web and API ports, and limit the Alertmanager endpoints to Prometheus and the on-call routing path. Prometheus should point at every Alertmanager instance, so review those target lists whenever an Alertmanager node is added or removed.
Prometheus security modelHarden Grafana cookies and content policy
Apply the Grafana security hardening settings for secure and SameSite cookies, and set a Content Security Policy and Trusted Types. Confirm each setting against your Grafana version and your reverse proxy headers, since a misconfigured proxy can break sign-in or silently drop headers. Test sign-in and dashboard loading after each change, and record the settings in your configuration repository so reviewers can check them.
Grafana hardening docsHide version and protect the metrics path
Configure Grafana so the version is hidden from unauthenticated users, and confirm that Grafana's own metrics endpoint requires authentication. Also set domain verification against DNS rebinding for the public hostname. Version disclosure helps an attacker pick a known flaw, so check what an anonymous request returns from outside your network.
Align Grafana access with n8n access
Dashboard panels can show workflow names, customer-facing flow labels and execution counts tied to business processes. Grant Grafana roles that mirror who can see those workflows in n8n, and do not give broad viewer access to people who cannot open the same projects in n8n. Confirm which identity options your Grafana edition supports, since SAML, team sync and SCIM are limited to Grafana Enterprise and Grafana Cloud, and plan the group mapping before you publish the dashboards.
Grafana authentication docsKeeping alerts and versions current after go-live
Dashboards show you a failing queue, but Alertmanager decides who hears about it. Prometheus evaluates the alert rules you write for n8n execution failures, queue depth and webhook latency, then sends firing alerts to Alertmanager, which groups related alerts, applies silences during planned maintenance and routes each alert to the right channel. Run Alertmanager as a cluster using its --cluster flags for high availability, and configure Prometheus to send alerts to every Alertmanager instance rather than to a load balancer in front of them. Before go-live, confirm that a deliberately failing test rule reaches your on-call tool through the cluster, and that a silence created on one Alertmanager node is visible on the others.
Plan the maintenance rhythm before you need it. Prometheus starts a new minor release cycle every 6 weeks, and a minor release generally stops receiving bug fixes once that window closes, so an unpatched minor line is a standing risk. Prometheus long-term support lines receive bug fixes for one year. The current LTS line is 3.13, supported until July 31, 2027, so most teams should pin to an LTS line and schedule a move to the next one before the current line's support ends. Grafana publishes patch releases at least monthly, and its upgrade guidance describes minor releases every other month, with each minor supported for 9 months and the last minor of a major version for 15 months.
Make two decisions in writing. First, choose the Prometheus line you will run and the date you will review it. Second, choose a Grafana policy: for example, apply patch releases within a set window after testing on a non-production instance, and move to a new minor only after your dashboards, provisioned data sources and alert rules pass a check on that release. Keep dashboards and alert rules in provisioning files under version control so each upgrade is repeatable. Confirm the exact support dates and any change to the cadence on the Prometheus release cycle page and the Grafana upgrade guidance at the time you plan.
Questions teams ask before building n8n dashboards
How much effort does an n8n Grafana dashboard build take?
The effort depends on how many n8n instances you run, whether they use queue mode with separate workers and webhook processors, and how much of your Prometheus and Grafana stack already exists. A single main instance with no queue is a small job. Queue mode adds worker and webhook series to scrape, per-instance views to build, and alert rules to tune. Template fit matters too: a community template may cover most panels, while your own naming, labels and retention needs add work. Ask for a written scope that lists instances, topology, existing tooling and the panels and alerts you expect, then compare the quote against that list.
Can our own team build n8n dashboards without a partner?
Often yes, if you already run Prometheus and Grafana and have someone comfortable with PromQL and provisioning. The skills gap is usually in three places: enabling and scraping n8n metrics correctly, keeping the metrics endpoint off the public internet, and writing queries that stay accurate across restarts and multiple workers. Prometheus values reliability over precision, so dashboards that drive billing or compliance decisions need careful review. A partner is useful when you want a fixed-scope build, a second review of queries and alerts, or handover documentation. Decide based on who will own the dashboards after go-live.
What does the dashboard project need from our team?
You will need to provide access to the n8n hosts or their configuration, the Prometheus server and its scrape configuration, the Grafana instance where dashboards are provisioned, and the network rules that let Prometheus reach n8n metrics endpoints. Named owners matter as much as access: one person for n8n configuration, one for Prometheus and storage, one for Grafana and one for the on-call routing that receives alerts. Confirm change windows for restarts, since enabling metrics on n8n requires configuration changes. Put these requirements, and who approves each one, into the written scope before work begins.
Do Prometheus and Grafana carry license costs?
Prometheus is licensed under Apache-2.0 and has no paid enterprise edition, so its software cost is zero. Your costs come from infrastructure, storage, implementation and the people who run it. Grafana is different: it is licensed under AGPLv3 for the open-source edition, and Grafana Enterprise is offered as a commercial option. Grafana's authentication docs show that SAML, team sync, active sync and SCIM are limited to Enterprise and Grafana Cloud, so check those needs before choosing. Grafana Cloud has a free tier, a Pro tier with a 19 US dollar monthly platform fee plus usage, and an Enterprise tier with a 25,000 US dollar yearly minimum commitment, according to Grafana's pricing page. Compare those figures against self-hosting costs.
Which Grafana edition do we need for SSO on dashboards?
The open-source edition supports LDAP, generic OAuth, Entra ID, Okta, GitHub, GitLab and Google OAuth, auth proxy and JWT. SAML, team sync, active sync and SCIM provisioning are available only in Grafana Enterprise and Grafana Cloud. If your identity provider requires SAML or you need automatic team membership from directory groups, plan for an Enterprise license or Grafana Cloud and confirm the cost in writing. Also check that your Grafana database is MySQL 8.0 or later or PostgreSQL 12 or later for production, since SQLite is not suited to production or high availability.
How long does an n8n monitoring dashboard project take?
No fixed duration applies to every environment, so ask for a timeline in the written scope rather than relying on a general figure. The schedule usually depends on the number of instances and workers, how many environments need separate views, whether Prometheus and Grafana are already running, and how quickly your teams can approve changes to n8n and scrape rules. Ask the partner to list the phases, the acceptance checks for each dashboard and alert, and the dates your team must deliver access or sign off on the work.
Should Grafana be treated as the only source of n8n alerts?
Not necessarily. Grafana can evaluate alert rules, but Prometheus and Alertmanager are the usual path for metric alerts, and Alertmanager handles grouping, inhibition and silences. If Grafana is high availability with two or more active-active servers, alerting needs extra configuration to avoid duplicate notifications. Decide early which system owns each alert, keep failed-execution alerts aligned with your n8n error workflow, and confirm the on-call route before go-live so a dashboard change does not silently remove a notification.
How DeployOpen scopes and supports n8n observability
DeployOpen plans, implements, hardens and documents self-hosted open-source platforms inside the client's own infrastructure, including the Prometheus and Grafana monitoring stack that feeds n8n dashboards. For this work, the scope is usually agreed in a fixed-scope written agreement that names the components in play: the n8n metrics endpoint and which include flags are enabled, the Prometheus scrape targets for the main instance and any workers or webhook processors, the Grafana data source and dashboards, and the alert rules that route to your on-call channel. A quote follows from that written scope, so the decisions that drive it (how many n8n processes exist, whether queue mode is in use, whether Grafana runs on one node or in a high-availability pair, and where retention and long-term storage sit) should be settled before anyone prices the work.
Scope conversations should also settle who owns each piece after handover. Ask whether the Grafana instance will be provisioned from files so dashboards survive a rebuild, which database will hold Grafana configuration (the Grafana installation documentation says SQLite does not scale for production), and who will upgrade Prometheus, Alertmanager and Grafana on their own release cadences. Confirm these points with your own platform team and with the vendor documentation for your versions rather than assuming them. Testing of the endpoints and alert paths can be included in the same agreement, and the findings are delivered as a written report with fixes and a retest.
Ongoing support is available as a retainer for the period after go-live, covering dashboard changes when n8n releases add metrics, upgrades of the monitoring components, and review of alert noise as your workflow volume changes. Retainers suit teams that want a named party responsible for the observability stack without hiring a dedicated monitoring specialist. Whichever model you choose, ask for the handover list, the runbook for restoring dashboards, and the exact boundary between DeployOpen's work and the work your own staff keep.

