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

Implement GRPC query API #5250

Merged
merged 1 commit into from Mar 29, 2022
Merged

Commits on Mar 29, 2022

  1. Implement GRPC query API

    With the current GRPC APIs, layering Thanos Queriers results in
    the root querier getting all of the samples and executing the query
    in memory. As a result, the intermediary Queriers do not do any
    intensive work and merely transport samples from the Stores to the
    root Querier.
    
    When data is perfectly sharded, users can implement a pattern where
    the root Querier instructs the intermediary ones to execute the queries
    from their stores and return back results. The results can then be
    concatenated by the root querier and returned to the user.
    
    In order to support this use case, this commit implements a GRPC API
    in the Querier which is analogous to the HTTP Query API exposed
    by Prometheus.
    
    Signed-off-by: fpetkovski <filip.petkovsky@gmail.com>
    fpetkovski committed Mar 29, 2022
    Copy the full SHA
    aa70ff8 View commit details
    Browse the repository at this point in the history