Maintenance: Bring Amazon.XRay.Recorder.Core.Internal.Entities into PT Tracing #603
Open
1 task done
Labels
internal
Maintenance changes
Summary
When creating an trace inside a method using Tracing's
WithSubsegment
method, the action requires no additional imports are required for a file, just the reference toAWS.Lambda.Powertools.Tracing
.however, if this call is refactored to use a local function for example, all of a sudden you need to ing a using reference to
Amazon.XRay.Recorder.Core.Internal.Entities
:This causes some confusion since the X-Ray libraries are included with PT. Ideally, we would want to hide this implementation also and bring Amazon.XRay.Recorder.Core.Internal.Entities under Powertools.
Why is this needed?
It exposes the internals of Tracing utility.
Which area does this relate to?
Tracing
Solution
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: