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 f465407 commit ec5dfe5Copy full SHA for ec5dfe5
datadog_lambda/tracing.py
@@ -422,7 +422,9 @@ def extract_context_from_kinesis_event(event, lambda_context):
422
dd_ctx = data_obj.get("_datadog")
423
if dd_ctx:
424
context = propagator.extract(dd_ctx)
425
- _dsm_set_checkpoint(dd_ctx, "kinesis", arn)
+ # Do not want to set checkpoint with "" arn
426
+ if arn:
427
+ _dsm_set_checkpoint(dd_ctx, "kinesis", arn)
428
return context
429
except Exception as e:
430
logger.debug("The trace extractor returned with error %s", e)
0 commit comments