@psyqueue/dashboard
v0.1.0
Published
> Web-based monitoring dashboard for PsyQueue. View queues, jobs, and system health.
Readme
@psyqueue/dashboard
Web-based monitoring dashboard for PsyQueue. View queues, jobs, and system health.
Installation
npm install @psyqueue/dashboardUsage
import { dashboard } from '@psyqueue/dashboard'
q.use(dashboard({
port: 3001,
auth: { type: 'bearer', credentials: 'my-secret' },
}))
await q.start()
// Dashboard at http://localhost:3001Configuration
| Option | Type | Default | Description |
|--------|------|---------|-------------|
| port | number | - | HTTP server port |
| auth.type | 'basic' \| 'bearer' | - | Authentication type |
| auth.credentials | string | - | Secret token or user:password |
Depends on: backend
Exports
dashboard(opts?)-- Plugin factorycreateDashboardServer(opts)-- Standalone server factory
Documentation
See Observability Plugins for detailed usage.
License
MIT
