-
Notifications
You must be signed in to change notification settings - Fork 61
fix: user-events logs exporter - alternate build pattern #262
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: main
Are you sure you want to change the base?
fix: user-events logs exporter - alternate build pattern #262
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #262 +/- ##
=====================================
Coverage 50.9% 50.9%
=====================================
Files 64 63 -1
Lines 8506 8500 -6
=====================================
+ Hits 4331 4332 +1
+ Misses 4175 4168 -7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
||
use crate::logs::exporter::UserEventsExporter; | ||
|
||
/// Processes and exports logs to User Events. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Processes and exports logs to User Events. | |
/// Processes and exports logs to user_events. |
/// Processes and exports logs to User Events. | ||
/// | ||
/// This processor exports logs without synchronization. | ||
/// It is specifically designed for the User Events exporter, where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// It is specifically designed for the User Events exporter, where | |
/// It is specifically designed for the user_events exporter, where |
} | ||
|
||
impl Processor { | ||
/// Creates a builder for configuring a User Events Processor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Creates a builder for configuring a User Events Processor | |
/// Creates a builder for configuring a user_events Processor |
} | ||
} | ||
|
||
/// Builder for configuring and constructing a User Events Processor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Builder for configuring and constructing a User Events Processor | |
/// Builder for configuring and constructing a user_events Processor |
Bundle options directly into processor, as users are ultimately going to build a processor.
Expose Processor, builder in public API - users still don't know about reentrantprocessor - they get back something
impl LogProcessor
.Populate PartB.name from event_name, if available.
Hard code "Log" as user_event's event_name
(TODO: Add support for a callback for user-event event_name.)
TODO: Add custom error Struct.