humanmade / aws-xray

HM Platform AWS X-Ray Integration
23 stars 4 forks source link

Batch that contains unprocessed segments #29

Open nathanielks opened 5 years ago

nathanielks commented 5 years ago
Unprocessed segment: {
ErrorCode: "MissingId",
Message: "Invalid segment. ErrorCode: MissingId"
}

Some traces are missing ids somewhere in the stack. @joehoyle you can reach out to me directly for an example trace

nathanielks commented 5 years ago

I believe the problem is that one of the segments is simply an empty array: [].

joehoyle commented 5 years ago

Ah yes I had noticed this too! I think we can probably just put a guard statement to now allow doing that.