Skip to content

Commit efe66e7

Browse files
Update python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py
Co-authored-by: Anuraag Agrawal <[email protected]>
1 parent 6461cf0 commit efe66e7

File tree

1 file changed

+3
-2
lines changed
  • python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda

1 file changed

+3
-2
lines changed

python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ def _instrument(self, **kwargs):
8686
**kwargs: Optional arguments
8787
``tracer_provider``: a TracerProvider, defaults to global
8888
``event_context_extractor``: a method which takes the Lambda
89-
Event as input and extracts an OTel Context from it. Usually
90-
the the context is extract from HTTP headers on the event.
89+
Event as input and extracts an OTel Context from it. By default,
90+
the context is extracted from the HTTP headers of an API Gateway
91+
request.
9192
"""
9293
tracer = get_tracer(
9394
__name__, __version__, kwargs.get("tracer_provider")

0 commit comments

Comments
 (0)