github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/pkg/frontend/v2/frontendv2pb/frontend.proto (about)

     1  syntax = "proto3";
     2  
     3  package frontendv2pb;
     4  
     5  option go_package = "frontendv2pb";
     6  
     7  import "github.com/gogo/protobuf/gogoproto/gogo.proto";
     8  import "github.com/weaveworks/common/httpgrpc/httpgrpc.proto";
     9  import "github.com/cortexproject/cortex/pkg/querier/stats/stats.proto";
    10  
    11  option (gogoproto.marshaler_all) = true;
    12  option (gogoproto.unmarshaler_all) = true;
    13  
    14  // Frontend interface exposed to Queriers. Used by queriers to report back the result of the query.
    15  service FrontendForQuerier {
    16      rpc QueryResult (QueryResultRequest) returns (QueryResultResponse) { };
    17  }
    18  
    19  message QueryResultRequest {
    20      uint64 queryID = 1;
    21      httpgrpc.HTTPResponse httpResponse = 2;
    22      stats.Stats stats = 3;
    23  
    24      // There is no userID field here, because Querier puts userID into the context when
    25      // calling QueryResult, and that is where Frontend expects to find it.
    26  }
    27  
    28  message QueryResultResponse { }