We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4954749 commit ed0b485Copy full SHA for ed0b485
datadog_lambda/tracing.py
@@ -542,10 +542,10 @@ def extract_context_from_request_header(event, lambda_context):
542
Attempt to extract Datadog trace context from an event payload where Datadog information
543
is under the event["request"]["header"] section. Intended to replace some of the
544
need for customers to provide custom extractor functions in their code for workflows such as
545
- RUM -> AppSync -> Datadog.
+ RUM -> AppSync -> Lambda.
546
"""
547
try:
548
- nested_json = event.get("request", {}).get("headers", {})
+ nested_json = event.get("request").get("headers")
549
context = propagator.extract(nested_json)
550
551
if not _is_context_complete(context):
0 commit comments