File tree 1 file changed +2
-6
lines changed
python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ def _instrument(self, **kwargs):
86
86
**kwargs: Optional arguments
87
87
``tracer_provider``: a TracerProvider, defaults to global
88
88
``event_context_extractor``: a method which takes the Lambda
89
- Event as input and provides the object which contains the
90
- context as output (usually HTTP headers)
89
+ Event as input and extracts an OTel Context from it. Usually
90
+ the the context is extract from HTTP headers on the event.
91
91
"""
92
92
tracer = get_tracer (
93
93
__name__ , __version__ , kwargs .get ("tracer_provider" )
@@ -174,10 +174,6 @@ def _determine_parent_context(lambda_event: Any) -> Context:
174
174
):
175
175
return parent_context
176
176
177
- logger .debug (
178
- "X-Ray propagation failed, using user-configured propagators to extract context from Lambda Event."
179
- )
180
-
181
177
if event_context_extractor :
182
178
parent_context = event_context_extractor (lambda_event )
183
179
else :
You can’t perform that action at this time.
0 commit comments