As a downstream Repo of opentelemetry-lambda, aws-otel-lambda publishes AWS managed OpenTelemetry Lambda layers that are preconfigured for use with AWS services and bundle the reduced AWS Collector. Users can onboard to OpenTelemetry in their existing Lambda functions by adding these ready-made layers directly.
- Python3.8 layer aws-otel-python38-ver-1-7-1 contains OpenTelemetry Python
v1.7.1
with the AWS Python Extensionv1.0.1
- Nodejs layer aws-otel-nodejs-ver-1-0-0 contains OpenTelemetry JavaScript Core
v1.0.0
with AWS Lambda Instrumentationv0.27.0
- Java-Wrapper layer aws-otel-java-wrapper-ver-1-7-0 contains OpenTelemetry Java
v1.7.0
- Java-Agent layer aws-otel-java-agent-ver-1-7-0 contains AWS OpenTelemetry Java instrumentation
v1.7.0
- Collector layer aws-otel-collector-ver-0-39-0 contains ADOT Collector for Lambda
v0.15.0
. Compatible with .NET and Go runtimes.
We provide SAM and Terraform sample applications for AWS managed OpenTelemetry Lambda layers. You can play with these samples by the following:
-
Install AWS Cli, AWS SAM, Terraform, and configure AWS credentials correctly.
-
Checkout the current Repo by
git clone --recurse-submodules https://github.com/aws-observability/aws-otel-lambda.git
-
Go to the language folder, such as
python
,java
, run./build.sh
-
Go to a sample application folder, such as
sample-apps/sam/python
,sample-apps/terraform/nodejs/aws-sdk
, etc -
Deploy sample application by,
-
For SAM sample application
./run.sh
-
For Terraform sample application
terraform init terraform apply -auto-approve
-
See CONTRIBUTING for more information.
This project is licensed under the Apache-2.0 License.