-
-
Notifications
You must be signed in to change notification settings - Fork 376
ref: rename Batcher to TelemetryBuffer #7220
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?
Conversation
First step for #7210. More class renames coming in follow-up PRs.
Renames the generic buffering infrastructure from Batcher to TelemetryBuffer to better reflect its purpose and avoid confusion with the SentryMetricsBatcher (now SentryMetricsTelemetryBuffer). Changes: - Renamed Tools/Batcher folder to Tools/TelemetryBuffer - Renamed all Batcher* classes to TelemetryBuffer*: - BatcherProtocol -> TelemetryBufferProtocol - BatcherConfig -> TelemetryBufferConfig - BatcherItem -> TelemetryBufferItem - BatcherScope -> TelemetryBufferScope - BatcherMetadata -> TelemetryBufferMetadata - InternalBuffer -> InternalTelemetryBuffer - InMemoryInternalBuffer -> InMemoryInternalTelemetryBuffer - Renamed SentryMetricsBuffer to SentryMetricsTelemetryBuffer - Updated all references and comments - Updated all test files accordingly The SentryLogBatcher class name will be renamed in an upcoming PR.
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. This PR will not appear in the changelog. 🤖 This preview updates automatically when you update the PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7220 +/- ##
=============================================
- Coverage 85.452% 85.099% -0.353%
=============================================
Files 468 468
Lines 28348 28348
Branches 12527 12534 +7
=============================================
- Hits 24224 24124 -100
- Misses 3865 4182 +317
+ Partials 259 42 -217
... and 57 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
philprime
left a comment
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.
LGTM
Performance metrics 🚀
|
This PR renames the generic buffering infrastructure from Batcher to TelemetryBuffer.
This is the second step for #7210.
Changes
Tools/Batcher→Tools/TelemetryBufferfolderBatcherProtocol→TelemetryBufferProtocolBatcherConfig→TelemetryBufferConfigBatcherItem→TelemetryBufferItemBatcherScope→TelemetryBufferScopeBatcherMetadata→TelemetryBufferMetadataInternalBuffer→InternalTelemetryBufferInMemoryInternalBuffer→InMemoryInternalTelemetryBufferSentryMetricsBuffer→SentryMetricsTelemetryBufferSentryMetricsBufferProtocol→SentryMetricsTelemetryBufferProtocolSentryMetricsBufferOptionsProtocol→SentryMetricsTelemetryBufferOptionsProtocolSentryLogBatcherclass name (will be renamed in an upcoming PR)Notes
#skip-changelog