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
signature.asc
Description: PGP signature
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack