You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/apm/traces/get-started-transaction-tracing/opentelemetry-instrumentation/aws-lambda/nodejs.md
+36-36Lines changed: 36 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,18 +14,18 @@ To obtain tracing data from AWS Lambda functions developed in Node.js, you can u
14
14
15
15
**Sumo Logic OTel NodeJS Lambda layer supports:**
16
16
17
-
*nodejs16.x, nodejs18.x and nodejs20.x runtimes
17
+
* nodejs18.x or later
18
18
* x86_64 and arm64 architectures
19
19
20
20
## Sumo Logic Distribution for OpenTelemetry Lambda Layer
21
21
22
-
[Sumo Logic Distribution for OpenTelemetry Lambda Layer version 1.17.2](https://github.com/SumoLogic/sumologic-otel-lambda/tree/release-nodejs-v1.17.2/nodejs) provides packed [OpenTelemetry NodeJS](https://github.com/open-telemetry/opentelemetry-js) libraries that automatically instrument Lambda functions. The biggest advantage of installing Sumo Logic OTel Lambda as a layer is disabling/enabling instrumentation of the Lambda function without changing the code.
22
+
[Sumo Logic Distribution for OpenTelemetry Lambda Layer version 2.0.0](https://github.com/SumoLogic/sumologic-otel-lambda/tree/release-nodejs-v2.0.0/nodejs) provides packed [OpenTelemetry NodeJS](https://github.com/open-telemetry/opentelemetry-js) libraries that automatically instrument Lambda functions. The biggest advantage of installing Sumo Logic OTel Lambda as a layer is disabling/enabling instrumentation of the Lambda function without changing the code.
23
23
24
24
### Lambda function requirements
25
25
26
26
It is very simple to instrument your AWS NodeJS Lambda function using the Sumo Logic Distro for Lambda layer. You'll need the following:
27
27
28
-
* NodeJS v16.x or newer
28
+
* NodeJS v18.x or later
29
29
* Lambda layers add permissions
30
30
* Sumo Logic OTLP/HTTP Source endpoint URL - To send spans from the instrumented Lambda function to Sumo Logic you need an endpoint URL from an existing or new [OTLP/HTTP source](/docs/send-data/hosted-collectors/http-source/otlp).
31
31
@@ -56,47 +56,47 @@ The following are the Sumo Logic OTel Lambda layers for AWS Region for amd64 (x8
## Sumo Logic Distribution for OpenTelemetry Lambda container instrumentation
98
98
99
-
[Sumo Logic Distribution for OpenTelemetry Lambda Layer version 1.17.2](https://github.com/SumoLogic/sumologic-otel-lambda/tree/release-nodejs-v1.17.2/nodejs) also provides packed [OpenTelemetry NodeJS](https://github.com/open-telemetry/opentelemetry-js) libraries for container-based Lambda functions.
99
+
[Sumo Logic Distribution for OpenTelemetry Lambda Layer version 2.0.0](https://github.com/SumoLogic/sumologic-otel-lambda/tree/release-nodejs-v2.0.0/nodejs) also provides packed [OpenTelemetry NodeJS](https://github.com/open-telemetry/opentelemetry-js) libraries for container-based Lambda functions.
100
100
101
101
:::note
102
102
The instructions below support only [AWS Base Images for Lambda](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-images.html).
@@ -107,12 +107,12 @@ The instructions below support only [AWS Base Images for Lambda](https://docs.aw
107
107
Instrumentation of container-based AWS Lambda function requires some changes in the Dockerfile and image rebuild. You'll need the following:
108
108
109
109
* Docker
110
-
* NodeJS v16.x or newer
110
+
* NodeJS v18.x or later
111
111
* Sumo Logic OTLP/HTTP Source endpoint URL - To send spans from the instrumented Lambda function to Sumo Logic you need an endpoint URL from an existing or new [OTLP/HTTP source](/docs/send-data/hosted-collectors/http-source/otlp).
112
112
113
113
### Lambda function image changes
114
114
115
-
1. Download and extract Sumo Logic OTel Lambda archive with instrumentation packages specific for your architecture - [amd64 (x86_64)](https://github.com/SumoLogic/sumologic-otel-lambda/releases/download/nodejs-v1.17.2/opentelemetry-nodejs-amd64.zip) or [arm64](https://github.com/SumoLogic/sumologic-otel-lambda/releases/download/nodejs-v1.17.2/opentelemetry-nodejs-arm64.zip).
115
+
1. Download and extract Sumo Logic OTel Lambda archive with instrumentation packages specific for your architecture - [amd64 (x86_64)](https://github.com/SumoLogic/sumologic-otel-lambda/releases/download/nodejs-v2.0.0/opentelemetry-nodejs-amd64.zip) or [arm64](https://github.com/SumoLogic/sumologic-otel-lambda/releases/download/nodejs-v2.0.0/opentelemetry-nodejs-arm64.zip).
116
116
1. Add extracted instrumentation libraries to the image in the `/opt` directory. See the following Dockerfile example:
0 commit comments