← Back to team overview

openstack team mailing list archive

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

 

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 <murphstein@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References