Documentation forAppOptics

Simple Workflow Service (SWF)

Overview

Amazon SWF helps developers build, run, and scale background jobs that have parallel or sequential steps.

Setup

Installation

If you haven't already, first set up the AWS CloudWatch integration. No additional steps are needed for installation.

Configuration

On the AWS CloudWatch integration page, ensure that the SWF service is selected for metric collection.

Metrics

Name Description

DecisionTaskScheduleToStartTime

(milliseconds)

The time interval, in milliseconds, between the time that the decision task was scheduled and the time it was picked up by a worker and started.

DecisionTaskStartToCloseTime

(milliseconds)

The time interval, in milliseconds, between the time that the decision task was started and the time it was closed.

DecisionTasksCompleted

(count)

The count of decision tasks that have been completed.

StartedDecisionTasksTimedOutOnClose

(count)

The count of decision tasks that started but timed out on closing.

WorkflowStartToCloseTime

(milliseconds)

The time, in milliseconds, between the time the workflow started and the time it closed.

WorkflowsCanceled

(count)

The count of workflows that were canceled.

WorkflowsCompleted

(count)

The count of workflows that completed.

WorkflowsContinuedAsNew

(count)

The count of workflows that continued as new.

WorkflowsFailed

(count)

The count of workflows that failed.

WorkflowsTerminated

(count)

The count of workflows that were terminated.

WorkflowsTimedOut

(count)

The count of workflows that timed out, for any reason.

ActivityTaskScheduleToCloseTime

(milliseconds)

The time interval, in milliseconds, between the time when the activity was scheduled to when it closed.

ActivityTaskScheduleToStartTime

(milliseconds)

The time interval, in milliseconds, between the time when the activity task was scheduled and when it started.

ActivityTaskStartToCloseTime

(milliseconds)

The time interval, in milliseconds, between the time when the activity task started and when it was closed.

ActivityTasksCanceled

(count)

The count of activity tasks that were canceled.

ActivityTasksCompleted

(count)

The count of activity tasks that completed.

ActivityTasksFailed

(count)

The count of activity tasks that failed.

ScheduledActivityTasksTimedOutOnClose

(count)

The count of activity tasks that were scheduled but timed out on close.

ScheduledActivityTasksTimedOutOnStart

(count)

The count of activity tasks that were scheduled but timed out on start.

StartedActivityTasksTimedOutOnClose

(count)

The count of activity tasks that were started but timed out on close.

StartedActivityTasksTimedOutOnHeartbeat

(count)

The count of activity tasks that were started but timed out due to a heartbeat timeout.

Available Tags

Name Description
activitytypename Name of the activity type
awsaccount AWS account associated with the metrics
domain The Amazon SWF domain that the activity is running in
region Name of the region
workflowtypename Name of the workflow type

Navigation Notice: When the APM Integrated Experience is enabled, AppOptics shares a common navigation and enhanced feature set with other integrated experience products. How you navigate AppOptics and access its features may vary from these instructions.