RootTrace

RootTrace / Integrations / Node.js APM

APM & OpenTelemetry

Node.js APM with zero runtime dependencies.

npm install, require, init. The wrapper aggregates metrics, transactions, errors, trace samples, and structured logs in memory and posts once per flush interval. Node 18+.

What RootTrace watches

Every reading is checked continuously; bad readings become grouped issues with the evidence attached. RootTrace also remembers whether it has seen the same incident before.

Warn and fail thresholds, prefilled

Sensible defaults out of the box, overridable per host with environment variables. No threshold spreadsheet required on day one.

Setup

node.js apm setup
$ npm install roottrace-apm
$ const roottrace = require("roottrace-apm")

Outbound HTTPS only: the wrapper aggregates in memory and posts to the API; nothing listens on your hosts and nothing touches production.

Zero-dependency and Apache-2.0 licensed: roottrace-apm on npmsource on GitHub.

Questions, answered honestly

Will it slow my event loop?

The wrapper aggregates in memory and posts one payload per flush interval. There is no per-request network call and no native addon.

Is this safe to run next to production?

The collector is read-only by architecture, not by policy: there is no write path, no remediation executor, and no privileged mode to switch on. It sends short-lived outbound HTTPS requests, opens no inbound ports, and redacts credential-like evidence before anything leaves the host.

Do I need a separate agent for this?

No. One RootTrace collector per host covers every integration on this site: databases, web servers, containers, endpoints, and the Linux host itself, all from one signed package or container. You point it at targets with environment variables; there is nothing else to deploy.

Free on 5 hosts. Live in minutes.

Create a workspace, install one collector, and watch issues explain themselves.