The panko.publisher.database
Module¶
-
class
panko.publisher.database.
DatabasePublisher
(ceilo_conf, parsed_url)¶ Bases:
object
Publisher class for recording event data into database.
The publisher class which records each event into a database configured in Ceilometer configuration file.
To enable this publisher, the following section needs to be present in panko.conf file
[database] connection = mysql+pymysql://panko:password@127.0.0.1/panko?charset=utf8
Then, panko:// should be added to Ceilometer’s event_pipeline.yaml
-
publish_events
(events)¶
-