Skip to content

Commit c25ef63

Browse files
committed
Passing context not needed
1 parent 492ea15 commit c25ef63

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-aws-lambda/src/opentelemetry/instrumentation/aws_lambda/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ def _instrumented_lambda_handler_call( # noqa pylint: disable=too-many-branches
337337
try:
338338
with tracer.start_as_current_span(
339339
name=orig_handler_name,
340-
context=parent_context,
341340
kind=span_kind,
342341
) as span:
343342
if span.is_recording():

Diff for: instrumentation/opentelemetry-instrumentation-aws-lambda/tests/test_aws_lambda_instrumentation_manual.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def custom_event_context_extractor(lambda_event):
269269
xray_traceid=MOCK_XRAY_TRACE_CONTEXT_SAMPLED,
270270
),
271271
TestCase(
272-
name="baggae_propagation",
272+
name="baggage_propagation",
273273
custom_extractor=None,
274274
context={
275275
"headers": {

0 commit comments

Comments
 (0)