That would be one way, but adding "dimensions" to the meters also makes sense because it reduces the need to collect the data more than once. For instance, if "flavor" was a dimension of the "instance" meter I wouldn't need the separate meter "instance:<flavor>". These sorts of use cases were part of the original motivation for collecting all of the metadata about a resource, but what we have now isn't structured enough to let the API user query into it.<div>
<br></div><div>How, then, do we define the dimensions for a given meter in a more structured way? Some built-in values (like flavor) can be pulled automatically based on the resource type, but what about settings controlled by the deployer and end-user (for purposes other than billing)?</div>
<div><br>Doug</div><div><br><div class="gmail_quote">On Thu, Oct 25, 2012 at 7:11 AM, Julien Danjou <span dir="ltr"><<a href="mailto:julien@danjou.info" target="_blank">julien@danjou.info</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 Thu, Oct 25 2012, Angus Salkeld wrote:<br>
<br>
</div><div class="im">> So we need normal stuff like cpu/mem usage but aggregated over the instances<br>
> in the group. So this is not easy to do externally.<br>
<br>
</div>Interesting use case. I think for such a thing, a way would be to have a<br>
component listening to meters (e.g. on the bus directly or via<br>
PubSubHubbub-like) to re-emit consolidated meters.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Julien Danjou<br>
/* Free Software hacker & freelance<br>
   <a href="http://julien.danjou.info" target="_blank">http://julien.danjou.info</a> */<br>
</div></div><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" 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/~openstack" 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>
<br></blockquote></div><br></div>