How to view of traffic between version if I implement blue/green deployment

0

Hi, I want to use blue/green deployment in step function after implementing aliases. How I can see summary of how many executions/fail executions/success executions from each version from these aliases ? I see there is metrics in aliases but can't see information of version

已提问 6 个月前315 查看次数
2 回答
0

Hello there, you can view the executions per version per alias by click opening your desired step function at this link https://<region>.console.aws.amazon.com/states/home?region=<region>#/statemachines/view/arn:aws:states:<region>:<AccountID>:stateMachine:<StateMachineName>

Then, in the Executions Tab you can filter using the Properties such as Name/Version/Alias. For example: If you enter filter as Version = 1, you will only see executions for that particular version. Similarly you can filter executions filter using Alias.

Additionally, you can also go to the Alias tab or the Versions tab to view the executions for the respective alias/versions.

Feel free to let me know if you face any issues observing the same.

AWS
支持工程师
已回答 6 个月前
0

Step Functions has execution metrics for versions and aliases. You can check the ExecutionsSucceeded/Failed metrics for the StateMachineArn and Version dimensions you are interested in.

https://docs.aws.amazon.com/step-functions/latest/dg/procedure-cw-metrics.html#cloudwatch-step-functions-execution-metrics

You can also use the ListExecutions API to filter executions by version or alias ARN https://docs.aws.amazon.com/step-functions/latest/apireference/API_ListExecutions.html#StepFunctions-ListExecutions-request-stateMachineArn

AWS
wongada
已回答 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则