feat(tracing): add context collectors and processor for enhanced logging#22
Merged
feat(tracing): add context collectors and processor for enhanced logging#22
Conversation
- Add ContextProcessor to collect and merge context data - Add collectors for environment, session, route, queries, jobs, commands, and outgoing requests - Add contracts for DataCollectorInterface and EventDrivenCollectorInterface - Refactor EventHandler to support multiple event-driven collectors - Update RequestDataCollector and UserDataCollector to use new interfaces - Add comprehensive test coverage for all collectors
- Add ContextFormatter to format remaining context data - Add ExtraFormatter to format extra log data - Add OutgoingRequestFormatter to format HTTP client requests - Add QueryFormatter to format database queries - Add StructuredDataFormatter for environment, request, route, user, job, command, and session data - Update TemplateRenderer to use new formatters for all sections - Update SectionMapping and StackTraceFormatter - Add comprehensive test coverage
- Add environment, request, route, user, queries, job, command, outgoing requests, and session sections to issue template - Update comment template with matching sections
…me detection - Add VendorFrameDetector to identify vendor frames in stack traces - Refactor DefaultSignatureGenerator to use vendor frame detection - Improve message-based signature generation to use stable context keys - Update signature generation to handle exceptions more reliably - Update GithubIssueHandlerFactory to inject VendorFrameDetector - Add comprehensive test coverage for signature generation improvements
…y/http-foundation
6a300a1 to
8aea848
Compare
7421611 to
758b2c3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds tracing capabilities with context collectors and processors, introduces formatters for structured data sections, adds template sections for tracing data, improves deduplication signature generation, and resolves security vulnerabilities.
Features
Fixes
Refactors