March 2, 2022 release notes¶
Updated metrics functions¶
rate()function has been simplified, it now has the same behavior for both
cumulativeCountertype metrics. If the next recorded value for a metric is less than the previous, we presume the metric was reset back to zero between observations.
rate()now always returns a positive value.
gaugebehavior, where the rate could be negative, was very rarely used. This update simplifies the more common case, and also applies to the
If you need the original
gaugetype behavior, where a decreasing value results in a negative rate, use