Amazon Simple Workflow Service
Dash が新機能を発表!インシデントマネジメント、Continuous Profiler など多数の機能が追加されました! Dash イベントで発表された新機能!

Amazon Simple Workflow Service

Crawler Crawler

概要

Amazon SWF は、並列ステップまたは順次ステップからなるバックグラウンドジョブを構築、実行、スケーリングする開発者を支援します。

このインテグレーションを有効にすると、Datadog にすべての SWF メトリクスを表示できます。

セットアップ

インストール

Amazon Web Services インテグレーションをまだセットアップしていない場合は、最初にセットアップします。

メトリクスの収集

  1. AWS インテグレーションタイルのメトリクス収集で、SWF をオンにします。
  2. Datadog - AWS SWF インテグレーションをインストールします。

ログの収集

ログの有効化

Amazon SWF から S3 バケットまたは CloudWatch のいずれかにログを送信するよう構成します。

: S3 バケットにログを送る場合は、Target prefixamazon_swf に設定されているかを確認してください。

Datadog へのログの送信

  1. Datadog ログコレクション AWS Lambda 関数 をまだ設定していない場合は、設定を行ってください。
  2. lambda 関数がインストールされたら、AWS コンソールから、Amazon SWF ログを含む S3 バケットまたは CloudWatch のロググループに手動でトリガーを追加します。

収集データ

メトリクス

aws.swf.activity_tasks_canceled
(count)
The count of activity tasks that were canceled.
aws.swf.activity_task_schedule_to_close_time
(gauge)
The time interval, in milliseconds, between the time when the activity was scheduled to when it closed.
Shown as millisecond
aws.swf.activity_task_schedule_to_close_time.maximum
(gauge)
Maximum time interval, in milliseconds, between the time when the activity was scheduled to when it closed.
Shown as millisecond
aws.swf.activity_task_schedule_to_close_time.minimum
(gauge)
Minimum time interval, in milliseconds, between the time when the activity was scheduled to when it closed.
Shown as millisecond
aws.swf.activity_task_schedule_to_start_time
(gauge)
The time interval, in milliseconds, between the time when the activity task was scheduled and when it started.
Shown as millisecond
aws.swf.activity_task_schedule_to_start_time.maximum
(gauge)
Maximum time interval, in milliseconds, between the time when the activity task was scheduled and when it started.
Shown as millisecond
aws.swf.activity_task_schedule_to_start_time.minimum
(gauge)
Minimum time interval, in milliseconds, between the time when the activity task was scheduled and when it started.
Shown as millisecond
aws.swf.activity_tasks_completed
(count)
The count of activity tasks that completed.
aws.swf.activity_tasks_failed
(count)
The count of activity tasks that failed.
aws.swf.activity_task_start_to_close_time
(gauge)
The time interval, in milliseconds, between the time that the decision task was started and the time it was closed.
Shown as millisecond
aws.swf.activity_task_start_to_close_time.maximum
(gauge)
Maximum time interval, in milliseconds, between the time that the decision task was started and the time it was closed.
Shown as millisecond
aws.swf.activity_task_start_to_close_time.minimum
(gauge)
Minimum time interval, in milliseconds, between the time that the decision task was started and the time it was closed.
Shown as millisecond
aws.swf.consumed_capacity
(count)
The count of requests per second.
Shown as request
aws.swf.decision_task_schedule_to_start_time
(gauge)
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.
Shown as millisecond
aws.swf.decision_task_schedule_to_start_time.maximum
(gauge)
Maximum 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.
Shown as millisecond
aws.swf.decision_task_schedule_to_start_time.minimum
(gauge)
Minimum 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.
Shown as millisecond
aws.swf.decision_tasks_completed
(count)
The count of decision tasks that have been completed.
aws.swf.decision_task_start_to_close_time
(gauge)
The time interval, in milliseconds, between the time that the decision task was started and the time it was closed.
aws.swf.decision_task_start_to_close_time.maximum
(gauge)
Maximum time interval, in milliseconds, between the time that the decision task was started and the time it was closed.
aws.swf.decision_task_start_to_close_time.minimum
(gauge)
Minimum time interval, in milliseconds, between the time that the decision task was started and the time it was closed.
aws.swf.pending_tasks
(count)
The count of pending tasks in a 1 minute interval for a specific Task List.
Shown as task
aws.swf.provisioned_bucket_size
(count)
The count of available requests per second.
Shown as request
aws.swf.provisioned_refill_rate
(count)
The count of requests per second that are allowed into the bucket.
Shown as request
aws.swf.scheduled_activity_tasks_timed_out_on_close
(count)
The count of activity tasks that were scheduled but timed out on close.
aws.swf.scheduled_activity_tasks_timed_out_on_start
(count)
The count of activity tasks that were scheduled but timed out on start.
aws.swf.started_activity_tasks_timed_out_on_close
(count)
The count of activity tasks that were started but timed out on close.
aws.swf.started_activity_tasks_timed_out_on_heartbeat
(count)
The count of activity tasks that were started but timed out due to a heartbeat timeout.
aws.swf.started_decision_tasks_timed_out_on_close
(count)
The count of decision tasks that started but timed out on closing.
aws.swf.throttled_events
(count)
The count of requests that have been throttled.
Shown as request
aws.swf.workflows_canceled
(count)
The count of workflows that were canceled.
aws.swf.workflows_completed
(count)
The count of workflows that were completed.
aws.swf.workflows_continued_as_new
(count)
The count of workflows that continued as new.
aws.swf.workflows_failed
(count)
The count of workflows that failed.
aws.swf.workflow_start_to_close_time
(gauge)
The time, in milliseconds, between the time the workflow started and the time it closed.
Shown as millisecond
aws.swf.workflow_start_to_close_time.maximum
(gauge)
Maximum time, in milliseconds, between the time the workflow started and the time it closed.
Shown as millisecond
aws.swf.workflow_start_to_close_time.minimum
(gauge)
Minimum time, in milliseconds, between the time the workflow started and the time it closed.
Shown as millisecond
aws.swf.workflows_terminated
(count)
The count of workflows that were terminated.
aws.swf.workflows_timed_out
(count)
The count of workflows that timed out, for any reason.

AWS から取得される各メトリクスには、ホスト名やセキュリティグループなど、AWS コンソールに表示されるタグと同じタグが割り当てられます。

イベント

AWS SWF インテグレーションには、イベントは含まれません。

サービスのチェック

AWS SWF インテグレーションには、サービスのチェック機能は含まれません。

トラブルシューティング

ご不明な点は、Datadog のサポートチームまでお問合せください。