Skip to content

Commit

Permalink
Fix documented equation for diskio average queue depth (influxdata#3334)
Browse files Browse the repository at this point in the history
  • Loading branch information
phemmer authored and danielnelson committed Oct 12, 2017
1 parent c74c29b commit bed14e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/system/DISK_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ SELECT derivative(last("io_time"),1ms) FROM "diskio" WHERE time > now() - 30m GR
#### Calculate average queue depth:
`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:
Expand Down

0 comments on commit bed14e5

Please sign in to comment.