Dashboard: progressive drill-down with RED metrics #94
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Redesign the Dashboard tab as a progressive drill-down dashboard following the RED method (Rate, Errors, Duration) plus SLO compliance. The sidebar drives scope through three levels of detail. Dashboard focuses purely on transaction health — binary/infrastructure health stays on the Runtime tab.
Design Decisions
app_settingstable.Scope Levels
KPIs
Core 4 (every level, scoped to selection)
Each card shows: value, trend vs previous 24h, sparkline (12 buckets).
Level-specific 5th KPI
Level 1: All Applications
Level 2: Single Application
Level 3: Single Route
New Backend Endpoints
GET /search/stats/timeseries/by-appstats_1m_appviewGET /search/stats/timeseries/by-route?application=Xstats_1m_routeviewGET /search/errors/top?application&routeId&limit=5executions/processor_executionstablesGET /admin/app-settings(CRUD)app_settingstableModified Endpoints
GET /search/statsslaCompliancefield toExecutionStatsresponseGET /routes/metricsslaCompliancefield toRouteMetricsresponseNew Database
V12 migration —
app_settingstable:SLA Compliance Calculation
Exact count from raw
executionshypertable (not approximated from P99):Error Velocity Calculation
Compare 5-minute sliding windows:
recent_5mvsprev_5merror count per error type.Implementation Phases
latencyHeatmapprop on ProcessDiagram componentDesign Spec
Full spec with ASCII wireframes:
docs/superpowers/specs/2026-03-29-dashboard-design.md