From 43a2b49ad19fba0ec59e6749ef7371dc07ee28f7 Mon Sep 17 00:00:00 2001 From: Patrick Hemmer Date: Thu, 12 Oct 2017 18:08:51 -0400 Subject: [PATCH] Fix documented equation for diskio average queue depth (#3334) --- plugins/inputs/system/DISK_README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/system/DISK_README.md b/plugins/inputs/system/DISK_README.md index b3b6a52fa..31eff937d 100644 --- a/plugins/inputs/system/DISK_README.md +++ b/plugins/inputs/system/DISK_README.md @@ -140,7 +140,7 @@ SELECT derivative(last("io_time"),1ms) FROM "diskio" WHERE time > now() - 30m GR #### Calculate average queue depth: `iops_in_progress` will give you an instantaneous value. This will give you the average between polling intervals. ``` -SELECT derivative(last("weighted_io_time",1ms))/1000 from "diskio" WHERE time > now() - 30m GROUP BY "host","name",time(60s) +SELECT derivative(last("weighted_io_time",1ms)) from "diskio" WHERE time > now() - 30m GROUP BY "host","name",time(60s) ``` ### Example Output: