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

limits: limits implementation for loki #948

Merged
merged 4 commits into from
Sep 23, 2019

Conversation

sandeepsukhani
Copy link
Contributor

What this PR does / why we need it:

There were already some of the limits implemented in Loki.
Implemented new loki specific limits using latest Cortex which supports dynamic limits.
Added the following new limits:

Length of query
Number of active streams
Number of streams matcher per query
Ingestion rate

Checklist

  • Tests updated

Added following new limits:

Length of query
Number of active streams
Number of streams matcher per query
Ingestion rate
Copy link
Member

@rfratto rfratto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking good!

pkg/distributor/distributor.go Outdated Show resolved Hide resolved
pkg/ingester/instance.go Outdated Show resolved Hide resolved
Copy link
Member

@rfratto rfratto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@sandeepsukhani sandeepsukhani merged commit ec5bc70 into grafana:master Sep 23, 2019
rfratto added a commit to rfratto/loki that referenced this pull request Nov 18, 2019
rfratto added a commit that referenced this pull request Nov 20, 2019
Co-Authored-By: Sandeep Sukhani <sandeep.d.sukhani@gmail.com>
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