The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that coordinate work across distributed components. Amazon SWF gives full control over implementing and coordinating tasks without worrying about underlying complexities such as tracking their progress and maintaining their state.

In Amazon SWF, a task represents a logical unit of work that is performed by a component of your application. Coordinating tasks across the application involves managing intertask dependencies, scheduling, and concurrency in accordance with the logical flow of the application.

External reference

Amazon Simple Workflow Service

Setup

To set up the AWS integration and discover the AWS service, go to AWS Integration Discovery Profile and select SWF.

Event support

CloudTrail event support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

CloudWatch alarm support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

Supported metrics

Domain metrics

OpsRamp MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_swf_PendingTasksPendingTasksPending TasksCountSumThe count of pending tasks in a 1 minute interval for a specific Task List.
aws_swf_ConsumedLimitConsumedLimitConsumed LimitNoneAverageThe amount of general limit that has been consumed.
aws_swf_ProvisionedLimitProvisionedLimitProvisioned LimitNoneAverageThe amount of general limit that is provisioned to the account.

Activity type metrics

OpsRamp MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_swf_WorkflowStartToCloseTimeWorkflowStartToCloseTimeWorkflow Start To Close TimeMillisecondsAverageThe time, in milliseconds, between the time the workflow started and when it closed.
aws_swf_WorkflowsCanceledWorkflowsCanceledWorkflows CanceledCountSumThe count of workflows that were canceled.
aws_swf_WorkflowsCompletedWorkflowsCompletedWorkflows CompletedCountSumThe count of workflows that completed.
aws_swf_WorkflowsContinuedAsNewWorkflowsContinuedAsNewWorkflows Continued As NewCountSumThe count of workflows that continued as new.
aws_swf_WorkflowsFailedWorkflowsFailedWorkflows FailedCountSumThe count of workflows that failed.
aws_swf_WorkflowsTerminatedWorkflowsTerminatedWorkflows TerminatedCountSumThe count of workflows that were terminated.
aws_swf_WorkflowsTimedOutWorkflowsTimedOutWorkflows Timed OutCountSumThe count of workflows that timed out, for any reason.
aws_swf_DecisionTaskScheduleToStartTimeDecisionTaskScheduleToStartTimeDecision Task Schedule To Start TimeMillisecondsAverageThe time interval, in milliseconds, between the time that the decision task was scheduled and when it was picked up by a worker and started.
aws_swf_DecisionTaskStartToCloseTimeDecisionTaskStartToCloseTimeDecision Task Start To Close TimeMillisecondsAverageThe time interval, in milliseconds, between the time that the decision task was started and when it closed.
aws_swf_DecisionTasksCompletedDecisionTasksCompletedDecision Tasks CompletedCountSumThe count of decision tasks that have been completed.
aws_swf_StartedDecisionTasksTimedOutOnCloseStartedDecisionTasksTimedOutOnCloseStarted Decision Tasks Timed Out On CloseCountSumThe count of decision tasks that started but timed out on closing.

Workflow type metrics

OpsRamp MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_swf_ActivityTaskScheduleToCloseTimeActivityTaskScheduleToCloseTimeActivity Task Schedule To Close TimeMillisecondsAverageThe time interval, in milliseconds, between the time when the activity was scheduled and when it closed.
aws_swf_ActivityTaskScheduleToStartTimeActivityTaskScheduleToStartTimeActivity Task Schedule To Start TimeMillisecondsAverageThe time interval, in milliseconds, between the time when the activity task was scheduled and when it started.
aws_swf_ActivityTaskStartToCloseTimeActivityTaskStartToCloseTimeActivity Task Start To Close TimeMillisecondsAverageThe time interval, in milliseconds, between the time when the activity task started and when it closed.
aws_swf_ActivityTasksCanceledActivityTasksCanceledActivity Tasks CanceledCountSumThe count of activity tasks that were canceled.
aws_swf_ActivityTasksCompletedActivityTasksCompletedActivity Tasks CompletedCountSumThe count of activity tasks that completed.
aws_swf_ActivityTasksFailedActivityTasksFailedActivity Tasks FailedCountSumThe count of activity tasks that failed.
aws_swf_ScheduledActivityTasksTimedOutOnCloseScheduledActivityTasksTimedOutOnCloseScheduled Activity Tasks Timed Out On CloseCountSumThe count of activity tasks that were scheduled but timed out on close.
aws_swf_ScheduledActivityTasksTimedOutOnStartScheduledActivityTasksTimedOutOnStartScheduled Activity Tasks Timed Out On StartCountSumThe count of activity tasks that were scheduled but timed out on start.
aws_swf_StartedActivityTasksTimedOutOnCloseStartedActivityTasksTimedOutOnCloseStarted Activity Tasks Timed Out On CloseCountSumThe count of activity tasks that were started but timed out on close.
aws_swf_StartedActivityTasksTimedOutOnHeartbeatStartedActivityTasksTimedOutOnHeartbeatStarted Activity Tasks Timed Out On HeartbeatCountSumThe count of activity tasks that were started but timed out due to a heartbeat timeout.