Skip to content

Commit 3822de3

Browse files
authored
Merge branch 'main' into contributing-patch-bump
2 parents 7f023c6 + d2a51b9 commit 3822de3

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
3030
# Enable instrumentation
3131
BotocoreInstrumentor().instrument()
32-
AwsLambdaInstrumentor().instrument()
3332
3433
# Lambda function
3534
def lambda_handler(event, context):
@@ -39,6 +38,8 @@ def lambda_handler(event, context):
3938
4039
return "200 OK"
4140
41+
AwsLambdaInstrumentor().instrument()
42+
4243
API
4344
---
4445

0 commit comments

Comments
 (0)