Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report state transition number for workflows #1352

Closed
mikhailshilkov opened this issue Mar 4, 2021 · 2 comments
Closed

Report state transition number for workflows #1352

mikhailshilkov opened this issue Mar 4, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@mikhailshilkov
Copy link

Is your feature request related to a problem? Please describe.
I want to evaluate a "complexity" metric of a workflow execution - how much load burden it puts on the Temporal server. See temporalio/maru#4 for context.

Describe the solution you'd like
Temporal server should add this counting feature to the history service. So every workflow should return the number of state transitions it used and include it into the visibility record on close.

@samarabbas
Copy link
Contributor

@mikhailshilkov @alexshtin I thought we already added support for reporting state transitions both as metric and visibility records. Can this issue be closed now?

@alexshtin
Copy link
Member

Yes, this field is added to workflow mutable state and also to advanced visibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants