@tunnlo/dashboard
v0.1.2
Published
Web dashboard for Tunnlo pipeline monitoring
Maintainers
Readme
@tunnlo/dashboard
Web dashboard for monitoring Tunnlo pipeline metrics in real time.
Part of the Tunnlo project -- a real-time data-to-agent bridge with intelligent filtering.
Installation
npm install @tunnlo/dashboardUsage
import { DashboardServer, MetricsCollector } from '@tunnlo/dashboard';
const metrics = new MetricsCollector();
const dashboard = new DashboardServer({ port: 4400, metrics });
await dashboard.start();
// Dashboard available at http://localhost:4400The dashboard is automatically enabled when using the CLI with a pipeline config. It runs on port 4400 by default.
API
DashboardServer-- HTTP server that serves the monitoring UI and metrics APIMetricsCollector-- collects and exposes pipeline metrics
Metric Types
PipelineMetrics-- overall pipeline throughput and statusAdapterMetrics-- per-adapter event counts and healthFilterMetrics-- per-filter pass/drop/buffer statisticsRecentEvent-- recent event log entriesErrorEntry-- recent error recordsLlmResponseEntry-- recent LLM response records
License
MIT
