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
Dec 8 22:25:57 x telegraf[869809]: 2022-12-08T22:25:57Z E! [telegraf] Error running agent: error loading config file /etc/telegraf/telegraf.d/input_.conf: plugin inputs.prometheus: line 1: configuration specified the fields ["http_headers"], but they weren't used
System info
telegraf 1.24.24, rocky linux 9
Docker
No response
Steps to reproduce
Try to use "http_headers" config on prometheus input
Expected behavior
Should be able to set http headers for plugin. Also doc seems to be wrong as it tells you to set "headers" which also does not work
Actual behavior
Cant set headers for prometheus plugin
Additional info
Not sure how the unused field tracking really works, but can we just add "http_headers" to the exclude case statement in config.go?
The text was updated successfully, but these errors were encountered:
Relevant telegraf.conf
Logs from Telegraf
System info
telegraf 1.24.24, rocky linux 9
Docker
No response
Steps to reproduce
Expected behavior
Should be able to set http headers for plugin. Also doc seems to be wrong as it tells you to set "headers" which also does not work
Actual behavior
Cant set headers for prometheus plugin
Additional info
Not sure how the unused field tracking really works, but can we just add "http_headers" to the exclude case statement in config.go?
The text was updated successfully, but these errors were encountered: