Class Metric

Progress metric is (string, int|float|string) pair.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes
NameDescription
strname
Required. Metric name, e.g., "nodes total", "percent done".
intint_value
For metrics with integer value. This field is a member of `oneof`_ ``value``.
floatdouble_value
For metrics with floating point value. This field is a member of `oneof`_ ``value``.
strstring_value
For metrics with custom values (ratios, visual progress, etc.). This field is a member of `oneof`_ ``value``.

Inheritance

builtins.object > proto.message.Message > Metric