# n8n-io/n8n-observability architecture

> Architecture diagram of the GitHub repository n8n-io/n8n-observability, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/n8n-io/n8n-observability
- Repository: https://github.com/n8n-io/n8n-observability

## Overview

This repository is a collection of n8n observability dashboards and a local Prometheus/Grafana stack. The main workflow is to expose n8n metrics, scrape them with Prometheus, and view operational metrics in Grafana dashboards. The dashboards cover webhook and form executions, scheduler health, poll triggers, and system tasks; optional Slack alerting is provisioned in the local stack. The README documents these relationships; no source excerpts were provided, so implementation-level connections are omitted.

Main entry points: [`local-dev/docker-compose.yml`](https://github.com/n8n-io/n8n-observability/blob/main/local-dev/docker-compose.yml) (Grafana), [`local-dev/prometheus/prometheus.yml`](https://github.com/n8n-io/n8n-observability/blob/main/local-dev/prometheus/prometheus.yml) (Prometheus), [`local-dev/grafana/provisioning/dashboards/dashboards.yml`](https://github.com/n8n-io/n8n-observability/blob/main/local-dev/grafana/provisioning/dashboards/dashboards.yml) (Grafana provisioning), [`local-dev/grafana/provisioning/alerting/contact_points.yaml`](https://github.com/n8n-io/n8n-observability/blob/main/local-dev/grafana/provisioning/alerting/contact_points.yaml) (Slack alert config)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dashboards["Grafana dashboards"]
  node_webhook["Webhook executions"]
  node_forms["Form executions"]
  node_scheduler["Durable scheduler<br/>[n8n-scheduler.json]"]
  node_poll["Poll triggers"]
  node_tasks["System tasks"]
end

subgraph group_stack["Local observability stack"]
  node_prometheus[("Prometheus<br/>[prometheus.yml]")]
  node_grafana["Grafana<br/>[docker-compose.yml]"]
  node_provisioning["Grafana provisioning<br/>[dashboards.yml]"]
end

subgraph group_alerts["Alerting"]
  node_slack_config["Slack alert config"]
end

node_operator(("Operator"))
node_n8n["n8n metrics"]
node_slack["Slack"]

node_n8n -->|"exposes metrics to"| node_prometheus
node_prometheus -->|"provides metrics to"| node_grafana
node_provisioning -->|"provisions dashboards"| node_grafana
node_grafana -->|"displays"| node_webhook
node_grafana -->|"displays"| node_forms
node_grafana -->|"displays"| node_scheduler
node_grafana -->|"displays"| node_poll
node_grafana -->|"displays"| node_tasks
node_operator -->|"views dashboards"| node_grafana
node_slack_config -.->|"configures notifications"| node_slack
node_grafana -.->|"sends optional alerts"| node_slack

click node_webhook "https://github.com/n8n-io/n8n-observability/blob/main/dashboards/grafana/n8n-webhook-executions/n8n-webhook-executions.json"
click node_forms "https://github.com/n8n-io/n8n-observability/blob/main/dashboards/grafana/n8n-form-executions/n8n-form-executions.json"
click node_scheduler "https://github.com/n8n-io/n8n-observability/blob/main/dashboards/grafana/n8n-scheduler/n8n-scheduler.json"
click node_poll "https://github.com/n8n-io/n8n-observability/blob/main/dashboards/grafana/n8n-poll-triggers/n8n-poll-triggers.json"
click node_tasks "https://github.com/n8n-io/n8n-observability/blob/main/dashboards/grafana/n8n-system-tasks/n8n-system-tasks.json"
click node_prometheus "https://github.com/n8n-io/n8n-observability/blob/main/local-dev/prometheus/prometheus.yml"
click node_grafana "https://github.com/n8n-io/n8n-observability/blob/main/local-dev/docker-compose.yml"
click node_provisioning "https://github.com/n8n-io/n8n-observability/blob/main/local-dev/grafana/provisioning/dashboards/dashboards.yml"
click node_slack_config "https://github.com/n8n-io/n8n-observability/blob/main/local-dev/grafana/provisioning/alerting/contact_points.yaml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_webhook,node_forms,node_scheduler,node_poll,node_tasks toneBlue
class node_prometheus,node_grafana,node_provisioning toneAmber
class node_slack_config toneMint
class node_operator,node_n8n,node_slack toneIndigo
```

## Components

### Grafana dashboards

- [Webhook executions](https://github.com/n8n-io/n8n-observability/blob/main/dashboards/grafana/n8n-webhook-executions/n8n-webhook-executions.json): `dashboards/grafana/n8n-webhook-executions/n8n-webhook-executions.json`
- [Form executions](https://github.com/n8n-io/n8n-observability/blob/main/dashboards/grafana/n8n-form-executions/n8n-form-executions.json): `dashboards/grafana/n8n-form-executions/n8n-form-executions.json`
- [Durable scheduler](https://github.com/n8n-io/n8n-observability/blob/main/dashboards/grafana/n8n-scheduler/n8n-scheduler.json): `dashboards/grafana/n8n-scheduler/n8n-scheduler.json`
- [Poll triggers](https://github.com/n8n-io/n8n-observability/blob/main/dashboards/grafana/n8n-poll-triggers/n8n-poll-triggers.json): `dashboards/grafana/n8n-poll-triggers/n8n-poll-triggers.json`
- [System tasks](https://github.com/n8n-io/n8n-observability/blob/main/dashboards/grafana/n8n-system-tasks/n8n-system-tasks.json): `dashboards/grafana/n8n-system-tasks/n8n-system-tasks.json`

### Local observability stack

- [Prometheus](https://github.com/n8n-io/n8n-observability/blob/main/local-dev/prometheus/prometheus.yml): `local-dev/prometheus/prometheus.yml`
- [Grafana](https://github.com/n8n-io/n8n-observability/blob/main/local-dev/docker-compose.yml): `local-dev/docker-compose.yml`
- [Grafana provisioning](https://github.com/n8n-io/n8n-observability/blob/main/local-dev/grafana/provisioning/dashboards/dashboards.yml): `local-dev/grafana/provisioning/dashboards/dashboards.yml`

### Alerting

- [Slack alert config](https://github.com/n8n-io/n8n-observability/blob/main/local-dev/grafana/provisioning/alerting/contact_points.yaml): `local-dev/grafana/provisioning/alerting/contact_points.yaml`

### Other components

- **Operator**
- **n8n metrics**
- **Slack**

## Connections

- n8n metrics → Prometheus: exposes metrics to (evidence: `README.md`)
- Prometheus → Grafana: provides metrics to (evidence: `README.md`)
- Grafana provisioning → Grafana: provisions dashboards (evidence: `README.md`)
- Grafana → Webhook executions: displays (evidence: `README.md`)
- Grafana → Form executions: displays (evidence: `README.md`)
- Grafana → Durable scheduler: displays (evidence: `README.md`)
- Grafana → Poll triggers: displays (evidence: `README.md`)
- Grafana → System tasks: displays (evidence: `README.md`)
- Operator → Grafana: views dashboards (evidence: `README.md`)
- Slack alert config → Slack: configures notifications (evidence: `README.md`)
- Grafana → Slack: sends optional alerts (evidence: `README.md`)
