-
Notifications
You must be signed in to change notification settings - Fork 33
chore: Tracing sanitize metadata #1011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
…ctionality, including sanitization for problematic types
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #1011 +/- ##
===========================================
+ Coverage 77.86% 78.12% +0.25%
===========================================
Files 298 298
Lines 11643 12003 +360
Branches 1394 1441 +47
===========================================
+ Hits 9066 9377 +311
- Misses 2126 2163 +37
- Partials 451 463 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Issue number: #1010
Summary
Changes
Fixed LitJson serialization crashes that were causing Lambda function failures when tracing complex objects
Resolved test isolation issues where environment variables from one test affected subsequent tests
XRayRecorder.cs: Added multi-layer sanitization with type conversion, property filtering, and fallback serialization
TracingSubsegment.cs: Enhanced subsegment lifecycle management with proper disposal patterns
Tracing.cs: Added new BeginSubsegment() API for manual subsegment creation
Enhanced Tracing API: Added Tracing.BeginSubsegment() method for manual subsegment management
User experience
You can create subsegments using the familiar
using
statement pattern for automatic cleanup and exception safety.Checklist
Please leave checklist items unchecked if they do not apply to your change.
Is this a breaking change?
RFC issue number:
Checklist:
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.