The ceilometer.transformer
ModuleΒΆ
-
class
ceilometer.transformer.
Namespace
(seed)[source] Bases:
object
Encapsulates the namespace.
Encapsulation is done by wrapping the evaluation of the configured rule. This allows nested dicts to be accessed in the attribute style, and missing attributes to yield false when used in a boolean expression.
-
class
ceilometer.transformer.
TransformerBase
(**kwargs)[source] Bases:
object
Base class for plugins that transform the sample.
-
flush
(context)[source] Flush samples cached previously.
Parameters: context – Passed from the data collector.
-
handle_sample
(context, sample)[source] Transform a sample.
Parameters: - context – Passed from the data collector.
- sample – A sample.
-