EDOT Node.js

The Elastic Distribution of OpenTelemetry Node.js (EDOT Node.js) is a light wrapper around the OpenTelemetry SDK for Node.js, preconfigured for the best experience with Elastic Observability. This SDK is fully compatible with the upstream OpenTelemetry SDK and can be used as a drop-in replacement for it. In addition, it provides extra features, such as:

  • A single package that includes several OpenTelemetry packages as dependencies, so you only need to install and update a single package (for most use cases). This is similar to OpenTelemetry’s @opentelemetry/auto-instrumentations-node package.
  • The @elastic/opentelemetry-instrumentation-openai instrumentation for monitoring usage of the OpenAI Node.js client library.
  • Additional metrics are collected by default: process.cpu.* and process.memory.* metrics from the host-metrics package and nodejs.* and v8js.* metrics from the instrumentation-runtime-node package.

Use EDOT Node.js with your Node.js application to automatically capture distributed tracing data, performance metrics, and logs. EDOT Node.js will automatically instrument popular modules used by your service, and send the data to your configured observability backend.

Follow the setup instructions to get started.


Table of contents