The ceilometer.compute.notifications.instance Module

Converters for producing compute sample messages from notification events.

class ceilometer.compute.notifications.instance.ComputeInstanceNotificationBase(manager)[source]

Bases: ceilometer.compute.notifications.instance.UserMetadataAwareInstanceNotificationBase

Convert compute.instance.* notifications into Samples.

class ceilometer.compute.notifications.instance.Instance(manager)[source]

Bases: ceilometer.compute.notifications.instance.ComputeInstanceNotificationBase, ceilometer.agent.plugin_base.NonMetricNotificationBase

get_sample(message)[source]
class ceilometer.compute.notifications.instance.InstanceScheduled(manager)[source]

Bases: ceilometer.compute.notifications.instance.UserMetadataAwareInstanceNotificationBase, ceilometer.agent.plugin_base.NonMetricNotificationBase

get_instance_properties(message)[source]

Retrieve instance properties from notification payload.

get_sample(message)[source]
class ceilometer.compute.notifications.instance.UserMetadataAwareInstanceNotificationBase(manager)[source]

Bases: ceilometer.compute.notifications.ComputeNotificationBase

Consumes notifications containing instance user metadata.

get_instance_properties(message)[source]

Retrieve instance properties from notification payload.

get_sample(message)[source]

Derive sample from notification payload.

process_notification(message)[source]

Previous topic

The ceilometer.compute.discovery Module

Next topic

The ceilometer.compute.pollsters.cpu Module

Project Source

This Page