Package org.opensearch.search.backpressure.trackers
package org.opensearch.search.backpressure.trackers
This package contains trackers to check if resource usage limits are breached on a node or task level.
-
ClassDescriptionCpuUsageTracker evaluates if the task has consumed too many CPU cycles than allowed.Stats related to CpuUsageTracker.ElapsedTimeTracker evaluates if the task has been running for more time than allowed.Stats related to ElapsedTimeTracker.HeapUsageTracker evaluates if the task has consumed too much heap than allowed.Stats related to HeapUsageTracker.NodeDuressTracker is used to check if the node is in duress.TaskResourceUsageTracker is used to track completions and cancellations of search related tasks.Represents the tracker's state as seen in the stats API.Defines the type of TaskResourceUsageTracker.