Bases: ceilometer.dispatcher.MeterDispatcherBase
Dispatcher class for recording metering data into database.
The dispatcher class records each meter into the gnocchi service configured in ceilometer configuration file. An example configuration may look like the following:
[dispatcher_gnocchi] url = http://localhost:8041 archive_policy = low
To enable this dispatcher, the following section needs to be present in ceilometer.conf file
[DEFAULT] meter_dispatchers = gnocchi
Bases: collections.defaultdict
defaultdict with lock to handle threading
Dictionary only deletes if nothing is accessing dict and nothing is holding lock to be deleted. If both cases are not true, it will skip delete.