- Add /api/metrics/prometheus endpoint using prom-client (unauthenticated for scraping) - Update middleware to allow unauthenticated access to prometheus endpoint - Add /api/metrics permission routing (platform:read for GET) - Install prom-client dependency - Add metrics.md with Grafana dashboard JSON, Prometheus config, alerting rules |
||
|---|---|---|
| .. | ||
| admin | ||
| api | ||
| dashboard | ||
| login | ||
| platform | ||
| globals.css | ||
| layout.tsx | ||
| page.tsx | ||