-
Notifications
You must be signed in to change notification settings - Fork 1.2k
sdk/log: Deduplicate key-value collections in Record.SetBody #7002
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
Merged
pellared
merged 21 commits into
open-telemetry:main
from
Mojachieee:dedup-keyvals-in-log-body
Aug 25, 2025
Merged
Changes from 6 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
ee35e14
add test cases for keyvalue collections with duplicates in log body
Mojachieee 6d291b2
update SetBody to deduplicate keyvalue collections
Mojachieee 642daca
refactor dedupeandlimit func into separate funcs
Mojachieee d09263a
lint
Mojachieee 319c086
fix allowDuplicates bug and add test
Mojachieee 07d610f
changelog
Mojachieee 3e64aa9
fix dedupe body using wrong function, update changelog
Mojachieee efc658a
Update CHANGELOG.md
pellared 0c54eab
Apply suggestions from code review
Mojachieee fbade72
Update sdk/log/record_test.go
pellared 5acf33a
Merge branch 'main' into dedup-keyvals-in-log-body
pellared 80f0893
lint
Mojachieee e9bd161
Merge branch 'main' into dedup-keyvals-in-log-body
pellared 4df978d
Merge branch 'main' into dedup-keyvals-in-log-body
pellared 565eba4
Merge branch 'main' into dedup-keyvals-in-log-body
Mojachieee 5cddc9a
add benchmark for record.SetBody
Mojachieee 4cb8459
Merge branch 'main' into dedup-keyvals-in-log-body
Mojachieee 6242fef
newRecord dedupes body collections & add test
Mojachieee 69af503
Merge branch 'main' into dedup-keyvals-in-log-body
pellared 12a9d7c
Merge branch 'main' into dedup-keyvals-in-log-body
pellared e382ce9
Merge branch 'main' into dedup-keyvals-in-log-body
pellared 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 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 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
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.