github.com/grafana/pyroscope@v1.18.0/pkg/frontend/frontendpb/frontend.proto (about)

     1  // SPDX-License-Identifier: AGPL-3.0-only
     2  // Provenance-includes-location: https://github.com/cortexproject/cortex/blob/master/pkg/frontend/v2/frontendv2pb/frontend.proto
     3  // Provenance-includes-license: Apache-2.0
     4  // Provenance-includes-copyright: The Cortex Authors.
     5  
     6  syntax = "proto3";
     7  
     8  package frontendpb;
     9  
    10  import "querier/stats/stats.proto";
    11  import "util/httpgrpc/httpgrpc.proto";
    12  
    13  option go_package = "frontendpb";
    14  
    15  // Frontend interface exposed to Queriers. Used by queriers to report back the result of the query.
    16  service FrontendForQuerier {
    17    rpc QueryResult(QueryResultRequest) returns (QueryResultResponse) {}
    18  }
    19  
    20  message QueryResultRequest {
    21    uint64 queryID = 1;
    22    httpgrpc.HTTPResponse httpResponse = 2;
    23    stats.Stats stats = 3;
    24  
    25    // There is no userID field here, because Querier puts userID into the context when
    26    // calling QueryResult, and that is where Frontend expects to find it.
    27  }
    28  
    29  message QueryResultResponse {}