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

adding serviceBusy tag for transient-poller-failure counter metric. #1212

Closed mindaugasbarcauskas closed 1 year ago

mindaugasbarcauskas commented 1 year ago

What changed?

Adding cause tag for poller transient failure metric to determine if the cause of the error is serviceBusy error which means that the pollers are being ratelimited.

Why? With this it will be now possible to configure alerts in case a service is severely rate limited.

How did you test it? Existing tests since only added tag to metric.

Potential risks

low risk change.