mirror of https://github.com/grafana/loki
[TSDB] Ingester Index Sampling (#6852)
* queryrangebase definitions protos & aliases Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * indexgatewaypb to logproto Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * updates queryrange.proto for new definitions file Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * s/indexgatewaypb/logproto/g Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * renames to indexseries for clobbering reasons Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * more indexgatewaypb removal compatibility work Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * proto fmt Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * rebuild imports Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * goimports -s Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * query ingesters for index stats Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * compatibility during rollouts for idx-gw+ingester-querier post proto refactor Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * proto compatibility with old indexgateway pkg path Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * test compat Signed-off-by: Owen Diehl <ow.diehl@gmail.com> * gofmt Signed-off-by: Owen Diehl <ow.diehl@gmail.com>pull/6856/head
parent
bab049ca6f
commit
57cec8e496
@ -0,0 +1,353 @@ |
||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||
// source: pkg/logproto/indexgateway.proto
|
||||
|
||||
package logproto |
||||
|
||||
import ( |
||||
context "context" |
||||
fmt "fmt" |
||||
_ "github.com/gogo/protobuf/gogoproto" |
||||
proto "github.com/gogo/protobuf/proto" |
||||
grpc "google.golang.org/grpc" |
||||
codes "google.golang.org/grpc/codes" |
||||
status "google.golang.org/grpc/status" |
||||
math "math" |
||||
) |
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal |
||||
var _ = fmt.Errorf |
||||
var _ = math.Inf |
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
||||
|
||||
func init() { proto.RegisterFile("pkg/logproto/indexgateway.proto", fileDescriptor_d27585148d0a52c8) } |
||||
|
||||
var fileDescriptor_d27585148d0a52c8 = []byte{ |
||||
// 360 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xb1, 0x4e, 0xf3, 0x30, |
||||
0x14, 0x85, 0x6d, 0xfd, 0xd2, 0x2f, 0x30, 0x88, 0xc1, 0x4b, 0x51, 0x0a, 0x46, 0x42, 0x0c, 0x30, |
||||
0xd0, 0x20, 0x78, 0x03, 0x90, 0x1a, 0x55, 0x2a, 0x48, 0x14, 0x89, 0xa1, 0x03, 0xc2, 0x29, 0xb7, |
||||
0x69, 0xd4, 0x34, 0x0e, 0x89, 0x23, 0xe8, 0xc6, 0x23, 0xf0, 0x18, 0x3c, 0x0a, 0x63, 0xc7, 0x8e, |
||||
0xd4, 0x5d, 0x18, 0x3b, 0x33, 0xa1, 0x38, 0x4a, 0xeb, 0x56, 0xa9, 0xc4, 0x14, 0xfb, 0x9c, 0x73, |
||||
0xbf, 0xab, 0xf8, 0x5e, 0x72, 0x10, 0xf5, 0x3d, 0x3b, 0x10, 0x5e, 0x14, 0x0b, 0x29, 0x6c, 0x3f, |
||||
0x7c, 0x82, 0x57, 0x8f, 0x4b, 0x78, 0xe1, 0xc3, 0x9a, 0x96, 0xe8, 0x8e, 0xa9, 0x45, 0xae, 0x75, |
||||
0xea, 0xf9, 0xb2, 0x97, 0xba, 0xb5, 0x8e, 0x18, 0xd8, 0x9e, 0xf0, 0x84, 0xad, 0x63, 0x6e, 0xda, |
||||
0xd5, 0xb7, 0x1c, 0x93, 0x9d, 0xf2, 0x72, 0xab, 0xba, 0xc4, 0x2f, 0x0e, 0xb9, 0x79, 0xfe, 0xf3, |
||||
0x8f, 0x6c, 0x37, 0x32, 0xbc, 0x93, 0xe3, 0x69, 0x83, 0x90, 0xdb, 0x14, 0xe2, 0xa1, 0x16, 0x69, |
||||
0xb5, 0x36, 0xcf, 0x2f, 0xd4, 0x16, 0x3c, 0xa7, 0x90, 0x48, 0x6b, 0xaf, 0xdc, 0x4c, 0x22, 0x11, |
||||
0x26, 0x70, 0x86, 0x69, 0x93, 0x6c, 0x39, 0x20, 0xaf, 0x7a, 0x69, 0xd8, 0x6f, 0x41, 0x97, 0x1a, |
||||
0x71, 0x43, 0x2e, 0x60, 0xfb, 0x6b, 0xdc, 0x9c, 0x76, 0x88, 0x68, 0x9d, 0x6c, 0x3a, 0x20, 0xef, |
||||
0x20, 0xf6, 0x21, 0xa1, 0xd6, 0x52, 0x3a, 0x17, 0x0b, 0x52, 0xb5, 0xd4, 0x9b, 0x73, 0x1e, 0x48, |
||||
0xa5, 0xc9, 0x5d, 0x08, 0x6e, 0xf8, 0x00, 0x92, 0xba, 0x88, 0xaf, 0x41, 0xc6, 0x7e, 0x27, 0xbb, |
||||
0xd1, 0xe3, 0x45, 0xe5, 0x9a, 0x48, 0xd1, 0xa3, 0xb2, 0x92, 0x34, 0xf8, 0x8f, 0x64, 0x57, 0x4b, |
||||
0xf7, 0x3c, 0x48, 0x57, 0x1b, 0x9c, 0xac, 0x94, 0x95, 0x64, 0xfe, 0xd0, 0xc1, 0x21, 0x1b, 0xd9, |
||||
0x8f, 0x49, 0x2e, 0x13, 0x73, 0x40, 0xfa, 0xf9, 0xb5, 0x5a, 0x32, 0x20, 0xd3, 0x2c, 0x40, 0x97, |
||||
0xed, 0xd1, 0x84, 0xa1, 0xf1, 0x84, 0xa1, 0xd9, 0x84, 0xe1, 0x37, 0xc5, 0xf0, 0x87, 0x62, 0xf8, |
||||
0x53, 0x31, 0x3c, 0x52, 0x0c, 0x7f, 0x29, 0x86, 0xbf, 0x15, 0x43, 0x33, 0xc5, 0xf0, 0xfb, 0x94, |
||||
0xa1, 0xd1, 0x94, 0xa1, 0xf1, 0x94, 0xa1, 0xf6, 0x91, 0xb9, 0x7e, 0x31, 0xef, 0xf2, 0x90, 0xdb, |
||||
0x81, 0xe8, 0xfb, 0xb6, 0xb9, 0x67, 0xee, 0x7f, 0xfd, 0xb9, 0xf8, 0x0d, 0x00, 0x00, 0xff, 0xff, |
||||
0xf0, 0xa4, 0xc7, 0x87, 0xde, 0x02, 0x00, 0x00, |
||||
} |
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context |
||||
var _ grpc.ClientConn |
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4 |
||||
|
||||
// IndexGatewayClient is the client API for IndexGateway service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type IndexGatewayClient interface { |
||||
/// QueryIndex reads the indexes required for given query & sends back the batch of rows
|
||||
/// in rpc streams
|
||||
QueryIndex(ctx context.Context, in *QueryIndexRequest, opts ...grpc.CallOption) (IndexGateway_QueryIndexClient, error) |
||||
/// GetChunkRef returns chunk reference that match the provided label matchers
|
||||
GetChunkRef(ctx context.Context, in *GetChunkRefRequest, opts ...grpc.CallOption) (*GetChunkRefResponse, error) |
||||
GetSeries(ctx context.Context, in *GetSeriesRequest, opts ...grpc.CallOption) (*GetSeriesResponse, error) |
||||
LabelNamesForMetricName(ctx context.Context, in *LabelNamesForMetricNameRequest, opts ...grpc.CallOption) (*LabelResponse, error) |
||||
LabelValuesForMetricName(ctx context.Context, in *LabelValuesForMetricNameRequest, opts ...grpc.CallOption) (*LabelResponse, error) |
||||
// Note: this MUST be the same as the variant defined in
|
||||
// logproto.proto on the Querier service.
|
||||
GetStats(ctx context.Context, in *IndexStatsRequest, opts ...grpc.CallOption) (*IndexStatsResponse, error) |
||||
} |
||||
|
||||
type indexGatewayClient struct { |
||||
cc *grpc.ClientConn |
||||
} |
||||
|
||||
func NewIndexGatewayClient(cc *grpc.ClientConn) IndexGatewayClient { |
||||
return &indexGatewayClient{cc} |
||||
} |
||||
|
||||
func (c *indexGatewayClient) QueryIndex(ctx context.Context, in *QueryIndexRequest, opts ...grpc.CallOption) (IndexGateway_QueryIndexClient, error) { |
||||
stream, err := c.cc.NewStream(ctx, &_IndexGateway_serviceDesc.Streams[0], "/indexgatewaypb.IndexGateway/QueryIndex", opts...) |
||||
if err != nil { |
||||
return nil, err |
||||
} |
||||
x := &indexGatewayQueryIndexClient{stream} |
||||
if err := x.ClientStream.SendMsg(in); err != nil { |
||||
return nil, err |
||||
} |
||||
if err := x.ClientStream.CloseSend(); err != nil { |
||||
return nil, err |
||||
} |
||||
return x, nil |
||||
} |
||||
|
||||
type IndexGateway_QueryIndexClient interface { |
||||
Recv() (*QueryIndexResponse, error) |
||||
grpc.ClientStream |
||||
} |
||||
|
||||
type indexGatewayQueryIndexClient struct { |
||||
grpc.ClientStream |
||||
} |
||||
|
||||
func (x *indexGatewayQueryIndexClient) Recv() (*QueryIndexResponse, error) { |
||||
m := new(QueryIndexResponse) |
||||
if err := x.ClientStream.RecvMsg(m); err != nil { |
||||
return nil, err |
||||
} |
||||
return m, nil |
||||
} |
||||
|
||||
func (c *indexGatewayClient) GetChunkRef(ctx context.Context, in *GetChunkRefRequest, opts ...grpc.CallOption) (*GetChunkRefResponse, error) { |
||||
out := new(GetChunkRefResponse) |
||||
err := c.cc.Invoke(ctx, "/indexgatewaypb.IndexGateway/GetChunkRef", in, out, opts...) |
||||
if err != nil { |
||||
return nil, err |
||||
} |
||||
return out, nil |
||||
} |
||||
|
||||
func (c *indexGatewayClient) GetSeries(ctx context.Context, in *GetSeriesRequest, opts ...grpc.CallOption) (*GetSeriesResponse, error) { |
||||
out := new(GetSeriesResponse) |
||||
err := c.cc.Invoke(ctx, "/indexgatewaypb.IndexGateway/GetSeries", in, out, opts...) |
||||
if err != nil { |
||||
return nil, err |
||||
} |
||||
return out, nil |
||||
} |
||||
|
||||
func (c *indexGatewayClient) LabelNamesForMetricName(ctx context.Context, in *LabelNamesForMetricNameRequest, opts ...grpc.CallOption) (*LabelResponse, error) { |
||||
out := new(LabelResponse) |
||||
err := c.cc.Invoke(ctx, "/indexgatewaypb.IndexGateway/LabelNamesForMetricName", in, out, opts...) |
||||
if err != nil { |
||||
return nil, err |
||||
} |
||||
return out, nil |
||||
} |
||||
|
||||
func (c *indexGatewayClient) LabelValuesForMetricName(ctx context.Context, in *LabelValuesForMetricNameRequest, opts ...grpc.CallOption) (*LabelResponse, error) { |
||||
out := new(LabelResponse) |
||||
err := c.cc.Invoke(ctx, "/indexgatewaypb.IndexGateway/LabelValuesForMetricName", in, out, opts...) |
||||
if err != nil { |
||||
return nil, err |
||||
} |
||||
return out, nil |
||||
} |
||||
|
||||
func (c *indexGatewayClient) GetStats(ctx context.Context, in *IndexStatsRequest, opts ...grpc.CallOption) (*IndexStatsResponse, error) { |
||||
out := new(IndexStatsResponse) |
||||
err := c.cc.Invoke(ctx, "/indexgatewaypb.IndexGateway/GetStats", in, out, opts...) |
||||
if err != nil { |
||||
return nil, err |
||||
} |
||||
return out, nil |
||||
} |
||||
|
||||
// IndexGatewayServer is the server API for IndexGateway service.
|
||||
type IndexGatewayServer interface { |
||||
/// QueryIndex reads the indexes required for given query & sends back the batch of rows
|
||||
/// in rpc streams
|
||||
QueryIndex(*QueryIndexRequest, IndexGateway_QueryIndexServer) error |
||||
/// GetChunkRef returns chunk reference that match the provided label matchers
|
||||
GetChunkRef(context.Context, *GetChunkRefRequest) (*GetChunkRefResponse, error) |
||||
GetSeries(context.Context, *GetSeriesRequest) (*GetSeriesResponse, error) |
||||
LabelNamesForMetricName(context.Context, *LabelNamesForMetricNameRequest) (*LabelResponse, error) |
||||
LabelValuesForMetricName(context.Context, *LabelValuesForMetricNameRequest) (*LabelResponse, error) |
||||
// Note: this MUST be the same as the variant defined in
|
||||
// logproto.proto on the Querier service.
|
||||
GetStats(context.Context, *IndexStatsRequest) (*IndexStatsResponse, error) |
||||
} |
||||
|
||||
// UnimplementedIndexGatewayServer can be embedded to have forward compatible implementations.
|
||||
type UnimplementedIndexGatewayServer struct { |
||||
} |
||||
|
||||
func (*UnimplementedIndexGatewayServer) QueryIndex(req *QueryIndexRequest, srv IndexGateway_QueryIndexServer) error { |
||||
return status.Errorf(codes.Unimplemented, "method QueryIndex not implemented") |
||||
} |
||||
func (*UnimplementedIndexGatewayServer) GetChunkRef(ctx context.Context, req *GetChunkRefRequest) (*GetChunkRefResponse, error) { |
||||
return nil, status.Errorf(codes.Unimplemented, "method GetChunkRef not implemented") |
||||
} |
||||
func (*UnimplementedIndexGatewayServer) GetSeries(ctx context.Context, req *GetSeriesRequest) (*GetSeriesResponse, error) { |
||||
return nil, status.Errorf(codes.Unimplemented, "method GetSeries not implemented") |
||||
} |
||||
func (*UnimplementedIndexGatewayServer) LabelNamesForMetricName(ctx context.Context, req *LabelNamesForMetricNameRequest) (*LabelResponse, error) { |
||||
return nil, status.Errorf(codes.Unimplemented, "method LabelNamesForMetricName not implemented") |
||||
} |
||||
func (*UnimplementedIndexGatewayServer) LabelValuesForMetricName(ctx context.Context, req *LabelValuesForMetricNameRequest) (*LabelResponse, error) { |
||||
return nil, status.Errorf(codes.Unimplemented, "method LabelValuesForMetricName not implemented") |
||||
} |
||||
func (*UnimplementedIndexGatewayServer) GetStats(ctx context.Context, req *IndexStatsRequest) (*IndexStatsResponse, error) { |
||||
return nil, status.Errorf(codes.Unimplemented, "method GetStats not implemented") |
||||
} |
||||
|
||||
func RegisterIndexGatewayServer(s *grpc.Server, srv IndexGatewayServer) { |
||||
s.RegisterService(&_IndexGateway_serviceDesc, srv) |
||||
} |
||||
|
||||
func _IndexGateway_QueryIndex_Handler(srv interface{}, stream grpc.ServerStream) error { |
||||
m := new(QueryIndexRequest) |
||||
if err := stream.RecvMsg(m); err != nil { |
||||
return err |
||||
} |
||||
return srv.(IndexGatewayServer).QueryIndex(m, &indexGatewayQueryIndexServer{stream}) |
||||
} |
||||
|
||||
type IndexGateway_QueryIndexServer interface { |
||||
Send(*QueryIndexResponse) error |
||||
grpc.ServerStream |
||||
} |
||||
|
||||
type indexGatewayQueryIndexServer struct { |
||||
grpc.ServerStream |
||||
} |
||||
|
||||
func (x *indexGatewayQueryIndexServer) Send(m *QueryIndexResponse) error { |
||||
return x.ServerStream.SendMsg(m) |
||||
} |
||||
|
||||
func _IndexGateway_GetChunkRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
||||
in := new(GetChunkRefRequest) |
||||
if err := dec(in); err != nil { |
||||
return nil, err |
||||
} |
||||
if interceptor == nil { |
||||
return srv.(IndexGatewayServer).GetChunkRef(ctx, in) |
||||
} |
||||
info := &grpc.UnaryServerInfo{ |
||||
Server: srv, |
||||
FullMethod: "/indexgatewaypb.IndexGateway/GetChunkRef", |
||||
} |
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
||||
return srv.(IndexGatewayServer).GetChunkRef(ctx, req.(*GetChunkRefRequest)) |
||||
} |
||||
return interceptor(ctx, in, info, handler) |
||||
} |
||||
|
||||
func _IndexGateway_GetSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
||||
in := new(GetSeriesRequest) |
||||
if err := dec(in); err != nil { |
||||
return nil, err |
||||
} |
||||
if interceptor == nil { |
||||
return srv.(IndexGatewayServer).GetSeries(ctx, in) |
||||
} |
||||
info := &grpc.UnaryServerInfo{ |
||||
Server: srv, |
||||
FullMethod: "/indexgatewaypb.IndexGateway/GetSeries", |
||||
} |
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
||||
return srv.(IndexGatewayServer).GetSeries(ctx, req.(*GetSeriesRequest)) |
||||
} |
||||
return interceptor(ctx, in, info, handler) |
||||
} |
||||
|
||||
func _IndexGateway_LabelNamesForMetricName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
||||
in := new(LabelNamesForMetricNameRequest) |
||||
if err := dec(in); err != nil { |
||||
return nil, err |
||||
} |
||||
if interceptor == nil { |
||||
return srv.(IndexGatewayServer).LabelNamesForMetricName(ctx, in) |
||||
} |
||||
info := &grpc.UnaryServerInfo{ |
||||
Server: srv, |
||||
FullMethod: "/indexgatewaypb.IndexGateway/LabelNamesForMetricName", |
||||
} |
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
||||
return srv.(IndexGatewayServer).LabelNamesForMetricName(ctx, req.(*LabelNamesForMetricNameRequest)) |
||||
} |
||||
return interceptor(ctx, in, info, handler) |
||||
} |
||||
|
||||
func _IndexGateway_LabelValuesForMetricName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
||||
in := new(LabelValuesForMetricNameRequest) |
||||
if err := dec(in); err != nil { |
||||
return nil, err |
||||
} |
||||
if interceptor == nil { |
||||
return srv.(IndexGatewayServer).LabelValuesForMetricName(ctx, in) |
||||
} |
||||
info := &grpc.UnaryServerInfo{ |
||||
Server: srv, |
||||
FullMethod: "/indexgatewaypb.IndexGateway/LabelValuesForMetricName", |
||||
} |
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
||||
return srv.(IndexGatewayServer).LabelValuesForMetricName(ctx, req.(*LabelValuesForMetricNameRequest)) |
||||
} |
||||
return interceptor(ctx, in, info, handler) |
||||
} |
||||
|
||||
func _IndexGateway_GetStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
||||
in := new(IndexStatsRequest) |
||||
if err := dec(in); err != nil { |
||||
return nil, err |
||||
} |
||||
if interceptor == nil { |
||||
return srv.(IndexGatewayServer).GetStats(ctx, in) |
||||
} |
||||
info := &grpc.UnaryServerInfo{ |
||||
Server: srv, |
||||
FullMethod: "/indexgatewaypb.IndexGateway/GetStats", |
||||
} |
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
||||
return srv.(IndexGatewayServer).GetStats(ctx, req.(*IndexStatsRequest)) |
||||
} |
||||
return interceptor(ctx, in, info, handler) |
||||
} |
||||
|
||||
var _IndexGateway_serviceDesc = grpc.ServiceDesc{ |
||||
ServiceName: "indexgatewaypb.IndexGateway", |
||||
HandlerType: (*IndexGatewayServer)(nil), |
||||
Methods: []grpc.MethodDesc{ |
||||
{ |
||||
MethodName: "GetChunkRef", |
||||
Handler: _IndexGateway_GetChunkRef_Handler, |
||||
}, |
||||
{ |
||||
MethodName: "GetSeries", |
||||
Handler: _IndexGateway_GetSeries_Handler, |
||||
}, |
||||
{ |
||||
MethodName: "LabelNamesForMetricName", |
||||
Handler: _IndexGateway_LabelNamesForMetricName_Handler, |
||||
}, |
||||
{ |
||||
MethodName: "LabelValuesForMetricName", |
||||
Handler: _IndexGateway_LabelValuesForMetricName_Handler, |
||||
}, |
||||
{ |
||||
MethodName: "GetStats", |
||||
Handler: _IndexGateway_GetStats_Handler, |
||||
}, |
||||
}, |
||||
Streams: []grpc.StreamDesc{ |
||||
{ |
||||
StreamName: "QueryIndex", |
||||
Handler: _IndexGateway_QueryIndex_Handler, |
||||
ServerStreams: true, |
||||
}, |
||||
}, |
||||
Metadata: "pkg/logproto/indexgateway.proto", |
||||
} |
@ -0,0 +1,25 @@ |
||||
syntax = "proto3"; |
||||
|
||||
package indexgatewaypb; |
||||
|
||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; |
||||
import "pkg/logproto/logproto.proto"; |
||||
|
||||
option go_package = "github.com/grafana/loki/pkg/logproto"; |
||||
|
||||
// This exists in a different file to retain proto namespacing compatibility with it's prior definition, but has been relocated to the logproto go pkg. |
||||
service IndexGateway { |
||||
/// QueryIndex reads the indexes required for given query & sends back the batch of rows |
||||
/// in rpc streams |
||||
rpc QueryIndex(logproto.QueryIndexRequest) returns (stream logproto.QueryIndexResponse); |
||||
/// GetChunkRef returns chunk reference that match the provided label matchers |
||||
rpc GetChunkRef(logproto.GetChunkRefRequest) returns (logproto.GetChunkRefResponse) {} |
||||
rpc GetSeries(logproto.GetSeriesRequest) returns (logproto.GetSeriesResponse) {} |
||||
rpc LabelNamesForMetricName(logproto.LabelNamesForMetricNameRequest) returns (logproto.LabelResponse) {} |
||||
|
||||
rpc LabelValuesForMetricName(logproto.LabelValuesForMetricNameRequest) returns (logproto.LabelResponse) {} |
||||
|
||||
// Note: this MUST be the same as the variant defined in |
||||
// logproto.proto on the Querier service. |
||||
rpc GetStats(logproto.IndexStatsRequest) returns (logproto.IndexStatsResponse) {} |
||||
} |
Loading…
Reference in new issue