Module org.elasticsearch.xcore
Class TimeSeriesUsageTransportAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<XPackUsageRequest,XPackUsageFeatureResponse>
org.elasticsearch.action.support.local.TransportLocalClusterStateAction<XPackUsageRequest,XPackUsageFeatureResponse>
org.elasticsearch.xpack.core.action.XPackUsageFeatureTransportAction
org.elasticsearch.xpack.core.action.TimeSeriesUsageTransportAction
Exposes the time series telemetry via the xpack usage API. We track the following only for time series data streams:
- time series data stream count
- time series backing indices of these time series data streams
- the feature that downsamples the time series data streams, we use the write index to avoid resolving templates,
this might cause a small delay in the counters (backing indices, downsampling rounds).
- For ILM specifically, we count the phases that have configured downsampling in the policies used in the time series data streams.
- When elasticsearch is running in DLM only mode, we skip all the ILM metrics.
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.local.TransportLocalClusterStateAction
clusterService, executorFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTimeSeriesUsageTransportAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, ProjectResolver projectResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidlocalClusterStateOperation(Task task, XPackUsageRequest request, ClusterState state, ActionListener<XPackUsageFeatureResponse> listener) Methods inherited from class org.elasticsearch.xpack.core.action.XPackUsageFeatureTransportAction
checkBlockMethods inherited from class org.elasticsearch.action.support.local.TransportLocalClusterStateAction
doExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Constructor Details
-
TimeSeriesUsageTransportAction
@Inject public TimeSeriesUsageTransportAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, ProjectResolver projectResolver)
-
-
Method Details
-
localClusterStateOperation
protected void localClusterStateOperation(Task task, XPackUsageRequest request, ClusterState state, ActionListener<XPackUsageFeatureResponse> listener) - Specified by:
localClusterStateOperationin classTransportLocalClusterStateAction<XPackUsageRequest,XPackUsageFeatureResponse>
-