Amazon 심플 워크플로우 서비스

개요

Amazon SWF는 개발자가 병렬 또는 순차 스텝이 존재하는 백그라운드 작업을 빌드, 실행, 확장할 수 있도록 도와드립니다.

본 통합을 활성화하면 Datadog에서 모든 SWF 메트릭을 확인할 수 있습니다.

설정

설치

아직 설정하지 않은 경우, 먼저 Amazon Web Services 통합을 설정하세요.

메트릭 수집

  1. AWS 통합 페이지에서 Metric Collection 탭의 SWF이 활성화되어 있는지 확인합니다.
  2. Datadog - Amazon SWF 통합을 설치합니다.

로그 수집

로깅 활성화

Amazon SWF를 설정해 S3 버킷이나 클라우드와치(CloudWatch)로 로그를 전송합니다.

참고: S3 버킷으로 로그를 전송하려면 Target prefix(대상 접두사)를 amazon_swf로 설정합니다.

Datadog에 로그 전송

  1. 아직 설정하지 않은 경우 Datadog Forwarder Lambda 함수를 설정하세요.

  2. Lambda 함수를 설치한 후 AWS 콘솔에서 Amazon SWF 로그를 포함하는 S3 버킷 또는 클라우드와치(CloudWatch) 로그 그룹에 트리거를 수동으로 추가합니다.

수집한 데이터

메트릭

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_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.activity_tasks_canceled
(count)
The count of activity tasks that were canceled.
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.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_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.decision_tasks_completed
(count)
The count of decision tasks that have been completed.
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.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_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.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 콘솔에 표시되는 동일한 태그가 할당됩니다.

이벤트

Amazon SWF 통합은 이벤트를 포함하지 않습니다.

서비스 검사

Amazon SWF 통합은 서비스 점검을 포함하지 않습니다.

트러블슈팅

도움이 필요하신가요? Datadog 지원팀에 문의하세요.

PREVIEWING: mervebolat/span-id-preprocessing