Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ public object OnDelegateBegin<TArg1>(object sender, ref TArg1 arg)
var jsonString = ConvertPayloadStream(proxyInstance.InputStream);
scope = LambdaCommon.SendStartInvocation(new LambdaRequestBuilder(), jsonString, proxyInstance.LambdaContext);
requestId = proxyInstance.LambdaContext?.AwsRequestId;

// Set Lambda request ID as a span tag if available
if (scope?.Span != null && requestId != null)
{
scope.Span.SetTag("request_id", (string)requestId);
LambdaCommon.Log($"Set request_id tag: {requestId}");
}
}

LambdaCommon.Log("DelegateWrapper FINISHED Running OnDelegateBegin");
Expand Down
Loading