-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to dynamically get authentication information #7660
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It I understand correctly, the current use case is about reading token from a file and then writing as request header.
What are the other possible kind of readers and writers ? Having more use cases might help understanding if we need a solution as generic as this one (PR).
That said, I like the flexibility of the implementation.
Possible readers:
Possible writers:
|
datadog_checks_dev/datadog_checks/dev/tooling/templates/configuration/instances/http.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs review
datadog_checks_dev/datadog_checks/dev/tooling/templates/configuration/instances/http.yaml
Outdated
Show resolved
Hide resolved
datadog_checks_dev/datadog_checks/dev/tooling/templates/configuration/instances/http.yaml
Outdated
Show resolved
Hide resolved
datadog_checks_dev/datadog_checks/dev/tooling/templates/configuration/instances/http.yaml
Outdated
Show resolved
Hide resolved
datadog_checks_dev/datadog_checks/dev/tooling/templates/configuration/instances/http.yaml
Outdated
Show resolved
Hide resolved
datadog_checks_dev/datadog_checks/dev/tooling/templates/configuration/instances/http.yaml
Outdated
Show resolved
Hide resolved
datadog_checks_dev/datadog_checks/dev/tooling/templates/configuration/instances/http.yaml
Outdated
Show resolved
Hide resolved
@ruthnaebeck I applied your suggestions but removed the period after examples to prevent copy/paste errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for docs
e9da9da
to
3c8f13f
Compare
* Add ability to dynamically get authentication information * Update config specs * incorporate feedback * Apply suggestions from code review Co-authored-by: ruthnaebeck <[email protected]> * sync config * easier default * gracefully retry * update from master * address Co-authored-by: ruthnaebeck <[email protected]> e9bbcf2
Motivation
Customer request (also eventually can refactor other integrations like OpenMetrics & Vault since we already do similar things)