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

Query Frontend: add new field for dense native histogram format #6199

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Sep 9, 2024

What this PR does:

#6151 added support for Ruler to evaluate rules via sending gRPC requests to Query Frontend.

An issue we found out is that the current JSON format query response from Query Frontend doesn't allow Ruler to access the whole information of native histograms. As what Prometheus returns in its Query response is a more compact format of native histogram, not its full format.

With another in progress PR #5527, we can make it possible to return protobuf query response in Query Frontend through Querier. This could make it possible for Ruler to get the full representation of native histograms.

This PR adds a new rawHistograms field to Query Frontend protobuf. This field should never be set when using JSON codec and should be only used when using Protobuf codec asked by Ruler.

Marked as WIP to wait for #5527 to be merged first.

Checklist

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant