Skip to content

scout: explain how the Datadog agent fills in the <TOKEN> placeholder - #26790

Open
O1sumitkumar wants to merge 1 commit into
docker:mainfrom
O1sumitkumar:scout-datadog-token-placeholder
Open

O1sumitkumar wants to merge 1 commit into
docker:mainfrom
O1sumitkumar:scout-datadog-token-placeholder

Conversation

@O1sumitkumar

Copy link
Copy Markdown

The Datadog example on the Scout metrics exporter page tells readers not to replace <TOKEN>, but never says why. This adds a short paragraph explaining that the reader loads the PAT from the mounted file, and the writer puts it in the Authorization header by replacing the <TOKEN> placeholder in value. I also reworded the callout so it says the agent fills the value in.

I checked the behavior against the OpenMetrics check's conf.yaml.example in DataDog/integrations-core. For the header writer it says: "value: The template value, for example Bearer <TOKEN>" and "placeholder: The substring in value to replace with the token, defaults to: <TOKEN>".

Verified: Vale (the repo's .vale.ini with the Docker style synced) reports 0 errors, 0 warnings and 0 suggestions on the changed file. Not run: a local Hugo build or a real Datadog agent.

AI use: I used an AI assistant to find the issue, check the Datadog source and draft the wording. I reviewed and edited the change myself.

Fixes #26745

Signed-off-by: O1sumitkumar <109774891+O1sumitkumar@users.noreply.github.com>
@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit ccc6ea2
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6b090635a90db98c63f70858
😎 Deploy Preview https://deploy-preview-26790--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the area/scout Relates to Docker Scout label Nov 27, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/scout Relates to Docker Scout

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs-scanner] Confusing Datadog auth_token configuration with unexplained <TOKEN> placeholder

1 participant