>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 <[email protected]> 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
>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to