Skip to content

AWSインテグレーション - Step Functions

MackerelはAWSインテグレーションにてAWS Step Functionsのメトリック取得や監視に対応しています。AWSインテグレーションで連携を行なった場合、課金対象として1ステートマシン = 1マイクロホストと換算します。またそれに加えて、取得されるメトリックの数に応じて、1マイクロホストあたりのメトリック数上限の超過による請求が行われる場合があります。

AWSインテグレーションの設定方法や対応AWSサービス一覧についてはこちらのページをご確認ください。
AWSインテグレーション

取得メトリック

AWSインテグレーションのStep Functions対応で取得できるメトリックは以下の通りです。メトリックの説明に関してはAWSのヘルプをご確認ください。

最大で 7 + 9 × (アクティビティ数) + 8 × (Lambdaファンクション数) + 8 × (サービス統合数) のメトリックが取得されます。

グラフ名メトリックMackerel上のメトリック名単位Statistics
ExecutionsExecutionsAborted
ExecutionsFailed
ExecutionsStarted
ExecutionsSucceeded
ExecutionsTimedOut
states.executions.aborted
states.executions.failed
states.executions.started
states.executions.succeeded
states.executions.timed_out
integerSum
Execution TimeExecutionTimestates.execution_time.execution_timefloatAverage
Execution ThrottledExecutionThrottledstates.execution_throttled.execution_throttledintegerSum
ActivitiesActivitiesScheduled
ActivitiesStarted
ActivitiesSucceeded
ActivitiesTimedOut
ActivitiesHeartbeatTimedOut
ActivitiesFailed
states.activities.ACTIVITY_NAME.scheduled
states.activities.ACTIVITY_NAME.started
states.activities.ACTIVITY_NAME.succeeded
states.activities.ACTIVITY_NAME.timed_out
states.activities.ACTIVITY_NAME.heartbeat_timed_out
states.activities.ACTIVITY_NAME.failed
integerSum
Activity TimeActivityScheduleTime
ActivityRunTime
ActivityTime
states.activity_time.ACTIVITY_NAME.schedule
states.activity_time.ACTIVITY_NANE.run
states.activity_time.ACTIVITY_NANE.all
floatAverage
Lambda FunctionsLambdaFunctionsScheduled
LambdaFunctionsStarted
LambdaFunctionsSucceeded
LambdaFunctionsTimedOut
LambdaFunctionsFailed
states.lambda_functions.LAMBDA_FUNCTION_NAME.scheduled
states.lambda_functions.LAMBDA_FUNCTION_NAME.started
states.lambda_functions.LAMBDA_FUNCTION_NAME.succeeded
states.lambda_functions.LAMBDA_FUNCTION_NAME.timed_out
states.lambda_functions.LAMBDA_FUNCTION_NAME.failed
integerSum
Lambda Function TimeLambdaFunctionsScheduleTime
LambdaFunctionRunTime
LambdaFunctionTime
states.lambda_function_time.LAMBDA_FUNCTION_NAME.schedule
states.lambda_function_time.LAMBDA_FUNCTION_NAME.run
states.lambda_function_time.LAMBDA_FUNCTION_NAME.all
floatAverage
Service IntegrationsServiceIntegrationsFailed
ServiceIntegrationsScheduled
ServiceIntegrationsStarted
ServiceIntegrationsSucceeded
ServiceIntegrationsTimedOut
states.service_integrations.SERVICE_INTEGRATION_NAME.failed
states.service_integrations.SERVICE_INTEGRATION_NAME.scheduled
states.service_integrations.SERVICE_INTEGRATION_NAME.started
states.service_integrations.SERVICE_INTEGRATION_NAME.succeeded
states.service_integrations.SERVICE_INTEGRATION_NAME.timedout
integerSum
Service Integration TimeServiceIntegrationRunTime
ServiceIntegrationScheduleTime
ServiceIntegrationTime
states.service_integration_time.SERVICE_INTEGRATION_NAME.run
states.service_integration_time.SERVICE_INTEGRATION_NAME.schedule
states.service_integration_time.SERVICE_INTEGRATION_NAME.all
floatAverage
  • "Mackerel上のメトリック名"のACTIVITY_NANEにはアクティビティ名が入ります。
  • "Mackerel上のメトリック名"のLAMBDA_FUNCTION_NAMEにはLambdaファンクション名が入ります。
  • "Mackerel上のメトリック名"のSERVICE_INTEGRATION_NAMEにはサービス統合名が入ります。

注意事項

- AWSインテグレーションのStep Functions対応では、名前にマルチバイト文字を含むステートマシンをホストとして登録しません。