How can I monitoring n8n with datadog apm or elastic apm for observability?

Hi n8n Community,

I’m looking to improve observability for my n8n workflows by integrating either Datadog APM or Elastic APM. My goal is to monitor performance, trace workflow executions, and set up alerts for potential issues.

  • Has anyone successfully integrated n8n with Datadog APM or Elastic APM?
  • If so, could you share any guidance or best practices for setting up this integration?
  • Are there any specific configurations or challenges I should be aware of when using these APM tools with n8n?

Any advice, code snippets, or documentation references would be greatly appreciated!

Thank you in advance for your help!

  • **n8n EXECUTIONS_PROCESS setting (default: own, main): queue mode
  • Running n8n via docker EKS

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Ehab.Kashef,

Welcome to the community :cake:

The quickest option tends to be using the log streaming feature to send the data to your service of choice then setting up any rules you are after.

On my home setup of n8n I have got as far as implementing Grafana and Prometheus using the /metrics endpoint and next up on my list is looking at using the log streaming data or the n8nEventLog file to see what I can do with that.

At the moment though there are no specific guides so it would be a case of trying different things to see what works for you.