Bases: ceilometer.transformer.TransformerBase
Multi meter arithmetic transformer.
Transformer that performs arithmetic operations
over one or more meters and/or their metadata.
-
flush()[source]
-
handle_sample(_sample)[source]
-
classmethod parse_expr(expr)[source]
Transforms meter names in the expression into valid identifiers.
Parameters: | expr – unescaped expression |
Returns: | A tuple of the escaped expression and a dict representing
the translation of meter names into Python identifiers |