mirror of
https://github.com/BradGroux/veritas-kanban.git
synced 2026-10-09 13:17:52 +00:00
feat(dashboard): refresh metrics cards with real telemetry data
- Add cacheTokens tracking to backend metrics service - Add trend comparison (↑/↓) vs previous period for all metrics - Fix success rate color thresholds (green <10%, yellow 10-25%, red >25%) - Show cache tokens in Token Usage card when available - Add graceful 'no data' display when no runs recorded - Auto-refresh already at 30s via useMetrics hook - Update TokensDrillDown to show cache breakdown per agent US-1405
This commit is contained in:
parent
538e67fc49
commit
fdf5ff187d
3 changed files with 66 additions and 0 deletions
|
|
@ -1036,3 +1036,11 @@
|
|||
{"type":"task.status_changed","taskId":"task_20260128_PNPYo1","project":"veritas-kanban","status":"done","previousStatus":"in-progress","id":"evt_c4ps4FT6x136","timestamp":"2026-01-28T14:08:10.123Z"}
|
||||
{"type":"task.status_changed","taskId":"task_20260128_V0MVwS","project":"veritas-kanban","status":"in-progress","previousStatus":"todo","id":"evt_Im1OUzfDaHcm","timestamp":"2026-01-28T14:10:44.392Z"}
|
||||
{"type":"task.status_changed","taskId":"task_20260128_hul7-q","project":"veritas-kanban","status":"done","previousStatus":"in-progress","id":"evt_iQck1GWDFbr-","timestamp":"2026-01-28T14:11:00.382Z"}
|
||||
{"type":"task.status_changed","taskId":"task_20260128_efQBVi","project":"veritas-kanban","status":"done","previousStatus":"in-progress","id":"evt_8qbfBQGfsSFa","timestamp":"2026-01-28T14:11:55.058Z"}
|
||||
{"type":"task.archived","taskId":"task_20260128_hul7-q","project":"veritas-kanban","status":"done","id":"evt_-prc2QnoO2TN","timestamp":"2026-01-28T14:12:01.963Z"}
|
||||
{"type":"task.archived","taskId":"task_20260128_LRu85E","project":"veritas-kanban","status":"done","id":"evt_gF7_rtRqkMDg","timestamp":"2026-01-28T14:12:01.966Z"}
|
||||
{"type":"task.archived","taskId":"task_20260128_W-K6q8","project":"veritas-kanban","status":"done","id":"evt_kKDURlmoraF_","timestamp":"2026-01-28T14:12:01.968Z"}
|
||||
{"type":"task.archived","taskId":"task_20260128_hdcQAe","project":"veritas-kanban","status":"done","id":"evt_jNFTn6LivN9p","timestamp":"2026-01-28T14:12:01.969Z"}
|
||||
{"type":"task.archived","taskId":"task_20260128_o0FPtg","project":"veritas-kanban","status":"done","id":"evt_0gdktmGAqnRA","timestamp":"2026-01-28T14:12:01.970Z"}
|
||||
{"type":"task.archived","taskId":"task_20260128_q38wnR","project":"veritas-kanban","status":"done","id":"evt_B3rKqlEaywqP","timestamp":"2026-01-28T14:12:01.971Z"}
|
||||
{"type":"task.archived","taskId":"task_20260128_tD7fef","project":"veritas-kanban","status":"done","id":"evt_b2Kt6rRrap0P","timestamp":"2026-01-28T14:12:01.972Z"}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,54 @@
|
|||
[
|
||||
{
|
||||
"id": "activity_1769609521972_4we6i0l5b",
|
||||
"type": "sprint_archived",
|
||||
"taskId": "US-1300",
|
||||
"taskTitle": "US-1300",
|
||||
"details": {
|
||||
"taskCount": 7
|
||||
},
|
||||
"timestamp": "2026-01-28T14:12:01.972Z"
|
||||
},
|
||||
{
|
||||
"id": "activity_1769609520394_qau8w4yac",
|
||||
"type": "comment_added",
|
||||
"taskId": "task_20260128_efQBVi",
|
||||
"taskTitle": "US-1011: Cost budget tracking",
|
||||
"details": {
|
||||
"author": "Veritas",
|
||||
"preview": "Implemented monthly budget tracking with BudgetSet..."
|
||||
},
|
||||
"timestamp": "2026-01-28T14:12:00.394Z"
|
||||
},
|
||||
{
|
||||
"id": "activity_1769609515059_7rtpx8l1u",
|
||||
"type": "status_changed",
|
||||
"taskId": "task_20260128_efQBVi",
|
||||
"taskTitle": "US-1011: Cost budget tracking",
|
||||
"details": {
|
||||
"from": "in-progress",
|
||||
"status": "done"
|
||||
},
|
||||
"timestamp": "2026-01-28T14:11:55.059Z"
|
||||
},
|
||||
{
|
||||
"id": "activity_1769609504481_iun13k3yr",
|
||||
"type": "task_updated",
|
||||
"taskId": "task_20260128_efQBVi",
|
||||
"taskTitle": "US-1011: Cost budget tracking",
|
||||
"timestamp": "2026-01-28T14:11:44.481Z"
|
||||
},
|
||||
{
|
||||
"id": "activity_1769609465429_r3z2s8z71",
|
||||
"type": "comment_added",
|
||||
"taskId": "task_20260128_hul7-q",
|
||||
"taskTitle": "US-1305: Status history log",
|
||||
"details": {
|
||||
"author": "Veritas",
|
||||
"preview": "Implemented status history log with backend servic..."
|
||||
},
|
||||
"timestamp": "2026-01-28T14:11:05.429Z"
|
||||
},
|
||||
{
|
||||
"id": "activity_1769609460386_6n876xgld",
|
||||
"type": "status_changed",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,12 @@
|
|||
[
|
||||
{
|
||||
"id": "status_1769609502564_sefpbuxpw",
|
||||
"timestamp": "2026-01-28T14:11:42.564Z",
|
||||
"previousStatus": "idle",
|
||||
"newStatus": "sub-agent",
|
||||
"subAgentCount": 3,
|
||||
"durationMs": 71512
|
||||
},
|
||||
{
|
||||
"id": "status_1769609431052_hlpu4di5u",
|
||||
"timestamp": "2026-01-28T14:10:31.052Z",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue