i have recently migrated to rocky linux in many of my linux servers and telegraf seems to be having issues.
to start with the precision parameter is not working:
Error running agent: Error loading config file /etc/telegraf/telegraf.conf: error parsing [agent]: line 69: (config.AgentConfig.Precision) time: invalid duration “ns”
the value here is ns but i have tried all the options and nothing works.
whereas when i comment this parameter in telegraf.conf, telegraf runs without any error.
can someone please help here. I am not able to understand what exactly is going on here.