Class Metric (2.0.1)

Metric(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
name str
Metric name, required. e.g., "nodes total", "percent done".
int_value int
For metrics with integer value.
double_value float
For metrics with floating point value.
string_value str
For metrics with custom values (ratios, visual progress, etc.).