opentelemetry-lambda icon indicating copy to clipboard operation
opentelemetry-lambda copied to clipboard

Python: Attempt to instrument while already instrument warning

Open herin049 opened this issue 2 months ago • 0 comments

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

herin049 avatar Dec 11 '25 04:12 herin049