Elestia Open Source Ratings
4.8

Elastic APM agent

Keep, but not for new work. 8th of 8 error tracking and monitoring SDKs.

elastic-apm-node is Elastic's classic Node.js agent. It sends traces, errors and metrics to Elastic APM. It still works and still gets releases, but Elastic now points users to its OpenTelemetry distribution, EDOT Node.js, and says the classic agents will be retired one day. For a new project, use EDOT Node.js or plain OpenTelemetry, and keep this agent only where it already runs.

Best for: Teams that already send data to Elastic APM through this agent and need its central configuration or support for older Node versions.

WebsiteGitHubnpm

Scores

Overall4.8

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

It is a working, supported agent, but its own vendor is moving users to EDOT Node.js and OpenTelemetry. It is tied to Elastic and loses share to Sentry, OpenTelemetry and Datadog. Keep it where it already runs. For new Elastic projects, choose EDOT Node.js unless you need central configuration or an old Node version.

GPT-6.2 Sol: 5.5, likely 4.4 to 6.7

A CommonJS service joining an existing Elastic APM setup gets useful monitoring with little application code. For new projects, OpenTelemetry JS offers more backend flexibility, and Sentry covers a wider set of runtimes for error tracking. Experimental ESM instrumentation, slow releases, and Elastic's shift toward EDOT make the agent's longer-term value depend heavily on the team's existing setup.

Needed by many3.9

How many developers need a tool for this job?

Claude Opus 5.5: 3.5, likely 2.5 to 5.0

Most backend teams need some monitoring, but this agent only serves teams that send data to Elastic APM. It also covers only server-side Node.js, not the browser. That makes it a clear niche inside a broad category.

GPT-6.2 Sol: 4.2, likely 3.1 to 5.4

Production monitoring is a common need, and the agent covers several widely used Node.js frameworks and database clients. Its practical audience is narrower because this package serves Node.js backends that send data to Elastic APM. The available surveys give context on observability use across organizations, with little detail on how many JavaScript and TypeScript teams run that stack.

Helps a lot6.4

How well does it do the job for those who need it?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

It is a mature agent with broad automatic instrumentation, error capture, metrics, central configuration, span compression, an OpenTelemetry bridge, and TypeScript types. Version 4.18 updated the bridge to OTel SDK 2.x and recent releases added support for Express v5 and MongoDB v7. Its proprietary API and its tie to Elastic make it weaker than OpenTelemetry-based tools. Older forum threads report CPU overhead and memory leaks under load.

GPT-6.2 Sol: 6.7, likely 5.6 to 7.8

Version 4.18.0 covers all three monitoring signals and provides bundled TypeScript declarations, setup examples, and sampling controls. Auto-instrumentation depends on startup order, and native ESM has limited coverage and a reported loader bug. The examples help coding agents use the API, but there is little direct evidence on generated-code reliability or runtime overhead for this release.

Holds up over time4.5

Will it still be a good choice in two years?

Claude Opus 5.5: 4.0, likely 3.0 to 5.5

Elastic pays for the work and still commits (228 commits in the last year), but there were only two releases, and one release failed. Elastic staff say the classic agents will be sunset, and the docs recommend EDOT Node.js, which is now generally available. The ecosystem is moving away from this package.

GPT-6.2 Sol: 4.9, likely 3.6 to 6.3

Elastic still supports the 4.x line, and the repository recorded 228 commits in the past year. Only two stable releases shipped, the latest in July, and some compatibility reports have stayed open for months. Elastic directs migrations to its OpenTelemetry distribution, which makes the pace of future improvements to this agent harder to predict.

Used widely3.6

How many use it, and is that growing?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

It has about 2.3M downloads every 4 weeks, but its year-on-year ratio of 1.5 is far below the median of 4.1, so it is losing ground. It has 712 dependent repos and 594 stars, near the bottom of its peers. There are no Hacker News or Bluesky mentions.

  • npm downloadsLast4Weeks: 2.30M now against 1.53M a year ago, a ratio of 1.5.
  • medianDownloadsRatio: The median ratio is 4.1, so this package is losing share.
  • bluesky posts: Zero posts.

