We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6461cf0 commit efe66e7Copy full SHA for efe66e7
python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py
@@ -86,8 +86,9 @@ def _instrument(self, **kwargs):
86
**kwargs: Optional arguments
87
``tracer_provider``: a TracerProvider, defaults to global
88
``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.
+ Event as input and extracts an OTel Context from it. By default,
+ the context is extracted from the HTTP headers of an API Gateway
91
+ request.
92
"""
93
tracer = get_tracer(
94
__name__, __version__, kwargs.get("tracer_provider")
0 commit comments