fix: send Faro telemetry to self-hosted Alloy collector (#3106)
dancefinder-app / build (push) Successful in 3m59s
dancefinder-app / deploy-prod-frostmoln (push) Successful in 1m5s

Moves browser telemetry (Faro) from Grafana Cloud to the self-hosted Alloy `faro.receiver` in the Frostmoln Platform stack.

- Production `grafanaUrl`: `https://faro.unbound.se/collect` (no app key)
- CORS on the receiver allows `https://dancefinder.unbound.se`; rate limit 50 req/s, burst 100
- Browser traces land in VictoriaTraces (cluster=production), logs/errors in VictoriaLogs — see https://grafana.obs.unbound.se
- `ignoreUrls` already uses `config.grafanaUrl`, and Apollo trace propagation is unchanged

`npm run lint` passes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01VSC7dLAgao1afzL5DQfH8F
Reviewed-on: #3106
This commit was merged in pull request #3106.
This commit is contained in:
argoyle committed 2026-10-18 18:48:18 +00:00
1 parent 7cc8d1891d
commit 4e243a0d7d
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@ export const envConfig = (host: string): EnvConfig => {
auth: prod,
dev: false,
tracesSampleRate: 1.0,
grafanaUrl: 'https://faro-collector-prod-eu-west-0.grafana.net/collect/532676b975308d70605d856635721a61',
grafanaUrl: 'https://faro.unbound.se/collect',
}
default:
throw new Error(`unexpected host: ${host}`)