The panko.publisher.database Module

The panko.publisher.database Module

class panko.publisher.database.DatabasePublisher(parsed_url)[source]

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)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.