temporalio.runtime.BufferedMetric
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.

description: str | None = (source)

Get the description of the metric if any.

Get the name of the metric.

Get the unit of the metric if any.