Menu
Amazon CloudWatch
User Guide

AWS Step Functions Metrics and Dimensions

The following metrics are available for AWS Step Functions. For more information, see Monitoring Step Functions Using CloudWatch in the AWS Step Functions Developer Guide.

Execution Metrics

The AWS/States namespace includes the following metrics for Step Functions executions:

Metric Description
ExecutionTime The interval, in milliseconds, between the time the execution starts and the time it closes.
ExecutionThrottled The number of StateEntered events in addition to retries.
ExecutionsAborted The number of aborted or terminated executions.
ExecutionsFailed The number of failed executions.
ExecutionsStarted The number of started executions.
ExecutionsSucceeded The number of successfully completed executions.
ExecutionsTimedOut The number of executions that time out for any reason.

Dimension for Step Functions Execution Metrics

Dimension Description
StateMachineArn

The ARN of the state machine for the execution in question.

Activity Metrics

The AWS/States namespace includes the following metrics for Step Functions activities:

Metric Description
ActivityRunTime The interval, in milliseconds, between the time the activity starts and the time it closes.
ActivityScheduleTime The interval, in milliseconds, for which the activity stays in the schedule state.
ActivityTime The interval, in milliseconds, between the time the activity is scheduled and the time it closes.
ActivitiesFailed The number of failed activities.
ActivitiesHeartbeatTimedOut The number of activities that time out due to a heartbeat timeout.
ActivitiesScheduled The number of scheduled activities.
ActivitiesStarted The number of started activities.
ActivitiesSucceeded The number of successfully completed activities.
ActivitiesTimedOut The number of activities that time out on close.

Dimension for Step Functions Activity Metrics

Dimension Description

ActivityArn

The ARN of the activity.

Lambda Function Metrics

The AWS/States namespace includes the following metrics for Step Functions Lambda functions:

Metric Description
LambdaFunctionRunTime The interval, in milliseconds, between the time the Lambda function starts and the time it closes.
LambdaFunctionScheduleTime The interval, in milliseconds, for which the Lambda function stays in the schedule state.
LambdaFunctionTime The interval, in milliseconds, between the time the Lambda function is scheduled and the time it closes.
LambdaFunctionsFailed The number of failed Lambda functions.
LambdaFunctionsHeartbeatTimedOut The number of Lambda functions that time out due to a heartbeat timeout.
LambdaFunctionsScheduled The number of scheduled Lambda functions.
LambdaFunctionsStarted The number of started Lambda functions.
LambdaFunctionsSucceeded The number of successfully completed Lambda functions.
LambdaFunctionsTimedOut The number of Lambda functions that time out on close.

Dimension for Step Functions Lambda Function Metrics

Dimension Description

LambdaFunctionArn

The ARN of the Lambda function.