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/python.md
+41-39Lines changed: 41 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,18 +12,18 @@ This document covers how to install and configure OpenTelemetry distributed tr
12
12
13
13
Sumo Logic OTel Python Lambda layer supports:
14
14
15
-
* Python version between 3.7 and 3.11
15
+
* Python version between 3.9 and 3.13
16
16
* x86_64 and arm64 architectures
17
17
18
18
## Sumo Logic Distribution for OpenTelemetry Lambda Layer
19
19
20
-
[Sumo Logic Distribution for OpenTelemetry Lambda Layer version 1.20.0](https://github.com/SumoLogic/sumologic-otel-lambda/releases/tag/python-v1.20.0) provides packed [OpenTelemetry Python](https://github.com/open-telemetry/opentelemetry-python) 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.
20
+
[Sumo Logic Distribution for OpenTelemetry Lambda Layer version 1.32.0](https://github.com/SumoLogic/sumologic-otel-lambda/releases/tag/python-v1.32.0) provides packed [OpenTelemetry Python](https://github.com/open-telemetry/opentelemetry-python) 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.
21
21
22
22
### Lambda function requirements
23
23
24
24
It is very simple to instrument your AWS Python Lambda function using the Sumo Logic Distro for Lambda layer. You'll need the following:
25
25
26
-
* Python version between 3.7 and 3.10
26
+
* Python version between 3.9 and 3.13
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](/docs/send-data/hosted-collectors/http-source/otlp).
29
29
@@ -63,48 +63,50 @@ It is very simple to instrument your AWS Python Lambda function using the Sumo L
63
63
Go back to Step 3 (_In the Choose a layer menu_...).
[Sumo Logic Distribution for OpenTelemetry Lambda Layer version 1.20.0](https://github.com/SumoLogic/sumologic-otel-lambda/releases/tag/python-v1.20.0) also provides packed [OpenTelemetry Python](https://github.com/open-telemetry/opentelemetry-python) libraries for container based Lambda functions.
109
+
[Sumo Logic Distribution for OpenTelemetry Lambda Layer version 1.32.0](https://github.com/SumoLogic/sumologic-otel-lambda/releases/tag/python-v1.32.0) also provides packed [OpenTelemetry Python](https://github.com/open-telemetry/opentelemetry-python) libraries for container based Lambda functions.
108
110
109
111
:::note
110
112
The instructions below support only [AWS Base Images for Lambda](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-images.html).
@@ -115,16 +117,16 @@ The instructions below support only [AWS Base Images for Lambda](https://docs.aw
115
117
Instrumentation of container based AWS Lambda function requires some changes in the Dockerfile and image rebuild. You'll need the following:
116
118
117
119
* Docker
118
-
* Python version between 3.7 and 3.11
120
+
* Python version between 3.9 and 3.13
119
121
* 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).
120
122
121
123
### Lambda function image changes
122
124
123
-
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/python-v1.20.0/opentelemetry-python-amd64.zip) or [arm64](https://github.com/SumoLogic/sumologic-otel-lambda/releases/download/python-v1.20.0/opentelemetry-python-arm64.zip).
125
+
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/python-v1.32.0/opentelemetry-python-amd64.zip) or [arm64](https://github.com/SumoLogic/sumologic-otel-lambda/releases/download/python-v1.32.0/opentelemetry-python-arm64.zip).
124
126
1. Extracted instrumentation libraries have to be added to the image in /opt directory. Please see Dockerfile example:
0 commit comments