The ceilometer.publisher.direct Module

class ceilometer.publisher.direct.DirectPublisher(parsed_url)[source]

Bases: ceilometer.publisher.PublisherBase

A publisher that allows saving directly from the pipeline.

Samples are saved to a configured dispatcher. This is useful where it is desirable to limit the number of external services that are required.

By default, the database dispatcher is used to select another one we can use direct://?dispatcher=gnocchi, direct://?dispatcher=http, direct://?dispatcher=log, ...

get_event_dispatcher()[source]
get_sample_dispatcher()[source]
publish_events(events)[source]
publish_samples(samples)[source]

Previous topic

The ceilometer.pipeline Module

Next topic

The ceilometer.publisher.file Module

Project Source

This Page