Skip to content

Beacon Node.js 1.1.0

Choose a tag to compare

@lrwh lrwh released this 28 Sep 15:02
· 83 commits to main since this release
94781dc

Beacon Node.js 1.1.0

Beacon Node.js 1.1.0 introduces the public zero-code product package and updates the matching profiler component.

Highlights

  • Added @beacon-observability/nodejs, a zero-code OpenTelemetry auto-instrumentation package for Node.js.
  • Added the @beacon-observability/nodejs/register preload entry point for unchanged applications.
  • Added optional environment-configured wall and heap profiling through @beacon-observability/profiler-nodejs.
  • Added runtime compatibility for Node.js 18.19, 20, 22, and 24, including a CPED fallback for Node.js 18 and 20.
  • Added semantic release validation for OTLP traces and compatible multipart pprof payloads.

Install

npm install @beacon-observability/nodejs@1.1.0

Run an unchanged application with zero-code injection:

NODE_OPTIONS="--require @beacon-observability/nodejs/register" \
OTEL_SERVICE_NAME="my-node-service" \
OTEL_EXPORTER_OTLP_ENDPOINT="http://127.0.0.1:4317" \
OTEL_EXPORTER_OTLP_PROTOCOL="grpc" \
node app.js

Published packages

Verification

  • Release source commit: 94781dcee7f25e3cec5648cd211066af17cb0db9
  • Accepted package build commit: 9e4fb230d1b37824d9087d1de14f15064ef57bfc
  • Node.js 18.19, 20, 22, and 24 CI
  • Public npm installation verified in a clean temporary application.
  • Zero-code verification produced one semantic OTLP trace request and three compatible multipart profile requests from an application with no OpenTelemetry or Beacon imports.

Package digests:

Package SHA-1 SHA-512
@beacon-observability/nodejs@1.1.0 863958385e34e637096f9f07de7111a28e154b60 53e17bdfde1fc310380606ca0de07b4d782c13553ce7f6ffccae618138aca5558e3959d95025173e612f7cd2969e6a631ddeb83dbfeab4bb3857755da4d5a0ef
@beacon-observability/profiler-nodejs@1.1.0 c0fc317536ebf5ff497a09e86ed526080848fb76 432db99d9edcb10009875a0e4beb4d6aa9ce730295bfb8704647d09d426d56296d8873b509ca55898210879d3c51fbc7b0f2ad1af2dae8430b724d0542f14934

Scope

Only the Beacon-owned product and profiler packages are published. Inherited @opentelemetry/* workspaces retain their upstream identities and release lifecycle.