Skip to content
Snippets Groups Projects
Unverified Commit cb04fa1e authored by Daniel Nelson's avatar Daniel Nelson
Browse files

Add diskio %util sample query

parent 92af42a8
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,13 @@ Data collection is based on github.com/shirou/gopsutil. This package handles pla
- If configured to use serial numbers (default: disabled):
- serial (device serial number)
### Sample Queries:
Calculate percent IO utilization per disk and host:
```
SELECT derivative(last("io_time"),1ms) FROM "diskio" WHERE time > now() - 30m GROUP BY "host","name",time(60s)
```
### 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