The ceilometer.publisher.direct Module

The ceilometer.publisher.direct Module

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

Bases: ceilometer.publisher.ConfigPublisherBase

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=file, …

get_event_dispatcher()[source]
get_sample_dispatcher()[source]
publish_events(events)[source]
publish_samples(samples)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.