Skip to content

Maintenance: Leverage new InvokeStore module to keep track of X-RAY trace id #4657

@svozza

Description

@svozza

Summary

The AWS Lambda team has released a new InvokeStore NPM module that allows us to retriece the X-RAY trace id from AsyncLocalStorage. It means there is now another source which we need to consider when computing the X-ray trace ID. We should use it as well.

Why is this needed?

This is needed to robustly compute the X-ray trace ID.

Which area does this relate to?

Other

Solution

Use InvokeStore module and update the common trace id calculation logic.

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions