Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Validates label matchers in the querier #601

Merged
merged 1 commit into from
Mar 29, 2023
Merged

Conversation

cyriltovena
Copy link
Collaborator

@cyriltovena cyriltovena commented Mar 29, 2023

This will stop doing 500 when entering a wrong query. This is because it was propagated to ingester and the response was wrapped into a multierror with httpgrpc code.

I went for the easy route and pre-validate.

@cyriltovena cyriltovena enabled auto-merge (squash) March 29, 2023 07:34
Copy link
Collaborator

@simonswine simonswine 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 41338ed into main Mar 29, 2023
@cyriltovena cyriltovena deleted the validate-labels branch March 29, 2023 07:44
simonswine pushed a commit to simonswine/pyroscope that referenced this pull request Jun 30, 2023
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.

2 participants