Current stable version 1.12.3. Real-time server monitoring and debug toolbar for AdonisJS v6/v7 applications, inspired by Laravel Telescope. Provides live CPU, memory, requests/sec, database pool, Redis, queue, and log stats via a single Edge component (`@serverStats()`). Includes a full debug toolbar with SQL query inspection, event tracing, route listing, log tailing, and custom panels. Ships TypeScript types and integrates with Lucid ORM, Redis, BullMQ, and Edge templates. Zero frontend dependencies; also offers alpha React/Vue components for Inertia.js. Peer dependencies span multiple major versions (e.g., @adonisjs/core ^6.0.0 || ^7.0.0).
npm install adonisjs-server-statsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic setup: install via Ace, configure in config file, and render toolbar in Edge layout.
Use 'adonisjs-server-stats/configure' for configure imports.
Remove the collector option and rely on the database config block.
Set AUTHORIZED_IPS=your-ip in .env or add to config/server-stats.ts authorization array.
Ensure your database driver (e.g., better-sqlite3) is installed and configured in config/database.ts.
Run `node ace add adonisjs-server-stats` to install peer deps automatically.
Register the middleware in start/kernel.ts: import serverStatsMiddleware from 'adonisjs-server-stats/edge'; and add it to server middleware stack.
Change import to `import { configure } from 'adonisjs-server-stats/configure'`.