The ceilometer.meter.notifications Module

The ceilometer.meter.notifications Module

class ceilometer.meter.notifications.MeterDefinition(definition_cfg, conf, plugin_manager)[source]

Bases: object

REQUIRED_FIELDS = ['name', 'type', 'event_type', 'unit', 'volume', 'resource_id']
SAMPLE_ATTRIBUTES = ['name', 'type', 'volume', 'unit', 'timestamp', 'user_id', 'project_id', 'resource_id']
match_type(meter_name)[source]
to_samples(message, all_values=False)[source]
class ceilometer.meter.notifications.ProcessMeterNotifications(conf, publisher)[source]

Bases: ceilometer.pipeline.sample.SampleEndpoint

build_sample(notification)[source]

Build sample from provided notification.

event_types = []
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.