Module org.elasticsearch.server
Class TimeSeriesMetricsService
java.lang.Object
org.elasticsearch.timeseries.support.TimeSeriesMetricsService
Internal service for querying and accessing time series by language that creates an abstraction layer around legacy
metric indices and times series indices.
-
Constructor Summary
ConstructorDescriptionTimeSeriesMetricsService
(Client client, int bucketBatchSize, int docBatchSize, TimeValue staleness) -
Method Summary
Modifier and TypeMethodDescriptionvoid
newMetrics
(String[] indices, IndicesOptions indicesOptions, ActionListener<TimeSeriesMetrics> listener) Returns an interface through which it will be possible to perform multiple time series queries.
-
Constructor Details
-
TimeSeriesMetricsService
-
-
Method Details
-
newMetrics
public void newMetrics(String[] indices, IndicesOptions indicesOptions, ActionListener<TimeSeriesMetrics> listener) Returns an interface through which it will be possible to perform multiple time series queries.- Parameters:
indices
- - a list of indices for the queryindicesOptions
- - options of resolving indiceslistener
- - the result listener
-