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

Standardize ingestion burst setting #445

Merged
merged 3 commits into from
Jan 8, 2021

Conversation

mdisibio
Copy link
Contributor

@mdisibio mdisibio commented Jan 8, 2021

What this PR does:
This PR renames IngestionMaxBatchSize to IngestionBurstSize to bring it more in line with cortex and loki. Instead of a max request size, it is more general purpose and in all cases the value is configured quite higher than the ingestion_rate_limit.

Some links:
https://github.com/grafana/loki/blob/master/pkg/util/validation/limits.go#L64 (default is 1.5x of rate)
https://github.com/cortexproject/cortex/blob/master/pkg/util/validation/limits.go#L97 (default 2x of rate)
Internally, the burst size is even more generous (generally 10x of rate).

It doesn't appear that we have documented the override/limit settings. There is good documentation in cortex here, that we should consider adopting: https://github.com/cortexproject/cortex/blob/master/docs/configuration/arguments.md#ingester-distributor--querier-limits

Which issue(s) this PR fixes:
n/a

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@joe-elliott
Copy link
Member

This Fixes #264

@joe-elliott joe-elliott merged commit a796195 into grafana:master Jan 8, 2021
@mdisibio mdisibio deleted the standardize-burst branch February 3, 2021 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants