The ceilometer.dispatcher.file Module

class ceilometer.dispatcher.file.FileDispatcher(conf)[source]

Bases: ceilometer.dispatcher.MeterDispatcherBase, ceilometer.dispatcher.EventDispatcherBase

Dispatcher class for recording metering data to a file.

The dispatcher class which logs each meter and/or event into a file configured in ceilometer configuration file. An example configuration may look like the following:

[dispatcher_file] file_path = /tmp/meters

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

[DEFAULT] meter_dispatchers = file event_dispatchers = file

record_events(events)[source]
record_metering_data(data)[source]

Previous topic

The ceilometer.dispatcher.database Module

Next topic

The ceilometer.dispatcher.gnocchi Module

Project Source

This Page