[Openstack] Ceilometer - info on VM creation time
Nick Maslov
azpekt at gmail.com
Mon Dec 9 14:38:29 UTC 2013
Thanks Eoghan - that is what I was looking for exactly.
Ildiko - thanks, will wait for this to be implemented.
Cheers,
NM
--
Nick Maslov
Sent with Airmail
On December 7, 2013 at 7:26:18 PM, Ildiko Vancsa (ildiko.vancsa at gmail.com) wrote:
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/20131209/2aa269d5/attachment.html>
More information about the Openstack
mailing list