Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Conversation

cyriltovena
Copy link
Collaborator

This adds two new limits MaxLookBack and MaxLength.

The max length will result in a bad request error, however the MaxLookBack only rewrite the query.

Fixes #600

Copy link
Contributor

@kolesnikovae kolesnikovae left a comment

Choose a reason for hiding this comment

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

LGTM

@cyriltovena cyriltovena merged commit 929d630 into main Jun 2, 2023
@cyriltovena cyriltovena deleted the query-limits branch June 2, 2023 08:41
simonswine pushed a commit to simonswine/pyroscope that referenced this pull request Jun 30, 2023
* Setup better default

* Add MaxLookBack and Length Query Limits

* Fixes double config flag registration

* make reference-help
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tenant query limits

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.