<br><br><div class="gmail_quote">On Tue, Oct 23, 2012 at 5:34 AM, Eoghan Glynn <span dir="ltr"><<a href="mailto:eglynn@redhat.com" target="_blank">eglynn@redhat.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"><br>
<br>
> I am testing ceilometer in my devstack virtual machine. Although I<br>
> can see the meter data model in the mongodb, I am confused about<br>
> some glossary when I test its Web API. I am not very clear about the<br>
> " resource" in the " GET /v1/resources",either "source" in the "GET<br>
> /v1/sources/(source)/meters/(meter)".<br>
> Can someone explain these two concept? Thanks a lot.<br>
<br>
</div>Hi Yawei,<br>
<br>
Good question!<br>
<br>
My understanding is that the resources collection refers to the set<br>
of UUIDs identifying the openstack entities (e.g. instance, volume,<br>
image ... etc.) being metered, whereas the source refers to the<br>
origin of the metering data and is effectively unused right now<br>
as there is only a single source currently (though we could in the<br>
future for example distinguish between metric and metering data<br>
in this way).<br></blockquote><div><br></div><div>That's exactly right. I'll open a ticket to add a glossary to the documentation.</div><div><br></div><div>Doug</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Cheers,<br>
Eoghan<br>
<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>
</blockquote></div><br>