-
Notifications
You must be signed in to change notification settings - Fork 2k
chore(buffers): Rework counter/gauge increment handling #23542
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
Closed
Closed
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
2a507b8
Move `update_and_get` within `update_buffer_gauge`
bruceg f909b09
Break out counter updating from emitting gauges
bruceg ec0f18b
Break up counter updating and gauge emission
bruceg 8cb0ac1
Eliminate unnecessary `i64` conversion
bruceg 97cb770
Rename `count` and `byte_size` with `delta_` prefix
bruceg 008e2da
Move updating buffer counts into buffer usage data module
bruceg 6a8456a
Rename `event_*` buffer usage fields to `delta_*`
bruceg d66c418
Move total count incrementing into `CategoryMetrics`
bruceg da5bc7e
Open code `fn emit_counter_gauge` into callers
bruceg 2c33c32
Move single function out of cast_utils module
bruceg b544a4f
Rename internal event fields to minimize diff
bruceg bac3741
Make macro formatting more consistent
bruceg 168bbac
Add `buffer_id` to `BufferCreated` event
bruceg 6905040
Update event count and byte_size with saturating add as well
bruceg d7cd21f
Drop the extraneous `total_*` fields
bruceg ae15f1c
Merge branch 'master' into bruceg/rework-buffer-counters
pront File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.