Gathering detailed insights and metrics for @elastic/opentelemetry-node
Gathering detailed insights and metrics for @elastic/opentelemetry-node
Gathering detailed insights and metrics for @elastic/opentelemetry-node
Gathering detailed insights and metrics for @elastic/opentelemetry-node
npm install @elastic/opentelemetry-node
Typescript
Module System
Min. Node Version
Node Version
NPM Version
52.7
Supply Chain
66
Quality
87.5
Maintenance
100
Vulnerability
86.9
License
@elastic/opentelemetry-node 1.0.0
Updated on Apr 01, 2025
@elastic/opentelemetry-instrumentation-openai 0.5.0
Updated on Apr 01, 2025
@elastic/mockotlpserver 0.8.0
Updated on Apr 01, 2025
@elastic/mockotlpserver 0.7.0
Updated on Mar 04, 2025
@elastic/mockotlpserver 0.6.3
Updated on Feb 11, 2025
@elastic/opentelemetry-node 0.7.0
Updated on Feb 11, 2025
JavaScript (87.2%)
TypeScript (6.86%)
Shell (3.04%)
HTML (2.12%)
Dockerfile (0.64%)
Makefile (0.09%)
CSS (0.05%)
Total Downloads
14,264
Last Day
20
Last Week
1,817
Last Month
5,487
Last Year
14,195
Apache-2.0 License
11 Stars
595 Commits
7 Forks
7 Watchers
14 Branches
2,113 Contributors
Updated on May 28, 2025
Latest Version
1.0.0
Package Id
@elastic/opentelemetry-node@1.0.0
Unpacked Size
99.20 kB
Size
27.03 kB
File Count
26
NPM Version
10.5.0
Node Version
18.20.2
Published on
Apr 01, 2025
Cumulative downloads
Total Downloads
59
34
The Elastic Distribution of OpenTelemetry Node.js (EDOT Node.js) is a lightweight wrapper around the OpenTelemetry SDK for Node.js that makes it easy to get started using OpenTelemetry in your Node.js applications, especially if you are using Elastic Observability as your observability solution.
1# Install it 2npm install --save @elastic/opentelemetry-node 3 4# Configure it 5export OTEL_EXPORTER_OTLP_ENDPOINT="...your-OTLP/collector-endpoint..." 6export OTEL_EXPORTER_OTLP_HEADERS="Authorization=..." 7export OTEL_SERVICE_NAME="my-app" 8 9# Start it with your application 10node --import @elastic/opentelemetry-node my-app.js
See the EDOT Node.js docs for details. Some direct links:
EDOT Node.js is very similar to the @opentelemetry/auto-instrumentations-node
package from OpenTelemetry in its usage goal: a single-dependency that provides a simple path to zero-code instrumentation of Node.js applications. In general, Elastic's goal is to contribute all SDK improvements upstream. That said, there are sometimes differences that are specific to Elastic (e.g. talking to an Elastic service for central configuration, Elastic-authored additional instrumentations). Here is a concise list of differences:
@elastic/opentelemetry-instrumentation-openai
instrumentation for the OpenAI Node.js client library.telemetry.distro.*
resource attributes to identify itself.@opentelemetry/auto-instrumentations-node
: a subset of metrics from @opentelemetry/host-metrics
and the metrics from @opentelemetry/instrumentation-runtime-node
.OTEL_SEMCONV_STABILITY_OPT_IN=http
such that telemetry from the @opentelemetry/instrumentation-http
package will use stable HTTP semantic conventions by default. Upstream OpenTelemetry JS currently has a PR that will change to the same behavior soon.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=delta
, which differs from the upstream OpenTelemetry JS default of cumulative
.createAddHookMessageChannel
feature for improved ESM support. We hope to upstream support for this.No vulnerabilities found.
No security vulnerabilities found.
Last Day
66.7%
20
Compared to previous day
Last Week
3.4%
1,817
Compared to previous week
Last Month
195.2%
5,487
Compared to previous month
Last Year
20,472.5%
14,195
Compared to previous year