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.
the data stream of the metric value, for trending over time.
the data stream of the metric value, for trending over time. Metrics that are already averages (e.g. system load average) or finite (e.g. as number of processors), are not trended.
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.