From af8093e00e07092ca7a3586b497f10362fc62fbc Mon Sep 17 00:00:00 2001 From: Simon Knittel Date: Wed, 3 Jun 2020 08:11:13 +0200 Subject: [PATCH] Fix typo in queue depth example of diskio plugin (#7613) --- plugins/inputs/diskio/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/diskio/README.md b/plugins/inputs/diskio/README.md index ce2acda55..11e68d696 100644 --- a/plugins/inputs/diskio/README.md +++ b/plugins/inputs/diskio/README.md @@ -124,7 +124,7 @@ SELECT non_negative_derivative(last("io_time"),1ms) FROM "diskio" WHERE time > n #### Calculate average queue depth: `iops_in_progress` will give you an instantaneous value. This will give you the average between polling intervals. ``` -SELECT non_negative_derivative(last("weighted_io_time",1ms)) from "diskio" WHERE time > now() - 30m GROUP BY "host","name",time(60s) +SELECT non_negative_derivative(last("weighted_io_time"),1ms) from "diskio" WHERE time > now() - 30m GROUP BY "host","name",time(60s) ``` ### Example Output: