- 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 |
||
|---|---|---|
| .. | ||
| app | ||
| components/admin | ||
| lib | ||
| types | ||
| middleware.ts | ||