1

Cloud Watch API를 사용하여 AWS Step Function의 진행 정보를 확인하는 방법을 알고 싶습니다.Cloud Watch를 사용하여 AWS Step Function의 진행 상황을 확인하는 방법

GetMetricStatistics 메서드를 사용하여 진행 정보를 확인할 수 있다고 생각했지만 작동하지 않았습니다.

다음은 GetMetricStatistics (JavaScript 용 Amazon Cloud Watch API) 참조입니다.

enter link description here

클라우드 시계 API를 사용하여 AWS 단계 기능의 진행 정보를 확인하는 방법을 가르쳐주세요.

감사합니다.

답변

1

To establish a baseline you should, at a minimum, monitor the following metrics: 

ActivitiesStarted 
ActivitiesTimedOut 
ExecutionsStarted 
ExecutionsTimedOut 
LambdaFunctionsStarted 
LambdaFunctionsTimedOut 
그리고 :

State Machine Metrics 

The following metrics are available for Step Functions state machines: 

Execution Metrics 

The AWS/States namespace includes the following metrics for Step Functions executions: 

Metric Description 
ExecutionTime The interval, in milliseconds, between the time the execution starts and the time it closes. 
ExecutionThrottled The number of StateEntered events in addition to retries. 
ExecutionsAborted The number of aborted or terminated executions. 
ExecutionsFailed The number of failed executions. 
ExecutionsStarted The number of started executions. 
ExecutionsSucceeded The number of successfully completed executions. 
ExecutionsTimedOut The number of executions that time out for any reason. 

Reference