Skip to content
Snippets Groups Projects
Commit bed14e50 authored by Patrick Hemmer's avatar Patrick Hemmer Committed by Daniel Nelson
Browse files

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

parent c74c29b1
No related branches found
No related tags found
No related merge requests found
...@@ -140,7 +140,7 @@ SELECT derivative(last("io_time"),1ms) FROM "diskio" WHERE time > now() - 30m GR ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment