Open dhiaayachi opened 3 weeks ago
Thank you for the suggestion! We appreciate the feedback.
While we don't have a service metric for the number of running executions currently, you can obtain this information using Temporal's visibility API.
Alternatively, you can use the ListWorkflowExecutions
method with a WorkflowTypeFilter
to query for all running executions of a specific workflow type.
Let us know if you have any further questions.
Thank you for your suggestion! We appreciate your feedback and understand the need for a metric on the number of running executions.
While we don't currently have a built-in metric for that, you can achieve similar functionality by implementing a custom workflow that tracks running executions using a counter and updating it within your workflow logic.
You can find more information on custom workflows and counters in our documentation: https://docs.temporal.io/
Question on how to get number of running executions outside of visibility keeps coming up. Would be nice to have a service metric (gauge) on number of running executions instead of just completion counters.
Thanks.