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.
Metrics key/value.
Equality of Metric is based on its name.