# Elastic APM agent: 4.8 out of 10

Keep, but not for new work. 8th of 8 in [Error tracking and monitoring SDKs](https://elestia.ai/opensource/observability/index.md).

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.

## Scores

- **Overall: 4.8** (likely 3.7 to 5.9)
  - Claude Opus 5.5 (4.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): 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 many: 3.9** (likely 2.8 to 5.2)
  - Claude Opus 5.5 (3.5): 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): 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 lot: 6.4** (likely 5.3 to 7.4)
  - Claude Opus 5.5 (6.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): 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 time: 4.5** (likely 3.3 to 5.9)
  - Claude Opus 5.5 (4.0): 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): 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 widely: 3.6** (likely 2.6 to 4.8)
  - Claude Opus 5.5 (4.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.
  - GPT-6.2 Sol (3.2): 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.
- **Vouched for: 4.6** (likely 3.2 to 6.1)
  - Claude Opus 5.5 (4.0): 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): 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.
- **Safe: 7.2** (likely 6.1 to 8.3)
  - Claude Opus 5.5 (7.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): 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

- Downloads, 4 weeks: 2.3M
- In a year: +51%
- GitHub stars: 594
- Commits, 12 months: 228
- Last npm release: Jul 2026
- Advisories, 24 months: 0
- Licence: BSD-2-Clause
- GitHub: https://github.com/elastic/apm-agent-nodejs
- npm: https://www.npmjs.com/package/elastic-apm-node

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
