class documentation
class _NoopMetric(MetricCommon): (source)
Known subclasses: temporalio.common._NoopMetricCounter
, temporalio.common._NoopMetricGauge
, temporalio.common._NoopMetricGaugeFloat
, temporalio.common._NoopMetricHistogram
, temporalio.common._NoopMetricHistogramFloat
, temporalio.common._NoopMetricHistogramTimedelta
Constructor: _NoopMetric(name, description, unit)
Undocumented
Method | __init__ |
Undocumented |
Method | with |
Create a new metric with the given attributes appended to the current set. |
Property | description |
Description for the metric if any. |
Property | name |
Name for the metric. |
Property | unit |
Unit for the metric if any. |
Instance Variable | _description |
Undocumented |
Instance Variable | _name |
Undocumented |
Instance Variable | _unit |
Undocumented |
Create a new metric with the given attributes appended to the current set.
Parameters | |
additionalMetricAttributes | Additional attributes to append to the current set. |
Returns | |
Self | New metric. |
Raises | |
TypeError | Attribute values are not the expected type. |