The ceilometer.pipeline
Module¶
-
exception
ceilometer.pipeline.
ConfigException
(cfg_type, message, cfg)[source]¶ Bases:
exceptions.Exception
-
class
ceilometer.pipeline.
ConfigManagerBase
(conf)[source]¶ Bases:
object
Base class for managing configuration file refresh
-
class
ceilometer.pipeline.
EventPipeline
(conf, source, sink)[source]¶ Bases:
ceilometer.pipeline.Pipeline
Represents a pipeline for Events.
-
class
ceilometer.pipeline.
EventPipelineTransportManager
(conf)[source]¶ Bases:
ceilometer.pipeline._PipelineTransportManager
-
class
ceilometer.pipeline.
EventSink
(conf, cfg, transformer_manager, publisher_manager)[source]¶ Bases:
ceilometer.pipeline.Sink
-
class
ceilometer.pipeline.
EventSource
(cfg)[source]¶ Bases:
ceilometer.pipeline.PipelineSource
Represents a source of events.
In effect it is a set of notification handlers capturing events for a set of matching notifications.
-
class
ceilometer.pipeline.
Pipeline
(conf, source, sink)[source]¶ Bases:
object
Represents a coupling between a sink and a corresponding source.
-
class
ceilometer.pipeline.
PipelineManager
(conf, cfg_file, transformer_manager, p_type={'source': <class 'ceilometer.pipeline.SampleSource'>, 'pipeline': <class 'ceilometer.pipeline.SamplePipeline'>, 'name': 'sample', 'sink': <class 'ceilometer.pipeline.SampleSink'>})[source]¶ Bases:
ceilometer.pipeline.ConfigManagerBase
Pipeline Manager
Pipeline manager sets up pipelines according to config file
-
class
ceilometer.pipeline.
PipelineSource
(cfg)[source]¶ Bases:
ceilometer.pipeline.Source
Represents a source of samples or events.
-
class
ceilometer.pipeline.
PollingManager
(conf, cfg_file)[source]¶ Bases:
ceilometer.pipeline.ConfigManagerBase
Polling Manager
Polling manager sets up polling according to config file.
-
class
ceilometer.pipeline.
PollingSource
(cfg)[source]¶ Bases:
ceilometer.pipeline.Source
Represents a source of pollsters
In effect it is a set of pollsters emitting samples for a set of matching meters. Each source encapsulates meter name matching, polling interval determination, optional resource enumeration or discovery.
-
class
ceilometer.pipeline.
SamplePipeline
(conf, source, sink)[source]¶ Bases:
ceilometer.pipeline.Pipeline
Represents a pipeline for Samples.
-
class
ceilometer.pipeline.
SamplePipelineTransportManager
(conf)[source]¶ Bases:
ceilometer.pipeline._PipelineTransportManager
-
class
ceilometer.pipeline.
SampleSink
(conf, cfg, transformer_manager, publisher_manager)[source]¶ Bases:
ceilometer.pipeline.Sink
-
class
ceilometer.pipeline.
SampleSource
(cfg)[source]¶ Bases:
ceilometer.pipeline.PipelineSource
Represents a source of samples.
In effect it is a set of notification handlers processing samples for a set of matching meters. Each source encapsulates meter name matching and mapping to one or more sinks for publication.
-
class
ceilometer.pipeline.
Sink
(conf, cfg, transformer_manager, publisher_manager)[source]¶ Bases:
object
Represents a sink for the transformation and publication of data.
Each sink config is concerned only with the transformation rules and publication conduits for data.
In effect, a sink describes a chain of handlers. The chain starts with zero or more transformers and ends with one or more publishers.
The first transformer in the chain is passed data from the corresponding source, takes some action such as deriving rate of change, performing unit conversion, or aggregating, before passing the modified data to next step.
The subsequent transformers, if any, handle the data similarly.
At the end of the chain, publishers publish the data. The exact publishing method depends on publisher type, for example, pushing into data storage via the message bus providing guaranteed delivery, or for loss-tolerant data UDP may be used.
If no transformers are included in the chain, the publishers are passed data directly from the sink which are published unchanged.
-
class
ceilometer.pipeline.
Source
(cfg)[source]¶ Bases:
object
Represents a generic source