You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using AWS Distribution of OpenTelemetry (ADOT) Python lambda layer for OpenTelemetry instrumentation. AWS Python Lambda supports both python and python/lib/python3.x/site-packages for layer paths . However, when apps have dependencies packaged as another lambda layer following the path structure python/lib/python3.x/site-packages, ADOT is not able to recognize them, and function is erroring.
Runtime.ImportModuleError: Unable to import module 'otel_wrapper': No module named ….
ADOT layer version used: arn:aws:lambda:us-east-1:901920570463:layer:aws-otel-python-amd64-ver-1-24-0:1