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

Added max streams per user global limit #1493

Merged

Conversation

pracucci
Copy link
Contributor

@pracucci pracucci commented Jan 9, 2020

What this PR does / why we need it:

Following a similar work done in Cortex, in this PR I've introduced a global limit on the max number of streams per user (default is 0, which means disabled).

When the global limit is enabled, each ingester is configured with a dynamic local limit based on the replication factor and the current number of healthy ingesters, and is kept updated whenever the number of ingesters change.

Which issue(s) this PR fixes:
N/A

Checklist

  • Documentation added
  • Tests updated

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci force-pushed the add-max-global-streams-per-user branch from a337261 to fe31059 Compare January 9, 2020 15:15
@cyriltovena cyriltovena merged commit ec40515 into grafana:master Jan 9, 2020
@pracucci pracucci deleted the add-max-global-streams-per-user branch January 10, 2020 07:38
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.

3 participants