Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tempo: Set default limit if none is provided for traceql queries #65039

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

domasx2
Copy link
Contributor

@domasx2 domasx2 commented Mar 20, 2023

If tempo datasource.query() is called but no limit is provided, it sends query with "limit": undefined, to tempo data source. It then fails to parse this and returns 400. This PR sets limit to default if none is provided

@domasx2 domasx2 added this to the 9.5.0 milestone Mar 20, 2023
@domasx2 domasx2 requested a review from a team as a code owner March 20, 2023 11:33
@domasx2 domasx2 added add to changelog no-backport Skip backport of PR labels Mar 20, 2023
@github-advanced-security
Copy link

You have successfully added a new CodeQL configuration .github/workflows/pr-codeql-analysis-javascript.yml:analyze. As part of the setup process, we have scanned this repository and found 29 existing alerts. Please check the repository Security tab to see all alerts.

Copy link
Contributor

@adrapereira adrapereira left a comment

Choose a reason for hiding this comment

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

Thanks Domas!

@domasx2 domasx2 merged commit ff49683 into main Mar 20, 2023
@domasx2 domasx2 deleted the domas-enforce-limit-for-tempo-traceql-metrics branch March 20, 2023 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants