|Modifier and Type||Method and Description|
Returns measurements for a set of metrics, a given resource, and a time range.
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.
processor- a processor that processes the data as it is read.
start- the start time of this search.
end- the end time of this search.
resource- the resource to query.
metrics- a sequence of metrics to include in the results.
Resultsinstance containing the results of the search.
Copyright © 2015. All rights reserved.