Introduction

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.

Setup

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

Metrics

Domain metrics

OpsRamp MetricMetric Display NameUnitAggregation TypeDescription
aws_swf_PendingTasksPending TasksCountSumCount of pending tasks in a 1 minute interval for a specific Task List.

Activity types metrics

OpsRamp MetricMetric Display NameUnitAggregation TypeDescription
aws_swf_ActivityTaskScheduleToCloseTimeActivity Task Schedule To Close TimeMillisecondsAverageTime interval, in milliseconds, between the time when the activity was scheduled and when it closed.
aws_swf_ActivityTaskScheduleToStartTimeActivity Task Schedule To Start TimeMillisecondsAverageTime interval, in milliseconds, between the time when the activity task was scheduled and when it started.
aws_swf_ActivityTaskStartToCloseTimeActivity Task Start To Close TimeMillisecondsAverageTime interval, in milliseconds, between the time when the activity task started and when it closed.
aws_swf_ActivityTasksCanceledActivity Tasks CanceledCountSumCount of activity tasks that were canceled.
aws_swf_ActivityTasksCompletedActivity Tasks CompletedCountSumCount of activity tasks that completed.
aws_swf_ActivityTasksFailedActivity Tasks FailedCountSumCount of activity tasks that failed.
aws_swf_ScheduledActivityTasksTimedOutOnCloseScheduled Activity Tasks TimedOut On CloseCountSumCount of activity tasks that were scheduled but timed out on close.
aws_swf_ScheduledActivityTasksTimedOutOnStartScheduled Activity Tasks TimedOut On StartCountSumCount of activity tasks that were scheduled but timed out on start.
aws_swf_StartedActivityTasksTimedOutOnCloseStarted Activity Tasks TimedOut On CloseCountSumCount of activity tasks that were started but timed out on close.
aws_swf_StartedActivityTasksTimedOutOnHeartbeatStarted Activity Tasks TimedOut On HeartbeatCountSumCount of activity tasks that were started but timed out due to a heartbeat timeout.

Workflow types metrics

OpsRamp MetricMetric Display NameUnitAggregation TypeDescription
aws_swf_DecisionTaskScheduleToStartTimeDecision Task Schedule To Start TimeMillisecondsAverageTime 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_DecisionTaskStartToCloseTimeDecision Task Start To Close TimeMillisecondsAverageTime interval, in milliseconds, between the time that the decision task was started and when it closed.
aws_swf_DecisionTasksCompletedDecision Tasks CompletedCountSumCount of decision tasks that have been completed.
aws_swf_StartedDecisionTasksTimedOutOnCloseStarted Decision Tasks Timed Out On CloseCountSumCount of decision tasks that started but timed out on closing.
aws_swf_WorkflowStartToCloseTimeWorkflow Start To Close TimeMillisecondsAverageTime, in milliseconds, between the time the workflow started and when it closed.
aws_swf_WorkflowsCanceledWorkflows CanceledCountSumCount of workflows that were canceled.
aws_swf_WorkflowsCompletedWorkflows CompletedCountSumCount of workflows that completed.
aws_swf_WorkflowsContinuedAsNewWorkflows Continued As NewCountSumCount of workflows that continued as new.
aws_swf_WorkflowsFailedWorkflows FailedCountSumCount of workflows that failed.
aws_swf_WorkflowsTerminatedWorkflows TerminatedCountSumCount of workflows that were terminated.
aws_swf_WorkflowsTimedOutWorkflows Timed OutCountSumCount of workflows that timed out, for any reason.

Event support

CloudTrail event support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

CloudWatch alarm support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

External reference