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
This configuration is invalid and Telegraf reports the following error:
Error parsing /etc/telegraf/telegraf.d/statsd.conf, line 2: statsd.Statsd.AllowedPendingMessages: `string' type is not assignable to `int' type
The problem here is that Puppet doesn't differentiate between numbers and strings (at least until Puppet 4, unless using the future parser). I was able to workaround this issue with the following Puppet code:
I am using the following Puppet code:
This results in the following Telegraf configuration:
This configuration is invalid and Telegraf reports the following error:
The problem here is that Puppet doesn't differentiate between numbers and strings (at least until Puppet 4, unless using the future parser). I was able to workaround this issue with the following Puppet code:
Ideally though, the template used by
telegraf::inputwould check if a configuration option is numeric and remove the quotes.The text was updated successfully, but these errors were encountered: