class documentation

class BufferedMetric(Protocol): (source)

View In Hierarchy

A metric for a buffered update.

The same metric for the same name and runtime is guaranteed to be the exact same object for performance reasons. This means py`id` will be the same for the same metric across updates.

Property description Get the description of the metric if any.
Property kind Get the metric kind.
Property name Get the name of the metric.
Property unit Get the unit of the metric if any.

Get the description of the metric if any.

Get the name of the metric.

Get the unit of the metric if any.