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

asked 5 months ago298 views
2 Answers
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
SUPPORT ENGINEER
answered 5 months ago
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
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions