[Openstack] [Ceilometer] filter event samples

Alessandro Barabesi abarabesi at enter.it
Thu Aug 8 08:19:07 UTC 2013

Got it, thanks very much.


-----Original Message-----
From: Julien Danjou [mailto:julien at danjou.info] 
Sent: mercoledì 7 agosto 2013 10:02
To: Alessandro Barabesi
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] [Ceilometer] filter event samples

On Wed, Aug 07 2013, Alessandro Barabesi wrote:

> grouping statistics by resource_id would not help, I have the same 
> problem even if I ask statistics for a single resource_id, what I need 
> to do is bill customers on the number of instances, therefore I need 
> to know how many instances existed during a certain period of time,

That's where grouping statistics by resource_id; you would have a statistics results per resource_id, so counter the number of statistics will give you the number of instance, and you would have the exact duration for each one of these.

Julien Danjou
;; Free Software hacker ; freelance consultant ;; http://julien.danjou.info

More information about the Openstack mailing list