Re: [Openstack] [OpenStack] Ceilometer API Glossary
On Wed, Oct 24 2012, 吴亚伟 wrote: > I still have questions about the data in the mongodb. > First: All the data about "source" in db is "?",for example: > is it correct? Yes, that's what we used for now in the source code, so this is correct. > second,when I create a instance,there will be meter data created in the > mongodb as "resource" and "meter",but for volume ,there is no any data about > volume in the db,so why ?Is there something wrong with my devstack or there > is configuration file should be modified? If you're talking about cinder volues, you need to configure and run cinder-volume-usage-audit regularly to get messages. > third,I can only see cpu,disk,and network info for instance in the meter > data by now ,but there is no memory info,so why? Make sure you enabled the notifications via RabbitMQ in nova. -- Julien Danjou ;; Free Software hacker & freelance ;; http://julien.danjou.info pgp9T7Xj8PXY6.pgp Description: PGP signature ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] [OpenStack] Ceilometer API Glossary
于 2012年10月23日 17:34, Eoghan Glynn 写道: I am testing ceilometer in my devstack virtual machine. Although I can see the meter data model in the mongodb, I am confused about some glossary when I test its Web API. I am not very clear about the " resource" in the " GET /v1/resources",either "source" in the "GET /v1/sources/(source)/meters/(meter)". Can someone explain these two concept? Thanks a lot. Hi Yawei, Good question! My understanding is that the resources collection refers to the set of UUIDs identifying the openstack entities (e.g. instance, volume, image ... etc.) being metered, whereas the source refers to the origin of the metering data and is effectively unused right now as there is only a single source currently (though we could in the future for example distinguish between metric and metering data in this way). Cheers, Eoghan Thanks Eoghan, I still have questions about the data in the mongodb. First: All the data about "source" in db is "?",for example: - "source": "?", "metadata": { "fixed_ip_id": null, "host": null, "auto_assigned": false, "pool": "nova", "address": "172.24.4.232" } is it correct? second,when I create a instance,there will be meter data created in the mongodb as "resource" and "meter",but for volume ,there is no any data about volume in the db,so why ?Is there something wrong with my devstack or there is configuration file should be modified? third,I can only see cpu,disk,and network info for instance in the meter data by now ,but there is no memory info,so why? thanks --- Yawei Wu Dalian Hi-Think Computer Technology,Corp. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] [OpenStack] Ceilometer API Glossary
On Tue, Oct 23, 2012 at 5:34 AM, Eoghan Glynn wrote: > > > > I am testing ceilometer in my devstack virtual machine. Although I > > can see the meter data model in the mongodb, I am confused about > > some glossary when I test its Web API. I am not very clear about the > > " resource" in the " GET /v1/resources",either "source" in the "GET > > /v1/sources/(source)/meters/(meter)". > > Can someone explain these two concept? Thanks a lot. > > Hi Yawei, > > Good question! > > My understanding is that the resources collection refers to the set > of UUIDs identifying the openstack entities (e.g. instance, volume, > image ... etc.) being metered, whereas the source refers to the > origin of the metering data and is effectively unused right now > as there is only a single source currently (though we could in the > future for example distinguish between metric and metering data > in this way). > That's exactly right. I'll open a ticket to add a glossary to the documentation. Doug > > Cheers, > Eoghan > > ___ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] [OpenStack] Ceilometer API Glossary
> I am testing ceilometer in my devstack virtual machine. Although I > can see the meter data model in the mongodb, I am confused about > some glossary when I test its Web API. I am not very clear about the > " resource" in the " GET /v1/resources",either "source" in the "GET > /v1/sources/(source)/meters/(meter)". > Can someone explain these two concept? Thanks a lot. Hi Yawei, Good question! My understanding is that the resources collection refers to the set of UUIDs identifying the openstack entities (e.g. instance, volume, image ... etc.) being metered, whereas the source refers to the origin of the metering data and is effectively unused right now as there is only a single source currently (though we could in the future for example distinguish between metric and metering data in this way). Cheers, Eoghan ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp