Re: [Openstack] Nova Compute API - getting server start/stop times after the fact?

2013-05-10 Thread Jacob Godin
I would suggest checking out StackTach over at Racker Labs ->
https://github.com/rackerlabs/stacktach. It will store and report this data
for you from your rabbit/qpid queues.


On Fri, May 10, 2013 at 3:26 PM, Daniel Murphy  wrote:

> Say it's midnight, and I want to know how many instances a tenant had
> running in the past hour or day…
>
> I know the MySQL DB contains "historical" started, changed and stopped
> times for each instance/server.
>
> Is there an API call to access that data (I can't find one), or do I need
> to go to the DB directly for the info?
>
> As a side note, can anyone explain if/how/when Nova cleans up the instance
> table periodically in Folsom?
>
> Thanks,
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Nova Compute API - getting server start/stop times after the fact?

2013-05-10 Thread Daniel Murphy
Say it's midnight, and I want to know how many instances a tenant had
running in the past hour or dayŠ

I know the MySQL DB contains "historical" started, changed and stopped times
for each instance/server.

Is there an API call to access that data (I can't find one), or do I need to
go to the DB directly for the info?

As a side note, can anyone explain if/how/when Nova cleans up the instance
table periodically in Folsom?

Thanks,





___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp