Do we want a history of deltas or just last delta and leave the history to UI implementers?<br><br><div class="gmail_quote">On Tue, May 29, 2012 at 9:30 AM, Loic Dachary <span dir="ltr"><<a href="mailto:loic@enovance.com" target="_blank">loic@enovance.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 05/29/2012 05:42 PM, Doug Hellmann wrote:<br>
> IIRC, the meters discussed in the wiki [1] are supposed to show "delta" values (usage since the last time an event was generated), although the "Alternate Gauge Design" section discusses cumulative meters instead. The libvirt pollsters we have now produce cumulative data, and it might be complicated and error-prone to change them to compute the deltas internally before generating events. On the other hand, some of the other counters may be more complicated to generate as cumulative values.<br>

><br>
> Rather than taking an either/or approach, I propose we document for each counter whether it uses the delta or cumulative approach. The API server can ask the meter plugin for that piece of information when calculating the aggregate value so that the caller does not have to keep track of the rules for each meter.<br>

><br>
</div>I tend to prefer using a gauge and I agree that documenting what was preferred (gauge or delta) for a given meter / counter is enough.<br>
<br>
My 2ct ;-)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Loïc Dachary         Chief Research Officer<br>
// eNovance labs   <a href="http://labs.enovance.com" target="_blank">http://labs.enovance.com</a><br>
// ✉ <a href="mailto:loic@enovance.com">loic@enovance.com</a>  ☎ <a href="tel:%2B33%201%2049%2070%2099%2082" value="+33149709982">+33 1 49 70 99 82</a><br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</font></span></blockquote></div><br>