The ceilometer.dispatcher.database Module

class ceilometer.dispatcher.database.MeterDatabaseDispatcher(conf)[source]

Bases: ceilometer.dispatcher.MeterDispatcherBase

Dispatcher class for recording metering data into database.

The dispatcher class which records each meter into a database configured in ceilometer configuration file.

To enable this dispatcher, the following section needs to be present in ceilometer.conf file

[DEFAULT] meter_dispatchers = database

record_metering_data(data)[source]