From 4064c8b040b6850a9788254fbd8facea16e2f02c Mon Sep 17 00:00:00 2001 From: Miro Prasil Date: Fri, 20 Oct 2023 16:16:10 +0100 Subject: [PATCH] Migrate from io to diskio (#173) 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 ``` --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 1e38d22..50d4002 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -55,7 +55,7 @@ telegraf_plugins_default: config: - percpu = true - plugin: disk - - plugin: io + - plugin: diskio - plugin: mem - plugin: net - plugin: system