class documentation

class MetricAttributes: (source)

Constructor: MetricAttributes(meter, ref)

View In Hierarchy

Metric attributes using SDK Core.

Method __init__ Initialize attributes.
Method with_additional_attributes Create new attributes with new attributes appended.
Instance Variable _meter Undocumented
Instance Variable _ref Undocumented
def __init__(self, meter: MetricMeter, ref: temporalio.bridge.temporal_sdk_bridge.MetricAttributesRef): (source)

Initialize attributes.

def with_additional_attributes(self, new_attrs: Mapping[str, Union[str, int, float, bool]]) -> MetricAttributes: (source)

Create new attributes with new attributes appended.

Undocumented

Undocumented