Skip to content

Commit 6b54aec

Browse files
authored
fix start time of function url inferred span (#383)
1 parent 21012cb commit 6b54aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datadog_lambda/tracing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ def create_inferred_span_from_lambda_function_url_event(event, context):
746746
InferredSpanInfo.set_tags(tags, tag_source="self", synchronicity="sync")
747747
if span:
748748
span.set_tags(tags)
749-
span.start = request_time_epoch / 1000
749+
span.start_ns = int(request_time_epoch) * 1e6
750750
return span
751751

752752

0 commit comments

Comments
 (0)