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

Bugfix: Default step for gRPC streaming query range queries #4546

Merged
merged 6 commits into from
Jan 13, 2025

Conversation

joe-elliott
Copy link
Member

What this PR does:
Currently the http query range endpoint will choose a default step if none is provided, but the gRPC streaming endpoint will simply return an error: code = Unknown desc = step required.

This PR uses the same logic in the gRPC streaming as http to choose a default step if the passed value is 0.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
@joe-elliott joe-elliott changed the title Bugfix: Default step grpc query range Bugfix: Default step for gRPC streaming query range queries Jan 13, 2025
Signed-off-by: Joe Elliott <number101010@gmail.com>
@joe-elliott joe-elliott merged commit 424274a into grafana:main Jan 13, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants