We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Opening a feature request kicks off a discussion.
https://github.com/influxdata/telegraf/tree/master/plugins/inputs/prometheus
only support to pass bearer token as a path to file:
## Use bearer token for authorization # bearer_token = /path/to/bearer/token
It should be supported to pass token directly and rename bearer_token to bearer_token_file. Then it will be consistent with https://prometheus.io/docs/prometheus/latest/configuration/configuration/
bearer_token
bearer_token_file
We are using it for Grafana metrics. After generating the token, no need to copy it to a file.
The text was updated successfully, but these errors were encountered:
Let's do the prometheus parser #4414 and then this can be done by setting headers in the http input.
Sorry, something went wrong.
glinton
No branches or pull requests
Feature Request
Opening a feature request kicks off a discussion.
Proposal:
Current behavior:
https://github.com/influxdata/telegraf/tree/master/plugins/inputs/prometheus
only support to pass bearer token as a path to file:
Desired behavior:
It should be supported to pass token directly and rename
bearer_token
tobearer_token_file
. Then it will be consistent with https://prometheus.io/docs/prometheus/latest/configuration/configuration/Use case: [Why is this important (helps with prioritizing requests)]
We are using it for Grafana metrics. After generating the token, no need to copy it to a file.
The text was updated successfully, but these errors were encountered: