[openstack-dev] [Ceilometer]: Instance creation and deletion metrics in ceilometer !

Julien Danjou julien at danjou.info
Thu Nov 3 12:16:21 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161103/b01031b8/attachment.pgp>


More information about the OpenStack-dev mailing list