Updates the data point, and if defined, updates the data stream (average).
Updates the data point, and if defined, updates the data stream (average). Returns the updated metric.
May involve rounding or truncation.
May involve rounding or truncation.
An defined value is neither negative nor NaN/Infinite:
An defined value is neither negative nor NaN/Infinite:
true if this value is smoothed
the metric name
Returns true if that
is tracking the same metric as this.
Returns true if that
is tracking the same metric as this.
The numerical value of the average, if defined, otherwise the latest value
the metric value, which must be a valid numerical value, a valid value is neither negative nor NaN/Infinite.
(metric: StringAdd).self
(metric: StringFormat).self
(metric: ArrowAssoc[Metric]).x
(Since version 2.10.0) Use leftOfArrow
instead
(metric: Ensuring[Metric]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Metrics key/value.
Equality of Metric is based on its name.