# Correctly visualising the 'diskio' Telegraf plugin

**URL:** <https://community.influxdata.com/t/correctly-visualising-the-diskio-telegraf-plugin/18035>\
**Category:** Dashboards\
**Tags:** telegraf, grafana\
**Created:** [January 26, 2021, 1:21pm UTC](https://community.influxdata.com/t/correctly-visualising-the-diskio-telegraf-plugin/18035 "2021-01-26T13:21:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rylon](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/rylon/32/6520_2.png) [@Rylon](https://community.influxdata.com/u/Rylon)\
**Post date:** [January 26, 2021, 1:21pm UTC](https://community.influxdata.com/t/correctly-visualising-the-diskio-telegraf-plugin/18035/1 "2021-01-26T13:21:55Z")

</div>

Hi,

I’m trying to visualise the data we’re getting from ‘diskio’ plugin in Telegraf. I’m struggling to fully understand the documentation for this plugin though.

> <https://github.com/influxdata/telegraf/tree/master/plugins/inputs/diskio>
>
> //github.com/influxdata/telegraf/tree/master/plugins/inputs/diskio

For example there is the section about read\_time and write\_time which says:

> These values count the number of milliseconds that I/O requests have waited on this block device. If there are multiple I/O requests waiting, these values will increase at a rate greater than 1000/second; for example, if 60 read requests wait for an average of 30 ms, the read\_time field will increase by 60\*30 = 1800.

I don’t understand what is meant by “a rate greater than 1000/second”. I also don’t know how to normalise this metric, given the number of request requests in the queue isn’t exposed, how is one to calculate the actual average read time for each IO request?

What I’m hoping to be able to visualise for my storage devices is the following:

- read/write operations
- read/write bytes
- read/write latency
- any read/write queues

I have the first two solved with the following fields:

> `read` & `writes`:  
> These values increment when an I/O request completes.
> 
> `read_bytes` & `write_bytes` :  
> These values count the number of bytes read from or written to this block device.

However I’m really struggling to accurately visualise the actual latency, how quickly is a device being read or written, is there a queue forming, etc.

Does anyone have some advice for using this plugin?

Thanks!

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [January 26, 2021, 4:54pm UTC](https://community.influxdata.com/t/correctly-visualising-the-diskio-telegraf-plugin/18035/2 "2021-01-26T16:54:20Z")

</div>

Hello @Rylon,  
Welcome! Are you aware of community templates?  
This template uses the diskio input plugin and creates a dashboard for you, maybe try using that as a good starting point?

> **[community-templates/linux\_system at e6ab83d9c7b86022807c72eb27befdbb1e1d9477 ·...](https://github.com/influxdata/community-templates/tree/e6ab83d9c7b86022807c72eb27befdbb1e1d9477/linux_system)**
>
> e6ab83d9c7b86022807c72eb27befdbb1e1d9477/linux\_system

---

<div class="post-metadata">

**Author:** ![Rylon](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/rylon/32/6520_2.png) [@Rylon](https://community.influxdata.com/u/Rylon)\
**Post date:** [February 2, 2021, 12:53pm UTC](https://community.influxdata.com/t/correctly-visualising-the-diskio-telegraf-plugin/18035/3 "2021-02-02T12:53:18Z")

</div>

Hi @Anaisdg yeah we have the System panel enabled in Chronograf, however it only shows bytes read/written, which I have also solved in Grafana. I’m looking for how best to interpret the latency data, and this is for Grafana, no Chronograf.
