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.

TransformerBase.flush(context)[source]

Flush samples cached previously.

Parameters:context – Passed from the data collector.
TransformerBase.handle_sample(context, sample)[source]

Transform a sample.

Parameters:
  • context – Passed from the data collector.
  • sample – A sample.
class ceilometer.transformer.TransformerExtensionManager(namespace)[source]

Bases: stevedore.extension.ExtensionManager

TransformerExtensionManager.get_ext(name)[source]

Previous topic

The ceilometer.transformer.accumulator Module

Next topic

The ceilometer.transformer.conversions Module

This Page