openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #24692
Re: [OpenStack] [Metering] Options to obtain Notifications when ceilometer generates a meter entry in the DB
On Fri, Jun 21, 2013 at 9:37 PM, Deepak Bangalore Hariyanna <
dbangalo@xxxxxxx> wrote:
> Hi All,
>
> I am currently working on an charging application to work with
> ceilometer(Grizzly release).
> Have been working on openstack for just couple weeks and hence have a
> couple of questions:
> 1). I read in the documentation that the only way to access the data
> generated by collector is through the API(i.e either use the cURL option or
> the ceilometer pythonclient to query the required information). I am able
> to do this and fetch the required data.
> However, for an application to access these, is there a better way? Like,
> whenever the ceilometer generates an event entry in the db, does it provide
> any notification on any queues, or is there a way we can configure this to
> happen?
>
> If there is no such option, I plan to periodically poll the ceilometer
> through API for the usage data. (which I sincerely feel is a bad idea).
>
> 2). From the Havana roadmap, I see an objective "Publish meters to other
> systems"
> Does this mean, other systems can configure to bind themselves on an AMQP
> queue and ceilometer would publish notifications on this exchange?
> If so, this would be a feature of Havana?
> Because I was confused with the publisher feature of Grizzzly, as below
> [image: Inline image 1]
>
> Would be great if someone can help me on this.
>
The architecture of ceilometer supports plugging in different publishers.
We have one that reproduces the grizzly/folsom feature of sending data on
the message bus so the collector can receive it. We also have one that
sends UDP messages that are consumed by the collector (useful for
monitoring, but not for metering). The API is designed to allow you to
write your own if you have a custom consumer, and we would welcome other
reusable publishers in the core code base.
Doug
>
> Thanks a lot,
> Deepak
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References