1

我想知道如何使用 Cloud Watch API 确认 AWS Step Function 的进度信息。

我以为我可以使用 GetMetricStatistics 方法获得确认进度信息,但它不起作用。

以下是 GetMetricStatistics(适用于 JavaScript 的 Amazon Cloud Watch API)参考。

在此处输入链接描述

请告诉我如何使用 Cloud Watch API 确认 AWS Step Function 的进度信息。

谢谢。

4

1 回答 1

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.

参考

于 2017-10-10T06:37:50.637 回答