losing meters when mongodb unavailable

Asked by Tomasz Wanczyk on 2013-03-26

Hi,

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

Language:
English Edit question
Status:
Solved
For:
Ceilometer Edit question
Assignee:
No assignee Edit question
Solved by:
Doug Hellmann
Solved:
2013-03-26
Last query:
2013-03-26
Last reply:
2013-03-26
Doug Hellmann (doug-hellmann) said : #1

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?

Tomasz Wanczyk (twanczyk) said : #2

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.

Best Doug Hellmann (doug-hellmann) said : #3

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.

Tomasz Wanczyk (twanczyk) said : #4

Thanks Doug Hellmann, that solved my question.