<div dir="ltr"><div>I've done a fairly lengthy search and have had a glance over the code but I still don't fully understand how the StoreRates works. I understand that it takes COUNTER, DERIVE and ABSOLUTE types and converts then to GAUGE.<br>
<br></div><div>To make it more specific, can someone help me understand the disk plugin disk_ops/read metric, passed through the  write_graphite plugin with "StoreRates true".<br></div><div><br></div><div>Looking at the disk plugin source code, it reads /proc/diskstats and produces a disk_ops/read DERIVE value (e.g. 34500).<br>
<br></div><div>The write_graphite plugin then calls uc_get_rate when StoreRates is true and a GAUGE value is returned.<br><br></div><div>My specific questions are:<br></div><div>* How does the conversion work?<br></div><div>
* Does it know about the previous value (e.g. 340000)<br></div><div>* Does the Interval parameter play a role?<br><br>Jonathan<br></div></div>