# TASK: App Telemetry & Analytics **Controller:** v0.27.3 → v0.28.0 **Hub:** v0.3.8 → v0.4.0 ## Overview Add per-app (per-stack) memory/CPU telemetry and container log error scanning to the controller's report push cycle, then build fleet-wide analytics dashboard pages in the hub. --- ## Spec Issues Found (corrections already applied in this plan) 1. **Wrong column name in metrics DB**: Spec uses `memory_bytes` — actual column is `mem_usage_mb` (already in MB). No byte→MB conversion needed. 2. **`ts` column is INTEGER (Unix timestamp)**, not datetime — WHERE clauses must use `unix()`. 3. **`metricsStore` already passed to `BuildReport()`** — no main.go wiring change needed for that dependency. 4. **Chart.js is NOT in the hub** — needs to be added (copy from controller's `internal/web/static/chart.min.js`). 5. **Hub nav is header-based**, not sidebar — add "Alkalmazások" to the header `