I've noticed that metric taskSlot/idle/count that is part of TaskSlotCountStatsMonitor is not excluding slots from disabled workers.
I'm running overlord in httpRemote mode and it seems like this metric should account for it - it calls for getWorkersEligibleToRunTasks() which checks if the worker isEnabled(), but then when I connect to the middlemanager instance I get:
Affected Version
29.0.1
Description
I've noticed that metric
taskSlot/idle/count
that is part ofTaskSlotCountStatsMonitor
is not excluding slots from disabled workers. I'm running overlord in httpRemote mode and it seems like this metric should account for it - it calls for getWorkersEligibleToRunTasks() which checks if the worker isEnabled(), but then when I connect to the middlemanager instance I get:So in the end I'm kinda confused why the metric doesn't show proper value - I guess I'm missing something while reading the code..?