Fix documented equation for diskio average queue depth (#3334)

This commit is contained in:
Patrick Hemmer 2017-10-12 18:08:51 -04:00 committed by Daniel Nelson
parent d3264d9746
commit 43a2b49ad1
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ SELECT derivative(last("io_time"),1ms) FROM "diskio" WHERE time > now() - 30m GR
#### Calculate average queue depth: #### Calculate average queue depth:
`iops_in_progress` will give you an instantaneous value. This will give you the average between polling intervals. `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: ### Example Output: