dj-wasabi / ansible-telegraf

Installing and configuring Telegraf via Ansible for RedHat/Debian/Ubuntu/Windows/Suse.
MIT License
134 stars 116 forks source link

Migrate from io to diskio to fix deprecation warning #173

Closed mprasil closed 1 year ago

mprasil commented 1 year ago

Description of PR

Telegraf throws following deprecation warning:

W! DeprecationWarning: Plugin "inputs.io" deprecated since version 0.10.0 and will be removed in 2.0.0: use 'inputs.diskio' instead

As far as I can tell this is simple rename and the output of these plugins should not change. I've also tried comparing the output locally and it seems to be the same.

# The following command outputs two sets of identical data:
telegraf --test --config telegraf.conf --input-filter io:diskio

Type of change

Bugfix Pull Request

dj-wasabi commented 1 year ago

Thanks! 👍