You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following redirects, the http_response plugin uses the default user-agent of
"Go-http-client/1.1".
Relevant telegraf.conf:
I'm including the erb used to generate my config.
[[inputs.http_response]]
address = "url"
response_timeout = "10s"
method = "GET"
follow_redirects = true
interval = "30s"
Bug report
After following redirects, the http_response plugin uses the default user-agent of
"Go-http-client/1.1".
Relevant telegraf.conf:
I'm including the erb used to generate my config.
[[inputs.http_response]]
address = "url"
response_timeout = "10s"
method = "GET"
follow_redirects = true
interval = "30s"
[inputs.http_response.headers]
User-Agent = "ServiceUptime"
System info:
[Include Telegraf version, operating system name, and other relevant details]
Centos 7.3
Telegraf v1.2.1 (git: release-1.2 3b6ffb3)
Proposal:
Use the defined headers during redirect requests.
Use case: [Why is this important (helps with prioritizing requests)]
It makes it difficult to properly filter the requests from analytics data.
The text was updated successfully, but these errors were encountered: