[Openstack] [metering][ceilometer] instance uptime meter in Ceilometer?

Shengjie Min shengjie.min at gmail.com
Tue Jan 14 07:38:32 UTC 2014


>Not directly unfortunately. The information indicating if the VM is on
>or off is included in metadata as part of the state or vm_state field,
>and you can filter on it. However, computing the duration based on this
>state over a period of time is trickier and not supported yet.

@Julien, long time no see, thanks v much for the info:) Filtering on
vm_state field sounds like a short-term way doing it. In a long run, does
this looks like something we need a bp for?

All the best,
Shengjie


On 13 January 2014 17:12, Julien Danjou <julien at danjou.info> wrote:

> On Mon, Jan 13 2014, Shengjie Min wrote:
>
> > In Ceilometer, is there a type of meter allows me to charge users based
> on
> > the uptime of the instances they have instead of cpu, memory utilisation?
>
> Not directly unfortunately. The information indicating if the VM is on
> or off is included in metadata as part of the state or vm_state field,
> and you can filter on it. However, computing the duration based on this
> state over a period of time is trickier and not supported yet.
>
> Cheers,
> --
> Julien Danjou
> # Free Software hacker # independent consultant
> # http://julien.danjou.info
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140114/19ffdd86/attachment.html>


More information about the Openstack mailing list