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 ([email protected]) 
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 <[email protected]>

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

_______________________________________________
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

_______________________________________________
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