Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/pkg/lokifrontend/frontend/v2/frontendv2pb/frontend.proto

27 lines
806 B

syntax = "proto3";
package frontendv2pb;
import "github.com/grafana/dskit/httpgrpc/httpgrpc.proto";
import "gogoproto/gogo.proto";
import "pkg/querier/stats/stats.proto";
option go_package = "frontendv2pb";
option (gogoproto.marshaler_all) = true;
option (gogoproto.unmarshaler_all) = true;
// Frontend interface exposed to Queriers. Used by queriers to report back the result of the query.
service FrontendForQuerier {
rpc QueryResult(QueryResultRequest) returns (QueryResultResponse) {}
}
message QueryResultRequest {
uint64 queryID = 1;
httpgrpc.HTTPResponse httpResponse = 2;
stats.Stats stats = 3;
// There is no userID field here, because Querier puts userID into the context when
// calling QueryResult, and that is where Frontend expects to find it.
}
message QueryResultResponse {}