|Constructor and Description|
|Modifier and Type||Method and Description|
Returns measurements for a set of metrics, a given resource, and a time range.
public Results find(SampleProcessorBuilder builder, Timestamp start, Timestamp end, Resource resource, Metric... metrics)
Passing a null value for
end serves to make that
end of the temporal range unbounded. For example, a null start will
return all matching measurements up to the end
both a null
end will return all measurements
for the matching
metrics (so be careful).
Note: There is no guarantee that a sample period will include results for every requested metric (or any of them, in fact); Missing samples are recorded with a value of Double.NaN.
Copyright © 2016. All rights reserved.