Repository navigation
scout: explain how the Datadog agent fills in the <TOKEN> placeholder - #26790
Open
O1sumitkumar wants to merge 1 commit into
Open
O1sumitkumar wants to merge 1 commit into
O1sumitkumar wants to merge 1 commit into
Conversation
Signed-off-by: O1sumitkumar <109774891+O1sumitkumar@users.noreply.github.com>
✅ Deploy Preview for docsdocker ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 thereaderloads the PAT from the mounted file, and thewriterputs it in theAuthorizationheader by replacing the<TOKEN>placeholder invalue. 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.examplein DataDog/integrations-core. For theheaderwriter it says: "value: The template value, for exampleBearer <TOKEN>" and "placeholder: The substring invalueto replace with the token, defaults to:<TOKEN>".Verified: Vale (the repo's
.vale.iniwith 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