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 Metric | Metric Display Name | Unit | Aggregation Type |
---|---|---|---|
aws_swf_PendingTasks Count of pending tasks in a 1 minute interval for a specific Task List. | Pending Tasks | Count | Sum |
Activity type metrics
OpsRamp Metric | Metric Display Name | Unit | Aggregation Type |
---|---|---|---|
aws_swf_ActivityTaskScheduleToCloseTime Time interval, in milliseconds, between the time when the activity was scheduled and when it closed. | Activity Task Schedule To Close Time | Milliseconds | Average |
aws_swf_ActivityTaskScheduleToStartTime Time interval, in milliseconds, between the time when the activity task was scheduled and when it started. | Activity Task Schedule To Start Time | Milliseconds | Average |
aws_swf_ActivityTaskStartToCloseTime Time interval, in milliseconds, between the time when the activity task started and when it closed. | Activity Task Start To Close Time | Milliseconds | Average |
aws_swf_ActivityTasksCanceled Count of activity tasks that were canceled. | Activity Tasks Canceled | Count | Sum |
aws_swf_ActivityTasksCompleted Count of activity tasks that completed. | Activity Tasks Completed | Count | Sum |
aws_swf_ActivityTasksFailed Count of activity tasks that failed. | Activity Tasks Failed | Count | Sum |
aws_swf_ScheduledActivityTasksTimedOutOnClose Count of activity tasks that were scheduled but timed out on close. | Scheduled Activity Tasks TimedOut On Close | Count | Sum |
aws_swf_ScheduledActivityTasksTimedOutOnStart Count of activity tasks that were scheduled but timed out on start. | Scheduled Activity Tasks TimedOut On Start | Count | Sum |
aws_swf_StartedActivityTasksTimedOutOnClose Count of activity tasks that were started but timed out on close. | Started Activity Tasks TimedOut On Close | Count | Sum |
aws_swf_StartedActivityTasksTimedOutOnHeartbeat Count of activity tasks that were started but timed out due to a heartbeat time-out. | Started Activity Tasks TimedOut On Heartbeat | Count | Sum |
Workflow type metrics
OpsRamp Metric | Metric Display Name | Unit | Aggregation Type |
---|---|---|---|
aws_swf_DecisionTaskScheduleToStartTime Time interval, in milliseconds, between the time that the decision task was scheduled and when it was picked up by a worker and started. | Decision Task Schedule To Start Time | Milliseconds | Average |
aws_swf_DecisionTaskStartToCloseTime Time interval, in milliseconds, between the time that the decision task was started and when it closed. | Decision Task Start To Close Time | Milliseconds | Average |
aws_swf_DecisionTasksCompleted Count of decision tasks completed. | Decision Tasks Completed | Count | Sum |
aws_swf_StartedDecisionTasksTimedOutOnClose Count of decision tasks that started but timed out on closing. | Started Decision Tasks Timed Out On Close | Count | Sum |
aws_swf_WorkflowStartToCloseTime Time, in milliseconds, between the time the workflow started and when it closed. | Workflow Start To Close Time | Milliseconds | Average |
aws_swf_WorkflowsCanceled Count of workflows that were canceled. | Workflows Canceled | Count | Sum |
aws_swf_WorkflowsCompleted Count of workflows that completed. | Workflows Completed | Count | Sum |
aws_swf_WorkflowsContinuedAsNew Count of workflows that continued as new. | Workflows Continued As New | Count | Sum |
aws_swf_WorkflowsFailed Count of workflows that failed. | Workflows Failed | Count | Sum |
aws_swf_WorkflowsTerminated Count of workflows that were terminated. | Workflows Terminated | Count | Sum |
aws_swf_WorkflowsTimedOut Count of workflows that timed out, for any reason. | Workflows Timed Out | Count | Sum |