-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Feature/per tenant splitby #1565
Feature/per tenant splitby #1565
Conversation
4fc287b
to
c069a2b
Compare
c069a2b
to
aaef6f6
Compare
928d7a4
to
61ff42c
Compare
pkg/querier/queryrange/cache.go
Outdated
"github.com/cortexproject/cortex/pkg/querier/queryrange" | ||
) | ||
|
||
type CacheKeyLimits interface { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cyriltovena Do you think it's excessive to have custom interfaces for this? Should I just inline a cacheKeyLimits{limits}
when constructing the cache middleware?
85662d9
to
f982866
Compare
Codecov Report
@@ Coverage Diff @@
## master #1565 +/- ##
==========================================
+ Coverage 60.78% 60.97% +0.18%
==========================================
Files 107 108 +1
Lines 8073 8143 +70
==========================================
+ Hits 4907 4965 +58
- Misses 2782 2788 +6
- Partials 384 390 +6
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOTM
This allows the
querier.split-queries-by-interval
to be specified in overrides files viasplit_queries_by_interval
. Previously this was a component wide config. It enables serving tenants of different throughputs.closes #1556