Skip to content
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

Add opentelemetry-instrumentation-logging to the Python layer #1024

Open
darylweir opened this issue Nov 29, 2023 · 0 comments
Open

Add opentelemetry-instrumentation-logging to the Python layer #1024

darylweir opened this issue Nov 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@darylweir
Copy link

We've been using the Python OTel lambda layer to trace our lambda functions. We'd like to get the trace/span IDs automatically into the logs so we can connect traces to execution logs.

Since the lambda layer doesn't include opentelemetry-instrumentation-logging, we need to install that package into our lambda dependencies. However, that pulls in opentelemetry-instrumentation and opentelemetry-sdk as transitive deps, and those are in the layer. We end up with two copies of those packages in our lambda bundle, and this opens the potential for conflicts to arise if the instrumentation-logging version gets out of sync with the layer.

Ideally, opentelemetry-instrumentation-logging would be included in the layer directly.

@darylweir darylweir added the enhancement New feature or request label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant