Description
Is your feature request related to a problem? Please describe.
The chunks storage support the -ingester.max-series-per-query
limit, which allows to configure the maximum number of series for which a query can fetch samples from ingesters. It's not a full support to limit series per query, because the limit is enforced in the ingesters only.
Blocks storage doesn't support it at all.
Describe the solution you'd like
Ideally, we should limit series per query in the blocks storage, both when fetching samples from ingesters and long term storage. The store-gateway internally supports a series limit (we're currently not using it), but that would be enforced in a single store-gateway only. We could do it, plus enforced in ingesters and queriers, to have a real limit implementation.