jihoonson commented on a change in pull request #6657: Add TaskCountStatsMonitor to monitor task count stats URL: https://github.com/apache/incubator-druid/pull/6657#discussion_r236915222
########## File path: indexing-service/src/main/java/org/apache/druid/indexing/overlord/TaskMaster.java ########## @@ -41,14 +41,16 @@ import org.apache.druid.java.util.emitter.service.ServiceEmitter; import org.apache.druid.server.DruidNode; import org.apache.druid.server.coordinator.CoordinatorOverlordServiceConfig; +import org.apache.druid.server.metrics.TaskCountStatsProvider; +import java.util.Map; import java.util.concurrent.atomic.AtomicReference; import java.util.concurrent.locks.ReentrantLock; /** * Encapsulates the indexer leadership lifecycle. */ -public class TaskMaster +public class TaskMaster implements TaskCountStatsProvider Review comment: Does `TaskQueue` also need to be `TaskCountStatsProvider`? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
