-
Notifications
You must be signed in to change notification settings - Fork 45
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
Layer instrumentation with Boto3/Botocore >1.36 breaking #556
Comments
Hey @tombarton thanks for reaching out. Interestingly, we don't actually package |
Hey @purple4reina, I saw that earlier which confused things somewhat. The Lambda works perfectly with the DD layers disabled. |
I've tried to re-create a minimum but have sadly failed. At this point, I can only presume it must be something to do with cross dependencies in our repository. As soon as I bump boto3 from The issue is due to the mismatch of botocore versions. If I change the Lambda handler to use the DataDog Lambda wrapper, it returns a Botocore version of 1.34.145, followed by the subsequent error:
If I keep the layers enabled but remove the DataDog wrapper, the botocore version logged differs:
|
OK, I've been able to re-create this issue now in a tiny repository. DataDog Data Streams is the cause of the error. When you toggle this on with the environment variable ( @purple4reina is this something you can help with or should it be addressed in a different repository? Repository: https://github.com/tombarton/datadog-python-boto3-layer
|
Recently updated Boto3/botocore to use 1.36 whilst instrumenting the Lambda using the Serverless framework.
Expected Behavior
Lambda boots as expected with DataDog instrumentation enabled.
Actual Behavior
Lambda immediately errors with the following error:
Mismatched versions of Botocore cause this: boto/boto3#4399
Steps to Reproduce the Problem
Specifications
Stacktrace
The text was updated successfully, but these errors were encountered: