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

Emits billable action metric for UpdateWorkflowExecutionOptions; fixes action metric for StartWorkflowExecution #7552

Merged

Conversation

mastermanu
Copy link
Member

No description provided.

@mastermanu mastermanu requested a review from a team as a code owner April 1, 2025 21:11
…nu/add_update_workflow_execution_opts_grpc_action
Comment on lines -258 to -265
case startWorkflowExecution:
resp, ok := result.(*workflowservice.StartWorkflowExecutionResponse)
if !ok {
return
}
if resp.Started {
metrics.ActionCounter.With(metricsHandler).Record(1, metrics.ActionType("grpc_"+methodName))
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intentional change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this aligns with the documentation changes that I shared yesterday. we charge startworkflowexecution in cloud even if wf is already started

@mastermanu mastermanu enabled auto-merge (squash) April 1, 2025 21:32
@mastermanu mastermanu disabled auto-merge April 1, 2025 21:36
@mastermanu mastermanu merged commit 2b610f1 into main Apr 1, 2025
50 checks passed
@mastermanu mastermanu deleted the manu/add_update_workflow_execution_opts_grpc_action branch April 1, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants