oslo_metrics package

Subpackages

Submodules

oslo_metrics.message_router module

class oslo_metrics.message_router.MessageRouter

Bases: object

dispatch(metric)
process(raw_string)

oslo_metrics.message_type module

class oslo_metrics.message_type.Metric(module, name, action, **labels)

Bases: object

classmethod from_json(encoded)
to_json()
class oslo_metrics.message_type.MetricAction(action, value)

Bases: object

actions = ['inc', 'observe']
classmethod from_dict(metric_action_dict)
classmethod validate(metric_action_dict)
exception oslo_metrics.message_type.MetricValidationError(message=None)

Bases: Exception

exception oslo_metrics.message_type.UnSupportedMetricActionError(message=None)

Bases: Exception

Module contents