diff --git a/docs/shipping/AWS/aws-lambda-extension-node.md b/docs/shipping/AWS/aws-lambda-extension-node.md index b72f9888..4d7cfb71 100644 --- a/docs/shipping/AWS/aws-lambda-extension-node.md +++ b/docs/shipping/AWS/aws-lambda-extension-node.md @@ -42,6 +42,14 @@ Adding environmental variables using the AWS CLI commands below, will overwrite This integration uses OpenTelemetry Collector Contrib, not the OpenTelemetry Collector Core. ::: +**Instrumentation adds overhead.** A 60-second timeout ensures reliable trace exports. + +```shell +aws lambda update-function-configuration --function-name <> --timeout 60 +``` + +Replace <> with the name of the Lambda function you want to update. + #### Add the OpenTelemetry collector layer to your Lambda function This layer contains the OpenTelemetry collector that will capture data from your application.