aws / aws/aws-lambda-web-adapter

LWA + OpenTelemetry collector + zip Lambda deployment - is it possible?

Open
#568 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.7k
Forks
161
Avg merge
2d 10h
Merged PRs (30d)
2

Description

Hi, can we use LWA and [OpenTelemetry collector](https://aws-otel.github.io/docs/getting-started/lambda/lambda-js) together with zip Lambda deployment? I am afraid that we cannot because LWA and Otel collector both requires `AWS_LAMBDA_EXEC_WRAPPER` environment variable set to their binary path, but we can only set one single path for the variable.

Do you know if there is any workaround for this? Thanks.

P.S.) I confirmed that with Container Lambda deployment, we can use LWA + Otel without a problem. We can just copy multiple Lambda extension binaries to the /opt/extensions directory.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked AWS OpenTelemetry Lambda guidance and the Lambda Web Adapter behavior around AWS_LAMBDA_EXEC_WRAPPER. Determine whether zip deployment can combine both components, and document a supported workaround or the limitation if no workaround exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.