Skip to content

Add limit for max query length in query-frontend #4602

@56quarters

Description

@56quarters

Is your feature request related to a problem? Please describe.

In order to protect the system from expensive queries, it's helpful to put a cap on the max query length.

Describe the solution you'd like

We should be able to set a max query length per-tenant. This would filter out "obviously bad" queries, e.g. queries that contain many Kb of regex matchers.

Describe alternatives you've considered

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions