Stacklenzz
v1.1.0
LIVE TRACETracking Express & NestJS in real-time ⚡

Effortless Observability,
Zero Boilerplate.

A production-grade instrumentation toolkit providing Express, NestJS, Fastify & Koa telemetry, Prometheus metrics, structured Winston JSON logs, and mountable React & Next.js admin dashboards.

Telemetry Stream
EXPRESS200 OKGET /api/v1/telemetry/stats
npx stacklenzz dashboard -y

The Stacklenzz Ecosystem

Everything you need for backend instrumentation, dashboard rendering, AI context, and tooling.

@stacklenzz/server

Plug-and-play middleware for Express, NestJS, Fastify, & Koa. Prometheus /metrics, Winston logs, OTEL traces, Slack/Discord alerts, and SLOs.

  • Express & NestJS 1-line setup
  • Fastify & Koa adapters
  • Zero-cost Webhook Alerts & SLOs
SDK Documentation

@stacklenzz/ui

Embeddable React dashboard with Trace Waterfall UI, SLO & Error Budget Cards, Background Job Monitoring, and 6 runtime color themes.

  • Trace Waterfall & SLO Cards
  • Jobs & Queue Monitoring
  • 6 Theme Switchers
UI Component Docs

@stacklenzz/mcp

Agentic AI integration via Model Context Protocol (MCP). Connect Cursor, Windsurf, or Claude Desktop to your live backend telemetry.

  • Live telemetry queries for AI
  • Crash log & stack trace analysis
  • Cursor & Claude Desktop ready
MCP Integration Docs

@stacklenzz/cli

Command-line companion for developer happiness. Auto-detects Next.js App/Pages router and scaffolds dashboard routes with 1 command.

  • stacklenzz dashboard - Auto-scaffold
  • stacklenzz doctor - Health check
  • Zero extra configuration required
CLI Reference
server.ts
listening :5000
import express from "express";
import { setupObservability, addBreadcrumb } from "@stacklenzz/server";

const app = express();

// 1. One line adds Prometheus metrics, OTEL tracing, Winston logs & stats API
setupObservability(app, {
  serviceName: "payment-service",
  environment: "production",
});

// 2. Track custom business breadcrumbs on any route
app.post("/api/checkout", async (req, res) => {
  addBreadcrumb({ category: "billing", message: "Processing card payment" });
  res.json({ status: "confirmed" });
});

app.listen(5000, () => console.log("🚀 Server running on port 5000"));

Ready to monitor your application?

Browse the interactive documentation for copy-paste examples, CLI commands, and complete SDK reference.

Stacklenzz • Apache 2.0 Licensed • Built with Node.js & React