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.


Send an event message for publishing

Parameters:events – events from pipeline after transformation

Send a metering message for publishing

Parameters:samples – Samples from pipeline after transformation

Previous topic

The ceilometer.publisher.messaging Module

Next topic

The ceilometer.publisher.udp Module

Project Source

This Page