uber-go / cadence-client

Framework for authoring workflows and activities running on top of the Cadence orchestration engine.
https://cadenceworkflow.io
MIT License
339 stars 128 forks source link

Create a new poller thread pool usage metric #1275

Closed timl3136 closed 9 months ago

timl3136 commented 9 months ago

Create a new poller thread pool usage metric for the amount of buffer left in the poller channel. If there are non-remaining, then polling will halt.

What changed? Added a new metric regarding the usage and remaining capacity of the poller channel

Why? We are aiming to understand current poller utilizations and improve the overall utilization as a result. This metric allows us to determine whether there exists a need to tune the amount of buffer of the channel for high traffic customers.

How did you test it? Tested on development environment

Potential risks No risks considering that is only a new metric