Skip to content

Correct the Windows section: supplied configs need a Windows config too - #261

Merged
thilak009 merged 2 commits into
mainfrom
docs-windows-supplied-config
Sep 24, 2026
Merged

thilak009 merged 2 commits into
mainfrom
docs-windows-supplied-config

Conversation

@thilak009

@thilak009 thilak009 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Corrects the Windows section added in #260. It said:

The Windows daemon shares your Scout endpoint and credentials with the other collectors, so there is nothing further to configure.

That is only true when the chart generates your collector configuration.

The problem

If you set scout.agent.config or scout.daemon.config — which is what the otelcol style configuration further down the same page does — your configuration carries its own credentials, under value names you chose. Our examples use scout.clientId and scout.clientSecret.

A generated Windows configuration instead derives client_id from scout.appName and reads the secret from scout.apiKey. So the Windows daemon would authenticate with different credentials from every other collector in the release, and fail every export at runtime while looking healthy.

The fix

Chart 0.6.1 refuses to render in that case rather than doing it silently (base14-infra#486). This documents the requirement and shows the configuration to supply.

extraEnvs is described alongside it, since it is the same per-collector behaviour for the same underlying reason — Helm replaces lists rather than merging them.

Also bumps the documented version to 0.6.1

The page pinned 0.6.0 — the version that silently falls back to a generated Windows configuration. Documenting the requirement while still installing the version that does not enforce it would be the worst of both: a reader who skimmed past the new section would hit exactly the failure it warns about.

0.6.1 is live on charts.base14.io and refuses to render in that case instead.

Verification

The windowsDaemon.config example in this change was rendered against the published 0.6.1 chart from charts.base14.io: it satisfies the guard and produces client_id: THEIR-CLIENT-ID with the Windows filelog glob, rather than falling back to generated defaults.

🤖 Generated with Claude Code

The section said the Windows daemon shares credentials with the other
collectors and there was nothing further to configure. That is only true when
the chart generates your collector configuration.

If you supply scout.agent.config or scout.daemon.config -- which is what the
otelcol style configuration further down this page does -- your configuration
carries its own credentials under value names you chose, commonly
scout.clientId and scout.clientSecret. A generated Windows configuration would
instead derive client_id from scout.appName and read the secret from
scout.apiKey, so the Windows daemon would authenticate differently from every
other collector in the release.

Chart 0.6.1 refuses to render in that case rather than doing it silently. This
documents the requirement and shows the configuration to supply.

extraEnvs is described alongside it, since it is the same per-collector
behaviour for the same reason.
The page pinned 0.6.0, which is the version that silently falls back to a
generated Windows configuration when you supply your own for the other
collectors -- authenticating the Windows daemon with different credentials and
failing every export at runtime.

Documenting the requirement while still installing the version that does not
enforce it would be the worst of both: a reader who missed the new section
would hit exactly the failure it warns about.

0.6.1 refuses to render in that case instead.
@thilak009
thilak009 merged commit 8f73f93 into main Sep 24, 2026
5 checks passed
@thilak009
thilak009 deleted the docs-windows-supplied-config branch September 24, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant