Skip to content
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

Updated Prometheus deps to master around 2.15.2 tag. #1947

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

bwplotka
Copy link
Member

@bwplotka bwplotka commented Jan 7, 2020

Fixes: #1935
Fixes: #1928
Fixes: #722
Fixes: #1771

Needed for index-header but mainly this makes compaction and downsampling process taking constant memory! It will take more time though as a tradeoff.

Now it should take at max:

  • ~30th of all symbols*2 and number of postings per loaded block into memory.
  • ~Largest series with its chunks and all label names during compaction.

Help in verifying this on a bigger setup would be nice! (:

Signed-off-by: Bartlomiej Plotka [email protected]

@bwplotka
Copy link
Member Author

bwplotka commented Jan 7, 2020

Did you go through this PR @povilasv in details ? ;p

I made same mistake again (did similar in previous also approved PRs):

- []() Upgraded Prometheus dependencies to v2.15.2. This includes:

It's non-obvious PR so want to be careful here. (:

@povilasv
Copy link
Member

povilasv commented Jan 7, 2020

Did you go through this PR @povilasv in details ? ;p

I did 2x times and IMO it's ok 👍 but obviously needs some review more familiar with the code base :)

castagnoliTable = crc32.MakeTable(crc32.Castagnoli)
}

// ReadSymbols reads the symbol table fully into memory and allocates proper strings for them.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: func name mismatch

@bwplotka
Copy link
Member Author

bwplotka commented Jan 7, 2020

@povilasv double checking (: Thanks for review!

@bwplotka bwplotka merged commit d758432 into master Jan 7, 2020
@bwplotka bwplotka deleted the pull-latest-prom branch January 7, 2020 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants