Commit Graph
5 Commits
Author SHA1 Message Date
asepharyanaandClaude Opus 4.8 d94524b70d refactor(hub): migrate dashboard to shadcn components
Replace manual CSS classes with shadcn Card, CardHeader, CardTitle,
CardContent, and Badge components. Remove inline <style> block —
use Tailwind utility classes via shadcn theme tokens. Add Biome
formatting across all components.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 12:19:43 +07:00
asepharyana d793ebf9b4 fix: correct Traefik latency metric name 2026-07-23 07:57:54 +07:00
asepharyana f0bbd13be9 fix: promRange type error — optional chaining 2026-07-23 07:52:18 +07:00
asepharyanaandClaude Opus 4.8 d14ed70240 feat: add Traefik metrics to dashboard API and sparkline charts
- Add promRange() for time-series data from Prometheus
- Query Traefik metrics: RPS, latency, error rate
- Dashboard page shows 4 sparkline charts (RPS, latency, errors, traces)
- Charts render inline SVG with auto-refresh every 15s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 07:44:52 +07:00
asepharyanaandClaude Opus 4.8 72f4759f8b feat: rewrite dashboard as Next.js pages
- Remove Go dashboard (replaced by Next.js)
- Add API route /api/dashboard: Docker container list, Jaeger
  traces, Prometheus metrics, node resources
- Add /dashboard page: React client component with inline SVG
  charts (donut, sparkline, gauge), auto-refresh every 15s
- Same dark theme as original Go dashboard

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 06:55:25 +07:00