The ceilometer.meter.notifications Module

exception ceilometer.meter.notifications.InvalidPayload[source]

Bases: exceptions.Exception

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

Bases: object

match_type(meter_name)[source]
parse_fields(field, message, all_values=False)[source]
parse_jsonpath(field)[source]
exception ceilometer.meter.notifications.MeterDefinitionException(message, definition_cfg)[source]

Bases: exceptions.Exception

class ceilometer.meter.notifications.ProcessMeterNotifications(manager)[source]

Bases: ceilometer.agent.plugin_base.NotificationBase

static get_project_id(d, notification_body)[source]
get_targets(conf)[source]

Return a sequence of oslo_messaging.Target

It is defining the exchange and topics to be connected for this plugin. :param conf: Configuration. #TODO(prad): This should be defined in the notification agent

static get_user_id(d, notification_body)[source]
process_notification(notification_body)[source]

Previous topic

The ceilometer.messaging Module

Next topic

The ceilometer.middleware Module

This Page