
n8n released native OpenTelemetry support starting in version 2.22.0, bringing production-grade observability to self-hosted workflow automation. By setting two environment variables, teams can route workflow and node execution traces to any OTEL-compatible backend, including Grafana, Datadog, Honeycomb, New Relic, and Jaeger. The feature puts n8n executions inside the same distributed tracing stack engineers already use for production services.
Why workflows need traces
Workflows no longer sit at the edge of operations. They process payments, route support tickets, sync CRM data, and orchestrate AI agents across critical systems. When a step fails or runs slow, the question stops being "which node broke" and becomes "where in the entire request path did latency creep in."
n8n's existing execution view handles single-workflow debugging, but it isolates failures. If a webhook from an application triggers an n8n workflow that calls three downstream APIs and one of them times out, an engineer looking at Datadog sees no trace of n8n in the chain. OpenTelemetry closes that gap.
Each workflow execution now emits a root span carrying status, duration, and error metadata. Teams can optionally enable child spans for every node, surfacing exactly which step slowed down or threw an error. Because the implementation uses the OTLP standard, there is no vendor lock-in and no sidecar to maintain.

What it looks like in practice
Consider a fintech using n8n to orchestrate payment reconciliation. A customer reports a twenty-minute refund delay. The on-call engineer pulls up the trace in Datadog and sees the full path: API gateway to payments service, into the n8n workflow that fans out to a fraud check, the ledger, and a notification step, then on to the downstream banking API.
The slow span surfaces immediately. A third-party fraud-check call timed out and retried twice. The engineer knows the exact node, workflow, instance, and input data without toggling between tools or reconstructing the sequence from logs.
The same pattern applies to debugging distributed systems with multiple subworkflows. Engineers can audit latency across nested workflows in a single trace view and correlate downstream service behavior with the workflow step that triggered it.
Setup and compatibility
Enabling tracing requires setting two environment variables on a self-hosted n8n instance. Point OTEL_EXPORTER_OTLP_ENDPOINT at the collector or backend, and optionally configure headers for authentication. n8n starts sending traces immediately, no code changes required.
The feature works with any OTEL-compatible backend. Teams running Tempo, Jaeger, or commercial platforms like Grafana Cloud and Datadog can ingest n8n traces alongside application telemetry. Because the implementation is built on the OpenTelemetry standard, switching backends later requires only updating the endpoint URL.
n8n published detailed documentation covering setup, configuration options, and example trace views. The blog post also outlines how to tune span granularity depending on whether teams need workflow-level visibility or per-node debugging.
This follows n8n's broader push into production-grade tooling for technical teams, including recent AI-powered workflow templates and integration guides for GDPR-compliant AI document processing.
Sources
1 checkedHow we cover tool news: Create With's tool desk drafts these reports with AI from the sources listed above and checks them against those sources before publishing.







