Skip to content

Document the need to mark libraries that should be otel instrumented as external when using bundling solutions like AWS SAM for AWS Lambda #14028

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
andreiborza opened this issue Oct 21, 2024 · 0 comments

Comments

@andreiborza
Copy link
Member

andreiborza commented Oct 21, 2024

Description

Using frameworks like AWS SAM or AWS CDK to upload and maintain AWS Lambda functions usually bundles all of the code and its dependencies into a single file.

This prevents otel from hooking into any libraries it offers custom instrumentation for, e.g.pg.

Solution Brainstorming

Document the need to mark libraries that should be instrumented as external and the need of a lambda layer to hold such dependencies when bundling AWS Lambda functions.

Once/if open-telemetry/opentelemetry-js#4174 lands, we can consider removing this documentation again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants