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/java.md
+37-35Lines changed: 37 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ To obtain tracing data from AWS Lambda functions developed in Java, you can use
14
14
15
15
**Sumo Logic OTel Java Lambda layer supports:**
16
16
17
-
* Java8 (Corretto) and Java11 (Corretto) runtimes
17
+
* Java8, Java11, Java17 and Java21 runtimes
18
18
* x86_64 and arm64 architectures
19
19
20
20
## Sumo Logic Distribution for OpenTelemetry Lambda layer
@@ -23,11 +23,11 @@ To obtain tracing data from AWS Lambda functions developed in Java, you can use
23
23
24
24
You'll need the following:
25
25
26
-
* Java8 (Corretto) or Java11 (Corretto)
26
+
* Java8, Java11, Java17 or Java21 runtimes
27
27
* Lambda layers add permissions
28
28
* 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.
29
29
30
-
You can instrument your AWS Java Lambda function using the [Sumo Logic Distribution for OpenTelemetry Lambda Layer version 1.30.1](https://github.com/SumoLogic/sumologic-otel-lambda/tree/release-java-v1.30.1/java). By default, calls to the Lambda function and AWS Services are instrumented, see the [Manual Instrumentation](#optional-manual-instrumentation) section below if your function is performing some other calls like HTTP requests or database calls.
30
+
You can instrument your AWS Java Lambda function using the [Sumo Logic Distribution for OpenTelemetry Lambda Layer version 2.15.0](https://github.com/SumoLogic/sumologic-otel-lambda/tree/release-java-v2.15.0/java). By default, calls to the Lambda function and AWS Services are instrumented, see the [Manual Instrumentation](#optional-manual-instrumentation) section below if your function is performing some other calls like HTTP requests or database calls.
31
31
32
32
1. Navigate to [functions](https://console.aws.amazon.com/lambda/home#/functions) in the AWS Lambda Console and open the function you want to instrument.
33
33
1. Navigate to the **Layers** section and click **Add a layer**.
@@ -82,47 +82,49 @@ The following are the Sumo Logic OTel Lambda layers for AWS Region amd64 (x86_64
[SumoLogicDistributionforOpenTelemetryLambdaLayer version 1.30.1](https://github.com/SumoLogic/sumologic-otel-lambda/tree/release-java-v1.30.1/java) also provides packed [OpenTelemetry Java](https://github.com/open-telemetry/opentelemetry-java) libraries for container-based Lambda functions.
127
+
[SumoLogicDistributionforOpenTelemetryLambdaLayer version 2.15.0](https://github.com/SumoLogic/sumologic-otel-lambda/tree/release-java-v2.15.0/java) also provides packed [OpenTelemetry Java](https://github.com/open-telemetry/opentelemetry-java) libraries for container-based Lambda functions.
126
128
127
129
:::note
128
130
The instructions below support only [AWSBaseImagesforLambda](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-images.html).
@@ -138,7 +140,7 @@ Instrumentation of container-based AWS Lambda function requires some changes in
138
140
139
141
### Lambda function image changes
140
142
141
-
1. Download and extract Sumo Logic Distribution for OpenTelemetry Java Lambda Layer archive with instrumentation packages specific for your architecture, [amd64 (x86_64)](https://github.com/SumoLogic/sumologic-otel-lambda/releases/download/java-v1.30.1/opentelemetry-java-wrapper-amd64.zip) or [arm64](https://github.com/SumoLogic/sumologic-otel-lambda/releases/download/java-v1.30.1/opentelemetry-java-wrapper-arm64.zip).
143
+
1. Download and extract Sumo Logic Distribution for OpenTelemetry Java Lambda Layer archive with instrumentation packages specific for your architecture, [amd64 (x86_64)](https://github.com/SumoLogic/sumologic-otel-lambda/releases/download/java-v2.15.0/opentelemetry-java-wrapper-amd64.zip) or [arm64](https://github.com/SumoLogic/sumologic-otel-lambda/releases/download/java-v2.15.0/opentelemetry-java-wrapper-arm64.zip).
142
144
1. Add extracted instrumentation libraries to the image in the `/opt` directory. See the Dockerfile example:
0 commit comments