@inference-relay/dashboard
v0.1.0
Published
Bloomberg-style dashboard components for inference-relay
Maintainers
Readme
@inference-relay/dashboard
Bloomberg-style React dashboard components for inference-relay.
Components
- InferenceTicker — Live inference event stream
- HealthMatrix — Provider status grid
- CostDelta — Cost savings display
- FallbackTrace — Fallback cascade history
- ProviderChart — Call distribution bar chart
Hooks
- useRelayStats — Aggregate inference statistics
- useProviderHealth — Provider health polling
Install
npm install inference-relay @inference-relay/dashboardUsage
import { CostDelta, useRelayStats } from '@inference-relay/dashboard';
function Dashboard() {
// Point at your relay event source — typically an SSE endpoint that streams
// events from your inference-relay instance, or a polling URL.
const eventSource = new EventSource('/api/relay/events');
const stats = useRelayStats(eventSource);
return <CostDelta totalSaved={stats.costSaved} period="month" />;
}Links
(c) 2026 L2B II LLC. Proprietary.
