Package org.apache.druid.server.metrics
Interface TaskCountStatsProvider
public interface TaskCountStatsProvider
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.getStats()Collects all task level stats.Deprecated.Deprecated.
-
Method Details
-
getSuccessfulTaskCount
Deprecated.Return the number of successful tasks for each datasource and task type during emission period. -
getFailedTaskCount
Deprecated.Return the number of failed tasks for each datasource and task type during emission period. -
getRunningTaskCount
Deprecated.Return the number of current running tasks for each datasource and task type. -
getPendingTaskCount
Deprecated.Return the number of current pending tasks for each datasource and task type. -
getWaitingTaskCount
Deprecated.Return the number of current waiting tasks for each datasource and task type. -
getStats
CoordinatorRunStats getStats()Collects all task level stats. This method deprecates the other task stats methods such asgetPendingTaskCount(),getWaitingTaskCount()and will replace them in a future release.- Returns:
- All task stats collected since the previous invocation of this method.
-