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

@adea-ai/telemetry

v1.3.0

Published

Fail-open observability toolkit: structured logging, secret redaction, trace-context propagation, deterministic sampling, and pluggable OpenTelemetry, Sentry, and LangSmith adapters.

Readme

@control-plane/telemetry

Fail-open observability toolkit: structured logging, secret redaction, trace-context propagation, deterministic sampling, and pluggable adapters for OpenTelemetry, Sentry, and LangSmith.

The root export is dependency-free. Provider integrations are optional peer dependencies exposed as subpath exports, so you only pay for what you import.

Install

bun add @adea-ai/telemetry

Usage

import { createTelemetry, createStructuredLogger, jsonLogger } from '@adea-ai/telemetry'

const telemetry = createTelemetry({ serviceName: 'my-service' })

const span = telemetry.startSpan('service.handleRequest', identifiers)
span.end({ status: 'ok' })

telemetry.log('warn', 'cache.miss', identifiers, { key })

Provider adapters (optional peers)

// Requires @opentelemetry/api (optional peer):
import {
  createOpenTelemetryMetricAdapter,
  createOpenTelemetryTraceAdapter,
} from '@adea-ai/telemetry/opentelemetry'

// Requires @sentry/node (optional peer; dynamically imported when enabled):
import { createSentryErrorTracker } from '@adea-ai/telemetry/sentry'

What's inside

  • Structured loggingcreateStructuredLogger / jsonLogger emit redacted JSON lines to stdout/stderr.
  • RedactionredactTelemetryValue scrubs sensitive keys, bearer tokens, GitHub/AWS/Slack/Stripe/Google credentials, URL credentials, and PEM blocks from arbitrary values; redactDiagnostics applies substring-based key matching with an explicit allowlist for diagnostics payloads.
  • Trace context — W3C-style traceparent extraction/injection for cross-service correlation.
  • SamplingcreateDeterministicSamplingPolicy for stable, hash-based span sampling.
  • Adapters — OpenTelemetry metrics/traces, Sentry error tracking, and a LangSmith trace adapter (port-injected, dependency-free).
  • Catalog (@adea-ai/telemetry/catalog) — the Control Plane's canonical execution-trace span names, operational metric names, and diagnostic queries.

Observability is deliberately non-authoritative: every adapter call is fail-open and cannot change execution results.

License

Apache-2.0