class documentation

Undocumented

Method __init__ Undocumented
Method create_counter Create a counter metric for adding values.
Method create_gauge Create a gauge metric for setting values.
Method create_histogram Create a histogram metric for recording values.
Method with_additional_attributes Create a new metric meter with the given attributes appended to the current set.
Instance Variable _core_attrs Undocumented
Instance Variable _core_meter Undocumented

Inherited from MetricMeter:

Class Variable noop Metric meter implementation that does nothing.
def create_counter(self, name: str, description: Optional[str] = None, unit: Optional[str] = None) -> temporalio.common.MetricCounter: (source)

Create a counter metric for adding values.

Parameters
name:strName for the metric.
description:Optional[str]Optional description for the metric.
unit:Optional[str]Optional unit for the metric.
Returns
temporalio.common.MetricCounterCounter metric.
def create_gauge(self, name: str, description: Optional[str] = None, unit: Optional[str] = None) -> temporalio.common.MetricGauge: (source)

Create a gauge metric for setting values.

Parameters
name:strName for the metric.
description:Optional[str]Optional description for the metric.
unit:Optional[str]Optional unit for the metric.
Returns
temporalio.common.MetricGaugeGauge metric.
def create_histogram(self, name: str, description: Optional[str] = None, unit: Optional[str] = None) -> temporalio.common.MetricHistogram: (source)

Create a histogram metric for recording values.

Parameters
name:strName for the metric.
description:Optional[str]Optional description for the metric.
unit:Optional[str]Optional unit for the metric.
Returns
temporalio.common.MetricHistogramHistogram metric.
def with_additional_attributes(self, additional_attributes: temporalio.common.MetricAttributes) -> temporalio.common.MetricMeter: (source)

Create a new metric meter with the given attributes appended to the current set.

Parameters
additional_attributes:temporalio.common.MetricAttributesAdditional attributes to append to the current set.
Returns
temporalio.common.MetricMeterNew metric meter.
Raises
TypeErrorAttribute values are not the expected type.
_core_attrs = (source)

Undocumented

_core_meter = (source)

Undocumented