Fix typo in queue depth example of diskio plugin (#7613)

This commit is contained in:
Simon Knittel 2020-06-03 08:11:13 +02:00 committed by GitHub
parent 1e7f714b2b
commit af8093e00e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ SELECT non_negative_derivative(last("io_time"),1ms) FROM "diskio" WHERE time > n
#### 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 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: ### Example Output: