Skip to content

Commit

Permalink
Update aws-lambda-extension-node.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bardabun committed Dec 9, 2024
1 parent 86210bb commit 1f517c9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/shipping/AWS/aws-lambda-extension-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<YOUR-LAMBDA_FUNCTION_NAME>> --timeout 60
```
Replace <<YOUR-LAMBDA_FUNCTION_NAME>> 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.
Expand Down

0 comments on commit 1f517c9

Please sign in to comment.