-
Notifications
You must be signed in to change notification settings - Fork 816
tsdb: expose stripe size option to reduce tsdb memory footprint #2185
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
Conversation
d751087
to
f55a530
Compare
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.
Thanks @thorfour! I'm not sure it's configured correctly.
6b536ae
to
f386f1c
Compare
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.
Thanks!
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.
LGTM but I think asking people to set the whole thing is better than asking to pass the power of 2. Curious what others thing.
I thought the same and I would tend to agree. The only thing is that the value must be a power of 2, but we can validate it in |
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.
LGTM
f386f1c
to
4117191
Compare
Added validation that the given value is a power of 2. Thanks for the feedback! |
Signed-off-by: Thor <[email protected]>
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.
LGTM, thanks!
Signed-off-by: Thor [email protected]
What this PR does:
Exposes the new TSDB StripeSize option for reducing memory footprint.
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]