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

ksonnet: Reduce querier parallelism to a more sane default value and remove the default setting for storage_backend #2452

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

slim-bean
Copy link
Collaborator

The default of 32 for querier parallelism would only make sense for machines with 32 cores which is unlikely.
Setting a new default of 4 which is probably a bit low but safer, including comments on what the appropriate value should be.

Unrelated to this change but while I was here,
I removed the default setting for storage_backend which was very misleading for anyone not using the defaults and instead made it an error not to define this directly.
Anyone not using the defaults would previously get a confusing error about not defining bigtable names, now they should get a more helpful error on how to set the storage_backend variable.

…nts explaining how to set it.

Remove the default setting for storage_backend which was very misleading for anyone not using the defaults.
@codecov-commenter
Copy link

Codecov Report

Merging #2452 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2452      +/-   ##
==========================================
- Coverage   62.79%   62.75%   -0.04%     
==========================================
  Files         162      162              
  Lines       13963    13963              
==========================================
- Hits         8768     8763       -5     
- Misses       4513     4516       +3     
- Partials      682      684       +2     
Impacted Files Coverage Δ
pkg/promtail/targets/file/tailer.go 73.86% <0.00%> (-4.55%) ⬇️
pkg/promtail/targets/file/filetarget.go 67.85% <0.00%> (-1.79%) ⬇️
pkg/logql/evaluator.go 92.88% <0.00%> (+0.40%) ⬆️

@owen-d owen-d merged commit 7a60efc into master Jul 30, 2020
@owen-d owen-d deleted the ksonnet-fixes branch July 30, 2020 16:58
cyriltovena pushed a commit to cyriltovena/loki that referenced this pull request Jun 11, 2021
* Refactor: export NextDelay() so we can call it from other packages

Signed-off-by: Bryan Boreham <bryan@weave.works>

* Refactor: use newer AWS API for paginated queries

This is less code, and more robust when retrying requests.
We don't need an indirection on the request object for testing now.

Signed-off-by: Bryan Boreham <bryan@weave.works>

* Don't need DynamoDB request wrapper to do so much now

Now we are calling QueryPagesWithContext directly we don't need the
paging interface and we never re-use request objects.

Signed-off-by: Bryan Boreham <bryan@weave.works>

* Stop AWS Retryer if context is cancelled

Ingester.flushUserSeries() puts a timeout on the context, so don't
retry for longer than that.

Signed-off-by: Bryan Boreham <bryan@weave.works>
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