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
Before Consul version 0.7.2 there was no need to include ACL token in request params or headers to get health checks data from Consul API. In version 0.7.2 Consul introduced complete ACL coverage which has been taken into use by default in Consul 0.8.0. Now in order to get health checks data from API a user needs to have a token with node:read and service:read policies . Consul input plugin in telegraf already accepts ACL token as a configuration option, but neither uses it to set in API client config nor passes to the State method.
Bug report
Before Consul version 0.7.2 there was no need to include ACL token in request params or headers to get health checks data from Consul API. In version 0.7.2 Consul introduced complete ACL coverage which has been taken into use by default in Consul 0.8.0. Now in order to get health checks data from API a user needs to have a token with
node:read
andservice:read
policies . Consul input plugin in telegraf already accepts ACL token as a configuration option, but neither uses it to set in API client config nor passes to the State method.Relevant telegraf.conf:
System info:
Telegraf version: any that has consul input plugin
Consul version: >= 0.8.0
Steps to reproduce:
telegraf --config telegraf.conf --test
Expected behavior:
Consul plugin was able to retrieve metrics, e.g. the output is:
Actual behavior:
Output is:
I.e. consul plugin in telegraf is not able to get health states from Consul API.
The text was updated successfully, but these errors were encountered: