Describe the bug
When using the OpenTelemetry Python auto-instrumentation layer, the following warning appears in the Lambda logs on every cold start:
[WARNING] 2025-12-11T04:45:34.152Z Attempting to instrument while already instrumented
Steps to reproduce
Deploy a lambda with the Python auto-instrumentation layer and perform an invocation.
What did you expect to see?
No warning message present.
What did you see instead?
The warning message above is present.
What version of collector/language SDK version did you use?
Version: latest
What language layer did you use?
Config: Python