Skip to content

fix: dashboard metrics, chart endpoints, varied simulate - #70

Merged
Goodnight77 merged 1 commit into
mainfrom
fix/dashboard-data
Jul 18, 2026
Merged

fix: dashboard metrics, chart endpoints, varied simulate#70
Goodnight77 merged 1 commit into
mainfrom
fix/dashboard-data

Conversation

@Goodnight77

Copy link
Copy Markdown
Owner

Fixes dashboard data issues reported from the demo.

  • Add missing /metrics/trend and /metrics/faults-per-machine endpoints (charts showed 'No data')
  • Diagnosis latency now measures fault->work-order-created (the AI step), not fault->dispatched which included the human approval wait and inflated MTTR (was ~140 min, now ~1 min) -> ROI calculator no longer shows 0
  • Simulate button rotates 7 varied faults (E/J/C/P/A across machines) instead of only E-471
  • Tests for trend/faults-per-machine aggregation

@Goodnight77
Goodnight77 merged commit b8e2ee5 into main Jul 18, 2026
3 checks passed
@Goodnight77
Goodnight77 deleted the fix/dashboard-data branch July 18, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant