MetricCollector.values

T[] values(Duration window)

Gets all values within a time window.

Parameters

windowThe duration to look back from now.

Returns

An array of values within the window.