docs: add telemetry stack documentation to CLAUDE.md, METRICS.md, and README.md

This commit is contained in:
MythEclipse
2026-06-07 21:00:22 +07:00
parent 2c41b80f97
commit 36216601e3
3 changed files with 173 additions and 0 deletions
+6
View File
@@ -17,6 +17,12 @@ application stack and the payload each service provides.
> In production all metrics are scraped by the Prometheus collector running in the
> Telemetry stack. See [`telemetry/prometheus/targets/`](./telemetry/prometheus/targets/)
> for the autodiscovery configuration.
>
> In production (nginx), the web app proxies `/metrics` to the API service:
> see [`apps/web/nginx.conf`](apps/web/nginx.conf).
>
> For local development the Vite plugin `vite-plugin-metrics.ts` serves
> clientside session metrics at `GET /metrics` on the Vite dev server.
---