GPT-6.2 Sol: 3.2, likely 2.1 to 4.5

The tracker found 712 dependent repositories and 163 npm packages, fewer repositories than most peers. Four-week downloads reached 2.30 million, or 1.51 times the year-earlier count, well below the 4.1 catalog median and the slowest growth ratio among these peers. Automated installs and incomplete repository coverage leave the number of projects that directly chose the agent uncertain.

  • dependents repos, packages: 712 tracked repositories and 163 tracked packages.
  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo: 2,304,708 downloads versus 1,526,642 a year earlier.
  • medianDownloadsRatio: The agent's 1.51 ratio trails the 4.1 catalog benchmark.
  • peers dependentRepos, downloadsLast4Weeks, downloadsSame4WeeksYearAgo: Six of seven peers have more tracked repositories, and all seven grew faster.
  • github stars, hackerNews stories, bluesky posts: 594 stars and no matched Hacker News stories or Bluesky posts.
Vouched for4.6

Who stands behind it being good?

Claude Opus 5.5: 4.0, likely 2.5 to 5.5

The main backing is Elastic, a single vendor, together with its paying customers. I found no current independent benchmarks or survey data. Elastic now recommends its own OpenTelemetry distribution over this agent.

GPT-6.2 Sol: 5.2, likely 3.8 to 6.7

OpenSearch Dashboards ships and initializes the agent, and NestJS documents where it works and where it needs manual instrumentation. An independent 2025 benchmark that included Node.js found lower aggregate microservice throughput with Elastic APM than with OpenTelemetry. Those sources give a concrete deployment and a measured trade-off, with limited production and satisfaction evidence for version 4.18.0.

Safe7.2

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

OSV lists no advisories, the licence is a permissive BSD-2-Clause, and releases use npm trusted publishing since 4.14.0. Its 37 dependencies make a fairly large attack surface. There is no Scorecard data.

GPT-6.2 Sol: 7.4, likely 6.1 to 8.5

OSV lists zero advisories for the package, and its BSD-2-Clause license permits commercial use. A tagged GitHub Actions workflow publishes to npm with provenance enabled in the package configuration. The 37 direct dependencies increase exposure, and the missing Scorecard and unverified publisher count limit confidence in the release controls.

Good

  • Mature automatic instrumentation for Express v5, MongoDB, the AWS SDK, Lambda and many other Node libraries.
  • Supports central configuration and span compression, which EDOT Node.js still lacks.
  • Runs on much older Node versions (>=14.17) than EDOT Node.js (>=22.15).
  • No known advisories, a permissive BSD-2-Clause licence, and npm trusted publishing since 4.14.0.

Bad

  • Elastic has said the non-OpenTelemetry agents will be retired eventually, and its docs steer users to EDOT Node.js.
  • It only reports to an Elastic APM backend, so you are tied to one vendor.
  • Only two releases in the past year, and downloads grow far more slowly than the category median.
  • It pulls in 37 dependencies, and users have reported CPU and memory overhead under heavy load.

The numbers

npm downloads, 4 weeks
2.3M +51% in a year
GitHub stars
594
Commits, 12 months
228
npm version
4.18.0 Jul 2026
Versions, 12 months
2
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
BSD-2-Clause

Read on 21 November 2026 from GitHub (elastic/apm-agent-nodejs), npm (elastic-apm-node), OSV and the OpenSSF Scorecard.

Error tracking and monitoring SDKs

  1. 8.7Sentry SDK
  2. 8.2OpenTelemetry JS
  3. 7.5Datadog tracer
  4. 6.4New Relic agent
  5. 6.3Bugsnag SDK
  6. 5.6Honeybadger SDK
  7. 5.6Rollbar.js
  8. 4.8Elastic APM agent
Compare all 8 on six scores