Using AL2 runtime + Datadog serverless plugin + CodeSee Layer Configured
serverless plugin install --name serverless-plugin-datadog
serverless plugin install --name serverless-go-plugin
go get github.com/DataDog/datadog-lambda-go
Make sure the following environment variables are set in your serverless.yml
file.
DD_APM_DD_URL: http://127.0.0.1:8080
DD_APM_NON_LOCAL_TRAFFIC: true
DD_APM_ENABLED: true
CODESEE_BRIDGE_FORWARD_HOST: https://in-datadog.codesee.io
CODESEE_BRIDGE_TOKEN: <YOUR_CODESEE_TOKEN>
sls deploy --aws-profile <your-aws-profile> --region us-east-1
https://docs.codesee.io/docs/lambda-configuration-examples#serverless