temporal icon indicating copy to clipboard operation
temporal copied to clipboard

Metric specific to workflow retries per namespace

Open tsurdilo opened this issue 10 months ago • 3 comments

Currently we seem to only have workflow_retry_backoff_timer available to check for count of workflow retries.

Feature request is to add workflow_retried counter metric that would be able to be filtered by namespace.

Thanks.

tsurdilo avatar Apr 19 '24 18:04 tsurdilo

@tsurdilo how are user going to use this metrics? Do we need to tag the workflowID on the metrics? That will have cardinality issue.

yiminc avatar Apr 26 '24 21:04 yiminc

The attempt count should also be available from within workflow. I think workflow.GetInfo() should return it already.

yiminc avatar Apr 26 '24 21:04 yiminc

Hi folks, @tsurdilo was kind enough to make this issue from a conversation we were having on Slack. Basically, we are in a situation where we manage the control plane, but not the workflows themselves. We would like to know the global retry count, ideally by namespace, at a given time.

clayzermk1 avatar May 06 '24 20:05 clayzermk1