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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@aethyrion/observatory-cli

v0.1.0

Published

CLI tool for Observatory - self-hosted observability platform

Downloads

16

Readme

@aethyrion/observatory-cli

🔭 CLI tool for Observatory - self-hosted observability platform

Features

  • 🚀 Quick instrumentation of Node.js applications
  • 🔍 Auto-detects frameworks (Next.js, Express, NestJS, etc.)
  • 📦 Zero-config OpenTelemetry setup
  • 🆓 100% free and open source
  • 🔒 Self-hosted - your data stays with you

Installation

# Run without installing (recommended)
npx @aethyrion/observatory-cli instrument

# Or install globally
npm install -g @aethyrion/observatory-cli

Usage

Instrument Your Application

Automatically instrument your Node.js application with OpenTelemetry:

# Auto-detect framework and instrument
npx @aethyrion/observatory-cli instrument

# Specify framework explicitly
npx @aethyrion/observatory-cli instrument --framework nextjs

# Custom Observatory URL
npx @aethyrion/observatory-cli instrument --url http://192.168.1.100:3102

# Custom service name
npx @aethyrion/observatory-cli instrument --service my-awesome-app

Check Observatory Status

npx @aethyrion/observatory-cli status

# Check remote Observatory instance
npx @aethyrion/observatory-cli status --url http://192.168.1.100:3101

Supported Frameworks

  • ✅ Next.js
  • ✅ Express.js
  • ✅ NestJS
  • ✅ Fastify
  • ✅ Koa
  • ✅ Generic Node.js

What Gets Instrumented?

The CLI automatically instruments:

  • 📝 HTTP requests - Request/response tracking
  • 🗄️ Database queries - PostgreSQL, MySQL, MongoDB, etc.
  • 🌐 External API calls - Fetch, axios, http/https
  • Performance metrics - CPU, memory, event loop
  • 🔍 Distributed tracing - Full request flow across services

Requirements

How It Works

  1. Detects your framework from package.json
  2. Installs OpenTelemetry packages as dev dependencies
  3. Creates instrumentation configuration files
  4. Tests connection to Observatory backend
  5. Done! Start your app and see telemetry in Observatory

Example Output

🔭 Observatory Instrumentation Tool

✔ Detecting framework... Detected: Next.js
? Instrument Next.js application? Yes
✔ Installing OpenTelemetry packages...
✔ Creating configuration files...
✔ Testing connection to Observatory... Connected to Observatory!

✅ Instrumentation complete!

Next steps:
  1. Start your app: npm run dev
  2. Open Observatory: http://localhost:3101
  3. Check the services list!

Part of the Aethyrion Ecosystem

Observatory is part of the Aethyrion suite of free, open-source developer tools:

  • 🔭 Observatory - Observability platform (replaces Datadog/New Relic)
  • 🎨 Helix - AI-powered code generation
  • 💎 Prism - ServiceNow development tools

Documentation

License

MIT © Owen


Made with ❤️ to make observability accessible to everyone