ceilometer.dispatcher.file
Module¶ceilometer.dispatcher.file.
FileDispatcher
(*args, **kwargs)[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
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.