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_r236911467
########## File path: indexing-service/src/main/java/org/apache/druid/indexing/overlord/TaskQueue.java ########## @@ -100,6 +103,11 @@ private static final EmittingLogger log = new EmittingLogger(TaskQueue.class); + private final Map<String, AtomicLong> totalSuccessfulTaskCount = new ConcurrentHashMap<>(); + private final Map<String, AtomicLong> totalFailedTaskCount = new ConcurrentHashMap<>(); + private Map<String, Long> prevSuccessfulTaskCount = new HashMap<>(); Review comment: How about `prevTotalSuccessfulTaskCount`? Same for `prevFailedTaskCount`. ---------------------------------------------------------------- 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]
