On Thu, Nov 03 2016, Adrian Turjak wrote: > I'd need to double check exactly what query it is, but it effectively > amounts to: > "List all instance metric samples where project_id is <id> and timestamp > is in time range <start>-<end>" > > The time range is an hour + leadin from last hour to catch the last > sample from the previous window.
You can do exactly the same thing in Gnocchi by listing resources alive during the timeframe you are interested in. The main gain by switching to Gnocchi is that you don't have to "sync every hour from Ceilometer". You can just use it as a backend to generate your billing directly. -- Julien Danjou // Free Software hacker // https://julien.danjou.info
signature.asc
Description: PGP signature
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev