<br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 12:24 PM, Nicolas Barcet <span dir="ltr"><<a href="mailto:nicolas@barcet.com" target="_blank">nicolas@barcet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
As a follow up to our last meeting and in preparation to the next, it<br>
would be nice to collect rationales on unit of meters in ceilometer.<br>
Here are a few random thoughts collected so far:<br>
<br>
* Units should always be based on internation standard [1]<br></blockquote><div><br></div><div>Where there is a relevant standard value, this makes sense.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* Units should be the same accross all meters making the same type of<br>
measurments<br></blockquote><div><br></div><div>This would be convenient, but I'm not sure we need the rule. If we say that measurements are taken in the smallest unit available (as Julien points out, use bytes not kilobytes or megabytes), then we will have the most accurate value we can. On the other hand, it doesn't make sense to measure instance lifetime in nanoseconds, so there are bound to be exceptions either way.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* Units should (or should not) be allowed to be modified<br></blockquote><div><br></div><div>I have proposed that for grizzly we simplify by saying that all sources of data for a given meter should report in the same units, and that the units not change over time. This means the units reported in the incoming samples are basically labels, but ceilometer won't look at their actual values or use them to convert between units when responding to a query.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* Units should always be [integer|floats]<br></blockquote><div><br></div><div>We can't say that values must always be integers, and I'm not sure what it buys us to say they will always be floats.</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
What do you think and what policy would you propose?<br>
<br>
Thanks a lot,<br>
--<br>
Nicolas Barcet <<a href="mailto:nicolas@barcet.com">nicolas@barcet.com</a>><br>
a.k.a. nijaba, nick<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br>