-
Notifications
You must be signed in to change notification settings - Fork 1.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
[chore] Bytes based batching for profiles #12564
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
❌ Your patch check has failed because the patch coverage (75.00%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #12564 +/- ##
==========================================
- Coverage 91.54% 91.43% -0.11%
==========================================
Files 479 480 +1
Lines 26478 26549 +71
==========================================
+ Hits 24239 24276 +37
- Misses 1765 1798 +33
- Partials 474 475 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8c64251
to
ddedc5b
Compare
ddedc5b
to
e43b829
Compare
Fixed conflicts. Can you review? @dmitryax @bogdandrutu |
2c4b214
to
2d45881
Compare
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
2d45881
to
6979d6f
Compare
protoDeltaSizer | ||
} | ||
|
||
var _ ProfilesSizer = (*ProfilesBytesSizer)(nil) |
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.
What is this anonymous variable for?
@@ -135,7 +140,7 @@ func TestMergeSplitProfiles(t *testing.T) { | |||
func TestExtractProfiles(t *testing.T) { | |||
for i := 0; i < 10; i++ { | |||
ld := testdata.GenerateProfiles(10) | |||
extractedProfiles := extractProfiles(ld, i) | |||
extractedProfiles, _ := extractProfiles(ld, i, &sizer.ProfilesCountSizer{}) |
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.
Can you add some unit test for the bytes based batching?
Description
This PR implements serialized bytes based batching for metrics.
Link to tracking issue
#3262
Continuation of #12299 made by @sfc-gh-sili.
Related PRs: