cortexproject / cortex

A horizontally scalable, highly available, multi-tenant, long term Prometheus.
https://cortexmetrics.io/
Apache License 2.0
5.46k stars 795 forks source link

Support enabled_tenants and disabled_tenants in store-gateway #5133

Closed friedrichg closed 11 months ago

friedrichg commented 1 year ago

Is your feature request related to a problem? Please describe. enabled_tenants and disabled_tenants in rulers, compactors and alertmanager is a nice feature to run different ruler and compactors and alertmanager for different tenants. It should be possible to do the same in store-gateway

Describe the solution you'd like It should be possible to define -store-gateway.enabled-tenants and -store-gateway.disabled-tenants to enable specific tenants in the store-gateway cluster

Describe alternatives you've considered None, I think this one is consistent with the rest of the options.

Additional context None

johurul000 commented 1 year ago

@friedrichg Is it beginner friendly?

moki1202 commented 1 year ago

@friedrichg I can give this a try!

friedrichg commented 1 year ago

@moki1202 yes @moki1202 sure, go ahead. Another thing you can do as a beginner is to review other PRs and give suggestions that have not been given.

moki1202 commented 1 year ago

@moki1202 yes @moki1202 sure, go ahead. Another thing you can do as a beginner is to review other PRs and give suggestions that have not been given.

I would love to! I'll have a look at some of the PRs.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity in the past 60 days. It will be closed in 15 days if no further activity occurs. Thank you for your contributions.