Skip to content

Maintenance: Leverage new utils-lite module to keep track of X-RAY trace id #2187

@phipag

Description

@phipag

Summary

The AWS SDK team has released a new utils-lite Java module (see documentation here: https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/utilslite/package-summary.html).

In PR aws/aws-sdk-java-v2#6433 we can see that it is used by the trace id execution interceptor. It means there is now another source which we need to consider when computing the x-ray trace id in the Powertools library. 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?

Governance

Solution

Use utils-lite new maven module and update the common trace id calculation logic.

Acknowledgment

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Working on it

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions