losing meters when mongodb unavailable

Asked by Tomasz Wanczyk


Is there some way to prevent from losing meters when mongodb (dont have any experience with other dbs with ceilo) is unavailable. I have tested swift and sure it happens with storage.objects.incoming.bytes and outgoing.

Question information

English Edit question
Ceilometer Edit question
No assignee Edit question
Solved by:
Doug Hellmann
Last query:
Last reply:
Revision history for this message
Doug Hellmann (doug-hellmann) said :

Do you mean you want to store the data somewhere other than mongo, or that you want ceilometer to not process the data when mongo is not available?

Revision history for this message
Tomasz Wanczyk (twanczyk) said :

Yes, ceilometer-collector shouldnt process the data. I think work should be done by rabbit in this situation.
The goal is to save meters when mongo is unavailable. As soon as mongo will back collector should save meters in mongo.

Revision history for this message
Best Doug Hellmann (doug-hellmann) said :

If you shut down the collector before shutting down mongo you'll get this behavior now. I don't see is changing the way the collector works to deal with this explicitly.

Revision history for this message
Tomasz Wanczyk (twanczyk) said :

Thanks Doug Hellmann, that solved my question.