Awesome Open Source
Awesome Open Source

Elastic APM Node.js Agent

This is the official Node.js agent for Elastic APM.

If you have any feedback or questions, please post them on the Discuss forum.

npm Build Status


npm install elastic-apm-node --save

Quick start

  1. To run Elastic APM for your own applications, make sure you have the prerequisites in place first. This agent is compatible with APM Server v6.5 and above. For support for previous releases of the APM Server, use version 1.x of the agent. For details see Getting Started with Elastic APM

  2. Now follow the documentation links below relevant to your framework or stack to get set up



Contributions are welcome, but we recommend that you take a moment and read our contribution guide first.

To see what data is being sent to the APM Server, use the environment variable ELASTIC_APM_PAYLOAD_LOG_FILE (or the config option payloadLogFile) to specify a log file, e.g:


Please see for instructions on how to run the test suite.



Made with and by Elastic and our community.

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,091,615
Elastic (3,999
Tracing (3,585
Apm (1,061
Fastify (803
Opentracing (713
Restify (561
Performance Metrics (429
Distributed Tracing (325
Performance Monitoring (313
Error Monitoring (190