-
-
Notifications
You must be signed in to change notification settings - Fork 8
Starter KPI views and a provisioned Grafana dashboard #304
Copy link
Copy link
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestready-for-agentPRD ready for agent implementationPRD ready for agent implementation
Description
Activity
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestready-for-agentPRD ready for agent implementationPRD ready for agent implementation
What to build
DC produces Records but nothing that turns them into the numbers an operations team reports on. This slice establishes the whole path — Records already in PostgreSQL, a set of SQL views over them, and a Grafana dashboard provisioned from those views in the demo stack — using only data that existing Measurements already emit.
Start with availability and uptime, which the
uptimeMeasurement already supports. The point of this slice is not the metric but the conventions: where view definitions live, how the dashboard is provisioned alongside the demo, and how a view is tested. Every later KPI slice adds panels and views to what this one creates.Metrics are computed in SQL, never on the robot. The time window is a query parameter, so changing a definition is a view change rather than a fleet redeploy.
Acceptance criteria
Blocked by
None - can start immediately