npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@open-pulseboard/tracer

v0.2.0

Published

PulseBoard auto-instrumenting Node.js tracer — thin OTel-JS shell with sensible defaults. `node -r @open-pulseboard/tracer/register app.js` and you're done.

Readme

@open-pulseboard/tracer

npm ci license: MIT

Auto-instrumenting OpenTelemetry tracer for Node.js, wired for PulseBoard. One install, one -r flag, no code change.

npm i @open-pulseboard/tracer
PULSE_API_KEY=sk_... node -r @open-pulseboard/tracer/register app.js

Within ~30s your service shows up in the PulseBoard service catalog with HTTP / DB / cache / queue spans flowing.


What you get

  • Distributed traces for every popular Node library that has an upstream OpenTelemetry instrumentation: http, https, undici, express, fastify, koa, hapi, nestjs-core, graphql, grpc, pg, mysql, mysql2, mongodb, mongoose, redis, ioredis, kafkajs, amqplib, aws-sdk, and more.
  • Resource attributes auto-detected for Docker, Kubernetes (downward API env vars), AWS (EC2, ECS, EKS, Lambda) and GCP Cloud Run.
  • OTLP/HTTP exporter wired to your PulseBoard tenant with Authorization: Bearer $PULSE_API_KEY.
  • Trace sampling, periodic metric export, batched span export — same defaults as the OpenTelemetry contrib distribution.
  • Graceful shutdown on SIGTERM / SIGINT / beforeExit so traces flush before the process exits.

This package is a thin shell over upstream @opentelemetry/sdk-node and @opentelemetry/auto-instrumentations-node. We do not fork the SDK; you get every patch and instrumentation the upstream community ships.


Configuration

Every setting is environment-driven. Programmatic overrides are also supported via start({...}).

| Variable | Default | Notes | | ---------------------------------- | ------------------------------- | --------------------------------------------------------------------------------- | | PULSE_URL | https://api.pulseboard.cloud | OTLP/HTTP base URL. /v1/traces, /v1/metrics are appended. | | PULSE_API_KEY | (none) | Sent as Authorization: Bearer …. Required in production. | | PULSE_SERVICE_NAME | npm_package_name or detected | Falls back to OTEL_SERVICE_NAME, AWS_LAMBDA_FUNCTION_NAME, K_SERVICE. | | PULSE_SERVICE_VERSION | npm_package_version | Falls back to OTEL_SERVICE_VERSION. | | PULSE_ENVIRONMENT | NODE_ENV | Becomes deployment.environment.name. | | PULSE_DISABLE_INSTRUMENTATION | (none) | CSV of short names — e.g. fs,dns. Full @opentelemetry/instrumentation-X ids ok. | | PULSE_SAMPLE_RATIO | 1 | Float in [0, 1]. Applied with a ParentBased(TraceIdRatio) sampler. | | PULSE_DISABLED | false | When 1/true, start() returns a no-op handle. | | PULSE_DEBUG | false | When 1/true, lifecycle messages to stderr. |

Programmatic use

const { start, shutdown } = require('@open-pulseboard/tracer');

const tracer = start({ serviceName: 'checkout', sampleRatio: 0.1 });

process.on('SIGTERM', () => shutdown());

Acceptance smoke

// smoke.js
require('http')
  .createServer((req, res) => res.end('ok'))
  .listen(3000, () => {
    require('http').get('http://localhost:3000', () => process.exit(0));
  });
PULSE_API_KEY=sk_... PULSE_DEBUG=1 \
  node -r @open-pulseboard/tracer/register smoke.js

You should see a [@open-pulseboard/tracer debug] tracer started → … line on stderr and the HTTP span in your PulseBoard tenant.


Scope (this release)

Shipped in 0.1:

  • Traces (OTLP/HTTP, BatchSpanProcessor)
  • Metrics export plumbing (no PulseBoard-specific exemplar wiring yet)
  • All upstream @opentelemetry/auto-instrumentations-node libraries
  • Container / k8s / AWS / GCP resource detection
  • register.js entry for node -r
  • Graceful shutdown

Explicitly not in 0.1:

  • Continuous CPU/heap profiler hook (planned with the agent-side profiler service)
  • Error / exception capture beyond what OTel spans already record
  • LLM request shape capture (planned)
  • Framework-specific extensions beyond the auto-instrumentations bundle (Next.js / tRPC / BullMQ extras land in a later slice)
  • Source-map upload helper for browser/RN — this package is server-only

Development

nvm use 20
npm ci
npm run build
npm test

Tests use Node's built-in node:test runner via tsx, so no extra framework dependency is needed at install time.

License

MIT — see LICENSE.