-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
feat: Collect duplicate log line metrics #13084
Merged
paul1r
merged 21 commits into
main
from
paul1r/add_metrics_for_duplicate_log_line_bytes
Jun 26, 2024
Merged
Changes from 18 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
774f2bd
First pass at getting duplicate log line metrics to be outputted via …
paul1r 1e63ac1
Merge branch 'main' into paul1r/add_metrics_for_duplicate_log_line_bytes
paul1r 40063ab
WIP: PR comments: remove err, update metric name, put metric stuff in…
paul1r 00b67f0
Refactor so we can get tenant information and such in the unordered h…
paul1r 3b40971
make fmt
paul1r 471059f
Remove commented out code from first pass
paul1r 2070530
Pass metrics and such into MemChunk and UnorderedHeadBlock
paul1r faaa10a
Merge branch 'main' into paul1r/add_metrics_for_duplicate_log_line_bytes
paul1r 074f1f9
Move back to a variant of version 1, using a bool instead of an err
paul1r 5c5e631
Add a comment about what the new return val is
paul1r 788b274
Merge branch 'main' into paul1r/add_metrics_for_duplicate_log_line_bytes
paul1r c80a90f
Fix removal of return val
paul1r 6f321d4
Lint
paul1r 3a43546
Merge branch 'main' into paul1r/add_metrics_for_duplicate_log_line_bytes
paul1r 19cc158
Merge branch 'main' into paul1r/add_metrics_for_duplicate_log_line_bytes
paul1r ae10548
Rework writefailures logic to be easier to read
paul1r 07a82f0
Break out logging of duplicate metrics/log into a function
paul1r 6b6d3d6
Don't make a nested if, break out early if no tenant configsZ
paul1r 1f33c60
Add size to duplicate log line info
paul1r 982ebf6
PR review comments, add comments about what each implementation may r…
paul1r 00f9b82
Merge branch 'main' into paul1r/add_metrics_for_duplicate_log_line_bytes
paul1r 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 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 contains 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 contains 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 contains 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
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.
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.
ditto: I think it makes sense to unify both into a single config.
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.
i think i would leave these separate, I think generally just the metric is useful?