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]

Previous topic

The panko.opts Module

Next topic

The panko.service Module

Project Source

This Page