Publish a sample using the preferred RPC mechanism.
-
exception ceilometer.publisher.messaging.DeliveryFailure(message=None, cause=None)[source]
Bases: exceptions.Exception
-
class ceilometer.publisher.messaging.EventNotifierPublisher(parsed_url)[source]
Bases: ceilometer.publisher.messaging.NotifierPublisher
-
class ceilometer.publisher.messaging.MessagingPublisher(parsed_url)[source]
Bases: ceilometer.publisher.PublisherBase
-
flush()[source]
-
publish_events(context, events)[source]
Send an event message for publishing
Parameters: |
- context – Execution context from the service or RPC call
- events – events from pipeline after transformation
|
-
publish_samples(context, samples)[source]
Publish samples on RPC.
Parameters: |
- context – Execution context from the service or RPC call.
- samples – Samples from pipeline after transformation.
|
-
class ceilometer.publisher.messaging.NotifierPublisher(parsed_url, default_topic)[source]
Bases: ceilometer.publisher.messaging.MessagingPublisher
-
class ceilometer.publisher.messaging.SampleNotifierPublisher(parsed_url)[source]
Bases: ceilometer.publisher.messaging.NotifierPublisher