Skip to content

Commit 3d5935f

Browse files
authored
docs: add missing import to aws-lambda (#3154)
1 parent 95f14cd commit 3d5935f

File tree

1 file changed

+1
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-aws-lambda/src/opentelemetry/instrumentation/aws_lambda

1 file changed

+1
-0
lines changed

instrumentation/opentelemetry-instrumentation-aws-lambda/src/opentelemetry/instrumentation/aws_lambda/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def lambda_handler(event, context):
5555
.. code:: python
5656
5757
from opentelemetry.instrumentation.aws_lambda import AwsLambdaInstrumentor
58+
from opentelemetry.propagate import get_global_textmap
5859
5960
def custom_event_context_extractor(lambda_event):
6061
# If the `TraceContextTextMapPropagator` is the global propagator, we

0 commit comments

Comments
 (0)