I need to create a dashboard that shows the total number of ongoing instances of the specific step function. But the step function service supports only these fields related to the execution: ExecutionThrottled, ExecutionsAborted, ExecutionsFailed, ExecutionsStarted, ExecutionsSucceeded, ExecutionsTimedOut
. (https://docs.aws.amazon.com/step-functions/latest/dg/procedure-cw-metrics.html)
I thought the ongoing executions is calculated like this
ExecutionsRunning = ExecutionsStarted - ExecutionsSucceeded - ExecutionsFailed - ExecutionsAborted - ExecutionsTimedOut
But it seems incorrect. Does anyone have other ideas? Thanks!