You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit eb0ffa4
Browse filesBrowse the repository at this point in the historyBrowse files
Metrics get their own token (sc-8726): /internal/renderer/metrics takes METRICS_TOKEN (generated in the cluster, Secret visualci-metrics-token, on the web pods and the scraper only; optional elsewhere, so the worker and CronJobs start without it) and refuses the renderer token, so a renderer running an untrusted PDF can't read metrics and the scraper can't claim renders (#27)
Copy file name to clipboardExpand all lines: docs/deploy.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ web and worker tolerate `talira.ai/products=true:NoSchedule` and select `talira.
41
41
| `JWT_SECRET` | random, generated in the cluster |
42
42
| `HOST`, `PUBLIC_URL` | `https://visualci.com` |
43
43
| `RENDERER_TOKEN` | random, generated in the cluster; the same value in the renderer's `VISUALCI_RENDERER_TOKEN` |
44
+
| `METRICS_TOKEN` | random, generated in the cluster (Secret `visualci-metrics-token`); the web pods and the metrics scraper only, never the renderers. Optional elsewhere: without it, metrics refuse every request |
0 commit comments