Skip to content

Conversation

dominikschubert
Copy link
Member

Using the .NET AWS SDK was broken with the previous value since its format doesn't conform to the official X-Ray trace ID.

We'll have to properly set these within an upcoming project where we'll add x-ray integration. /cc @joe4dev

@dominikschubert dominikschubert self-assigned this Jan 24, 2023
Copy link
Member

@dfangl dfangl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems innocent enough, LGTM!

Comment on lines +101 to +112
//TraceID: GetEnvOrDie("_X_AMZN_TRACE_ID"), // r.Header.Get("X-Amzn-Trace-Id"),
// TODO: set correct segment ID from request
//LambdaSegmentID: "LambdaSegmentID", // r.Header.Get("X-Amzn-Segment-Id"),
//CognitoIdentityID: "",
//CognitoIdentityPoolID: "",
//DeadlineNs: "",
//ClientContext: "",
//ContentType: "",
//ReservationToken: "",
//VersionID: "",
//InvokeReceivedTime: 0,
//ResyncState: interop.Resync{},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do these comments tell us?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just keeping track of what's missing. It's just the full Invoke construct with all defaults. Can see them as a todo I guess 😁

@dominikschubert dominikschubert merged commit f03a1f0 into localstack Jan 25, 2023
@dominikschubert dominikschubert deleted the fix-traceid branch January 25, 2023 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants