Simple AWS Lambda using Embedded Metrics Format in Golang
For EMF with Golang, I used the aws-embedded-metrics-golang library
- aws-cli/2.0.56
- Golang 1.17
- aws sam cli 1.15.0
cd sum-app
make deploy
2.1. Unit Test
cd sum-app
make test
2.2. Local Test with SAM
cd sum-app
make invoke
2.3 Execute the Lambda via Console
- Browse cloudwatch metrics, custom namespace LambdaExtra