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

Lambda Layer Update - OTel Python 1.7.1 & 0.26b1 #177

Conversation

NathanielRN
Copy link
Contributor

@NathanielRN NathanielRN commented Nov 15, 2021

Description

Because OTel Python has released version 1.7.1 at open-telemetry/opentelemetry-python@281c97b, we are able to use the upstreamed code for the AWS Lambda Instrumentation instead of having a copy of it here in this repo.

We also included some small nit updates in passing to the build files + the CI files.

Built the layer locally and tested on Lambda, confirmed that OTel Python is still initialized correctly and traces appear.

@NathanielRN NathanielRN force-pushed the use-upstream-python-lambda-instrumentation branch from 7745fd0 to 6ddfd65 Compare November 16, 2021 19:08

test_env_patch.stop()

def test_using_custom_extractor(self):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is already upstream so we don't need to duplicate it here.

@NathanielRN NathanielRN force-pushed the use-upstream-python-lambda-instrumentation branch 3 times, most recently from 107b9a6 to b5e89ae Compare November 16, 2021 20:14
@NathanielRN NathanielRN force-pushed the use-upstream-python-lambda-instrumentation branch from b5e89ae to e3a7880 Compare November 16, 2021 20:17
@NathanielRN NathanielRN marked this pull request as ready for review November 16, 2021 20:18
@wangzlei wangzlei merged commit e30dec2 into open-telemetry:main Nov 16, 2021
@NathanielRN NathanielRN deleted the use-upstream-python-lambda-instrumentation branch November 17, 2021 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants