The ceilometer.publisher.test Module
Publish a sample in memory, useful for testing
-
class ceilometer.publisher.test.TestPublisher(parsed_url)[source]
Bases: ceilometer.publisher.PublisherBase
Publisher used in unit testing.
-
TestPublisher.publish_samples(context, samples)[source]
Send a metering message for publishing
Parameters: |
- context – Execution context from the service or RPC call
- samples – Samples from pipeline after transformation
|