temporal icon indicating copy to clipboard operation
temporal copied to clipboard

Add history_size_bytes to WorkflowExecutionInfo and PollWorkflowTaskQueueResponse

Open mfateev opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. Controlling a workflow history size is important to keep the system performant. None of the existing APIs exposes the aggregated size of the history.

Describe the solution you'd like Add history_size_bytes to WorkflowExecutionInfo (returned from DescribeWorkflowExecution) and PollWorkflowTaskQueueResponse.

mfateev avatar Dec 18 '20 16:12 mfateev

Should also expose history size to workflow task started event so workflow code can access this info as well as they might use it to decide if continue as new is needed.

yiminc avatar Apr 27 '22 22:04 yiminc