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
Add prometheus annotation like below for your pod with path containing a query string "prometheus.io/path": "/v1/agent/metrics?format=prometheus"
latest, ubuntu 16
See the plugin making calls as http://10.x.x.x:80/v1/agent/metrics%3Fformat=prometheus which results in an error.
use decoded uri instead of encoded one
usincurrently encoded uri
url.String() is the problem --
telegraf/plugins/inputs/prometheus/kubernetes.go
Line 221 in 901e63e
The text was updated successfully, but these errors were encountered:
Hi, any update on this bug ? When can we expect this to go out ?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Relevant telegraf.conf:
Add prometheus annotation like below for your pod with path containing a query string
"prometheus.io/path": "/v1/agent/metrics?format=prometheus"
System info:
latest, ubuntu 16
See the plugin making calls as http://10.x.x.x:80/v1/agent/metrics%3Fformat=prometheus which results in an error.
Expected behavior:
use decoded uri instead of encoded one
Actual behavior:
usincurrently encoded uri
Additional info:
url.String() is the problem --
telegraf/plugins/inputs/prometheus/kubernetes.go
Line 221 in 901e63e
The text was updated successfully, but these errors were encountered: