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

default chunk target size to ~1MB~ 1.5MB #4388

Merged
merged 2 commits into from
Sep 29, 2021
Merged

default chunk target size to ~1MB~ 1.5MB #4388

merged 2 commits into from
Sep 29, 2021

Conversation

trevorwhitney
Copy link
Collaborator

@trevorwhitney trevorwhitney commented Sep 27, 2021

Signed-off-by: Trevor Whitney trevorjwhitney@gmail.com

What this PR does / why we need it:
Set the default value of -ingester.chunk-target-size to 1MB 1.5MB.

Originally had this at 1MB, after talking to @slim-bean decided 1.5MB. Whatever the value is, 0 is not a good default, forcing a user to always configure this.

Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
@trevorwhitney trevorwhitney requested a review from a team as a code owner September 27, 2021 17:02
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
@trevorwhitney trevorwhitney changed the title default chunk target size to 1MB default chunk target size to ~1MB~ 1.5MB Sep 28, 2021
@owen-d owen-d merged commit de0c469 into main Sep 29, 2021
@owen-d owen-d deleted the default-chunk-size branch September 29, 2021 12:39
@mortaelth
Copy link

please update new default in configuration doc: https://grafana.com/docs/loki/latest/configuration/#ingester_config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants