[Openstack] Ceilometer - info on VM creation time

Ildiko Vancsa ildiko.vancsa at gmail.com
Sat Dec 7 17:26:18 UTC 2013


Hi,

There is a blueprint about providing extended query filtering functionality
in Ceilometer API, like the reverse timestamp ordering:
https://blueprints.launchpad.net/ceilometer/+spec/complex-filter-expressions-in-api-queries.
It is targeted for Icehouse.

Best Regards,
Ildiko


2013/12/7 Eoghan Glynn <eglynn at redhat.com>

>
> The timestamp on the first instance sample recorded by the ceilometer
> with give you that.
>
> A brute-force way of retrieving it:
>
>   ceilometer sample-list -m instance -q "resource_id=$INSTANCE_ID" | grep
> instance | tail -1 | awk '{printf("%s created at %s\n", $2, $(NF-1))}'
>
> (it would be better if a reverse-timestampt ordering could be specified
> via the CLI, in which case we could just limit to result set to 1).
>
> Cheers,
> Eoghan
>
> ----- Original Message -----
> > Hi,
> >
> > Is it possible to get info about creation time of a particular VM via
> > ceilometer? Like, this VM was created at that date.
> >
> > Thanks,
> > NM
> >
> >
> > _______________________________________________
> > Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > Post to     : openstack at lists.openstack.org
> > Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131207/8f3ce267/attachment.html>


More information about the Openstack mailing list