Skip to content

Metrics get their own token (sc-8726) - #27

Merged
ndbroadbent merged 1 commit into
mainfrom
sc-8726-metrics
Dec 2, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
sc-8726-metrics

Conversation

@ndbroadbent

Copy link
Copy Markdown
Member

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

Infra (talira infra, 863fb1a) already has METRICS_TOKEN on the web pods. When this deploys, talira infra switches the PodMonitor visualci/visualci-renders to it; until then the scraper gets 401s.

@visualci-com

visualci-com Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #131 · 302 unchanged · no changes

This PR vs base: 31 changed, 1 added since #122, across 3 builds

Updated as builds change. Agents can review with VisualCI's MCP tools.

…es 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
@ndbroadbent
ndbroadbent merged commit eb0ffa4 into main Dec 2, 2026
10 checks passed
@ndbroadbent
ndbroadbent deleted the sc-8726-metrics branch December 2, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant