Is your feature request related to a problem? Please describe.
task_slots_used, task_slots_available, and num_pollers metrics only get emitted from the SDK during a transition in the worker's state
Describe the solution you'd like
periodically re-emits these gauges regardless of state transitions
Additional context
In a longer running workflow where workers only allow 1 task slot, these metrics can appear dead since there is nothing being emitted since there are no worker state changes.
Temporal internal support ticket 30539
Is your feature request related to a problem? Please describe.
task_slots_used,task_slots_available, andnum_pollersmetrics only get emitted from the SDK during a transition in the worker's stateDescribe the solution you'd like
periodically re-emits these gauges regardless of state transitions
Additional context
In a longer running workflow where workers only allow 1 task slot, these metrics can appear dead since there is nothing being emitted since there are no worker state changes.
Temporal internal support ticket 30539