-
Notifications
You must be signed in to change notification settings - Fork 148
Description
Currently WorkerInfo exposes numInFlightActivities, numInFlightLocalActivities, numHeartbeatingActivities etc
which is super useful.
Feature request to also expose a count per ActivityType. Could be a Map where key is activityType and value current "in flight" number of this activity type.
This feature would be really useful for different types of debugging for example, when user detects that
all worker activity task slots are full, basically worker stops at that point polling for more activity tasks, they can check what activity types are occupying worker and not releasing task slot.
Its ok I think if this was maybe behind a flag like env var to turn it on. Should probably not be a worker config which would require a worker restart :)
Believe ActivityType should be exposed in activityOperator.