Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support bearer_token_file option on HTTP output plugin #2517

Closed
rakelkar opened this issue Sep 1, 2020 · 3 comments
Closed

Support bearer_token_file option on HTTP output plugin #2517

rakelkar opened this issue Sep 1, 2020 · 3 comments
Labels

Comments

@rakelkar
Copy link

rakelkar commented Sep 1, 2020

Describe the solution you'd like
Would be great if the HTTP plugin supported reading a file to retrieve the token to use for the HTTP auth header. This is similar to the bearer_token_file option on Prometheus remote write config.

Describe alternatives you've considered
The plugin does support headers as part of its configuration, however as noted in #365 since dynamic config reload is not supported, workarounds are required to refresh the token.

@ecusnir
Copy link

ecusnir commented Nov 18, 2020

The code includes bearer_token_file parameter.

Unfortunately, it is only read once, unlike prometheus that uses a round tripper to update the token.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Mar 24, 2021
@github-actions
Copy link
Contributor

This issue was closed because it has been stalled for 5 days with no activity.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants