Skip to content

Titch990/apm-agent-nodejs

 
 

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 Standard - JavaScript Style Guide

Installation

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

Documentation

Contributing

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 speicfy a log file, e.g:

ELASTIC_APM_PAYLOAD_LOG_FILE=/tmp/payload.ndjson

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

License

BSD-2-Clause


Made with ♥️ and ☕️ by Elastic and our community.

Packages

No packages published

Languages

  • JavaScript 96.3%
  • Shell 1.5%
  • Groovy 0.7%
  • TypeScript 0.6%
  • Python 0.4%
  • PowerShell 0.4%
  • Dockerfile 0.1%