Class TimeSeriesMetricsService

java.lang.Object
org.elasticsearch.timeseries.support.TimeSeriesMetricsService

public class TimeSeriesMetricsService extends Object
Internal service for querying and accessing time series by language that creates an abstraction layer around legacy metric indices and times series indices.
  • Constructor Details

    • TimeSeriesMetricsService

      public TimeSeriesMetricsService(Client client, int bucketBatchSize, int docBatchSize, org.elasticsearch.core.TimeValue staleness)
  • 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 query
      indicesOptions - - options of resolving indices
      listener - - the result listener