diff --git a/prompb/types.pb.go b/prompb/types.pb.go index f9c75999b..cb3e27c24 100644 --- a/prompb/types.pb.go +++ b/prompb/types.pb.go @@ -170,7 +170,7 @@ func (x LabelMatcher_Type) String() string { } func (LabelMatcher_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d938547f84707355, []int{14, 0} + return fileDescriptor_d938547f84707355, []int{13, 0} } // We require this to match chunkenc.Encoding. @@ -202,7 +202,7 @@ func (x Chunk_Encoding) String() string { } func (Chunk_Encoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d938547f84707355, []int{16, 0} + return fileDescriptor_d938547f84707355, []int{15, 0} } type MetricMetadata struct { @@ -1064,62 +1064,6 @@ func (m *MinimizedTimeSeries) GetHistograms() []Histogram { return nil } -// can be used for label name or label value -type MinimizedLabelSymbol struct { - Offset uint32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - Length uint32 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MinimizedLabelSymbol) Reset() { *m = MinimizedLabelSymbol{} } -func (m *MinimizedLabelSymbol) String() string { return proto.CompactTextString(m) } -func (*MinimizedLabelSymbol) ProtoMessage() {} -func (*MinimizedLabelSymbol) Descriptor() ([]byte, []int) { - return fileDescriptor_d938547f84707355, []int{10} -} -func (m *MinimizedLabelSymbol) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MinimizedLabelSymbol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MinimizedLabelSymbol.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MinimizedLabelSymbol) XXX_Merge(src proto.Message) { - xxx_messageInfo_MinimizedLabelSymbol.Merge(m, src) -} -func (m *MinimizedLabelSymbol) XXX_Size() int { - return m.Size() -} -func (m *MinimizedLabelSymbol) XXX_DiscardUnknown() { - xxx_messageInfo_MinimizedLabelSymbol.DiscardUnknown(m) -} - -var xxx_messageInfo_MinimizedLabelSymbol proto.InternalMessageInfo - -func (m *MinimizedLabelSymbol) GetOffset() uint32 { - if m != nil { - return m.Offset - } - return 0 -} - -func (m *MinimizedLabelSymbol) GetLength() uint32 { - if m != nil { - return m.Length - } - return 0 -} - type LabelRef struct { NameRef uint64 `protobuf:"varint,1,opt,name=name_ref,json=nameRef,proto3" json:"name_ref,omitempty"` ValueRef uint64 `protobuf:"varint,2,opt,name=value_ref,json=valueRef,proto3" json:"value_ref,omitempty"` @@ -1132,7 +1076,7 @@ func (m *LabelRef) Reset() { *m = LabelRef{} } func (m *LabelRef) String() string { return proto.CompactTextString(m) } func (*LabelRef) ProtoMessage() {} func (*LabelRef) Descriptor() ([]byte, []int) { - return fileDescriptor_d938547f84707355, []int{11} + return fileDescriptor_d938547f84707355, []int{10} } func (m *LabelRef) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1187,7 +1131,7 @@ func (m *Label) Reset() { *m = Label{} } func (m *Label) String() string { return proto.CompactTextString(m) } func (*Label) ProtoMessage() {} func (*Label) Descriptor() ([]byte, []int) { - return fileDescriptor_d938547f84707355, []int{12} + return fileDescriptor_d938547f84707355, []int{11} } func (m *Label) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1241,7 +1185,7 @@ func (m *Labels) Reset() { *m = Labels{} } func (m *Labels) String() string { return proto.CompactTextString(m) } func (*Labels) ProtoMessage() {} func (*Labels) Descriptor() ([]byte, []int) { - return fileDescriptor_d938547f84707355, []int{13} + return fileDescriptor_d938547f84707355, []int{12} } func (m *Labels) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1291,7 +1235,7 @@ func (m *LabelMatcher) Reset() { *m = LabelMatcher{} } func (m *LabelMatcher) String() string { return proto.CompactTextString(m) } func (*LabelMatcher) ProtoMessage() {} func (*LabelMatcher) Descriptor() ([]byte, []int) { - return fileDescriptor_d938547f84707355, []int{14} + return fileDescriptor_d938547f84707355, []int{13} } func (m *LabelMatcher) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1358,7 +1302,7 @@ func (m *ReadHints) Reset() { *m = ReadHints{} } func (m *ReadHints) String() string { return proto.CompactTextString(m) } func (*ReadHints) ProtoMessage() {} func (*ReadHints) Descriptor() ([]byte, []int) { - return fileDescriptor_d938547f84707355, []int{15} + return fileDescriptor_d938547f84707355, []int{14} } func (m *ReadHints) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1452,7 +1396,7 @@ func (m *Chunk) Reset() { *m = Chunk{} } func (m *Chunk) String() string { return proto.CompactTextString(m) } func (*Chunk) ProtoMessage() {} func (*Chunk) Descriptor() ([]byte, []int) { - return fileDescriptor_d938547f84707355, []int{16} + return fileDescriptor_d938547f84707355, []int{15} } func (m *Chunk) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1524,7 +1468,7 @@ func (m *ChunkedSeries) Reset() { *m = ChunkedSeries{} } func (m *ChunkedSeries) String() string { return proto.CompactTextString(m) } func (*ChunkedSeries) ProtoMessage() {} func (*ChunkedSeries) Descriptor() ([]byte, []int) { - return fileDescriptor_d938547f84707355, []int{17} + return fileDescriptor_d938547f84707355, []int{16} } func (m *ChunkedSeries) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1583,7 +1527,6 @@ func init() { proto.RegisterType((*TimeSeries)(nil), "prometheus.TimeSeries") proto.RegisterType((*ReducedTimeSeries)(nil), "prometheus.ReducedTimeSeries") proto.RegisterType((*MinimizedTimeSeries)(nil), "prometheus.MinimizedTimeSeries") - proto.RegisterType((*MinimizedLabelSymbol)(nil), "prometheus.MinimizedLabelSymbol") proto.RegisterType((*LabelRef)(nil), "prometheus.LabelRef") proto.RegisterType((*Label)(nil), "prometheus.Label") proto.RegisterType((*Labels)(nil), "prometheus.Labels") @@ -1596,88 +1539,88 @@ func init() { func init() { proto.RegisterFile("types.proto", fileDescriptor_d938547f84707355) } var fileDescriptor_d938547f84707355 = []byte{ - // 1296 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0xdd, 0x8e, 0xdb, 0x44, - 0x14, 0x5e, 0xdb, 0x89, 0x63, 0x9f, 0xfc, 0xd4, 0x3b, 0xdd, 0xb6, 0x69, 0xa1, 0xdb, 0xc5, 0x52, - 0x21, 0x20, 0x94, 0xaa, 0x0b, 0x17, 0x54, 0xad, 0x40, 0xbb, 0xdb, 0x6c, 0xb7, 0x62, 0x93, 0xa8, - 0x93, 0xac, 0xa0, 0xdc, 0x44, 0xde, 0x64, 0x92, 0x58, 0x8d, 0x7f, 0xf0, 0x4c, 0xaa, 0xa6, 0x97, - 0xbc, 0x03, 0x77, 0xbc, 0x04, 0x37, 0x3c, 0x43, 0x25, 0x6e, 0xe0, 0x05, 0x10, 0xea, 0x15, 0x12, - 0x2f, 0x81, 0xe6, 0xd8, 0x8e, 0x9d, 0x4d, 0x0b, 0x74, 0x55, 0x09, 0x71, 0x37, 0xe7, 0xff, 0x3b, - 0xc7, 0x67, 0xce, 0x1c, 0x43, 0x59, 0x2c, 0x42, 0xc6, 0x9b, 0x61, 0x14, 0x88, 0x80, 0x40, 0x18, - 0x05, 0x1e, 0x13, 0x53, 0x36, 0xe7, 0xd7, 0xb6, 0x26, 0xc1, 0x24, 0x40, 0xf6, 0x2d, 0x79, 0x8a, - 0x35, 0xec, 0x1f, 0x54, 0xa8, 0xb5, 0x99, 0x88, 0xdc, 0x61, 0x9b, 0x09, 0x67, 0xe4, 0x08, 0x87, - 0xdc, 0x81, 0x82, 0xf4, 0x51, 0x57, 0x76, 0x94, 0x46, 0x6d, 0xf7, 0x66, 0x33, 0xf3, 0xd1, 0x5c, - 0xd5, 0x4c, 0xc8, 0xfe, 0x22, 0x64,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 0x8e, 0x42, 0xab, 0x92, 0xdb, 0x4f, 0x99, 0xe4, 0xfd, 0x44, 0x2d, 0xc3, 0xa5, 0x23, - 0x2e, 0x85, 0x56, 0x24, 0xff, 0x20, 0xc5, 0xf6, 0x11, 0x58, 0x39, 0xbd, 0x18, 0x60, 0x09, 0x01, - 0x2a, 0xb4, 0xb6, 0xd4, 0x8c, 0x41, 0x1e, 0x40, 0xcd, 0x67, 0x13, 0x47, 0xb8, 0x4f, 0xd9, 0x80, - 0x87, 0x8e, 0xcf, 0xeb, 0x06, 0x16, 0xf9, 0x72, 0xbe, 0xc8, 0xfb, 0xf3, 0xe1, 0x13, 0x26, 0x7a, - 0xa1, 0xe3, 0x27, 0x65, 0xae, 0xa6, 0x36, 0x92, 0xc7, 0xc9, 0x07, 0x70, 0x61, 0xe9, 0x64, 0xc4, - 0x66, 0xc2, 0xe1, 0x75, 0x73, 0x47, 0x6b, 0x10, 0xba, 0xf4, 0x7d, 0x1f, 0xb9, 0x2b, 0x8a, 0x88, - 0x8e, 0xd7, 0x61, 0x47, 0x6b, 0x28, 0x99, 0x22, 0x42, 0xe3, 0x12, 0x56, 0x18, 0x70, 0x37, 0x07, - 0xab, 0xfc, 0x6f, 0x60, 0xa5, 0x36, 0x4b, 0x58, 0x4b, 0x27, 0x09, 0xac, 0x4a, 0x0c, 0x2b, 0x65, - 0x67, 0xb0, 0x96, 0x8a, 0x09, 0xac, 0x6a, 0x0c, 0x2b, 0x65, 0x27, 0xb0, 0x3e, 0x07, 0x88, 0x18, - 0x67, 0x62, 0x30, 0x95, 0xd5, 0xaf, 0xe1, 0xf4, 0xb8, 0x91, 0x87, 0xb4, 0xec, 0x9f, 0x26, 0x95, - 0x7a, 0x47, 0xae, 0x2f, 0xa8, 0x19, 0xa5, 0xc7, 0xd5, 0x06, 0xbc, 0x70, 0xb6, 0x01, 0x3f, 0x05, - 0x73, 0x69, 0xb5, 0x3a, 0x20, 0x4a, 0xa0, 0x3d, 0x6e, 0xf5, 0x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, 0xc5, 0xcb, 0x6d, 0xe5, 0x97, - 0x97, 0xdb, 0xca, 0xef, 0x2f, 0xb7, 0x95, 0x6f, 0x74, 0xa9, 0x1d, 0x9e, 0x9e, 0xea, 0xf8, 0x47, - 0xf4, 0xc9, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xda, 0x92, 0xb9, 0x7b, 0x42, 0x0d, 0x00, 0x00, + // 1282 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0xdd, 0x8e, 0xdb, 0xc4, + 0x17, 0x5f, 0xdb, 0x89, 0x63, 0x9f, 0x7c, 0xd4, 0x3b, 0xdd, 0xb6, 0x69, 0xff, 0xff, 0x6e, 0x17, + 0x4b, 0x85, 0x80, 0x50, 0xaa, 0x2e, 0x5c, 0x50, 0xb5, 0x02, 0xed, 0x6e, 0xb3, 0xdd, 0x8a, 0x26, + 0x51, 0x27, 0x59, 0x41, 0xb9, 0x89, 0x66, 0x93, 0x49, 0x62, 0x35, 0xfe, 0xc0, 0x33, 0xa9, 0x9a, + 0x5e, 0xf2, 0x0e, 0xdc, 0xf1, 0x12, 0xdc, 0xf0, 0x0c, 0x95, 0xb8, 0x81, 0x17, 0x40, 0xa8, 0x57, + 0x48, 0xbc, 0x04, 0x9a, 0x63, 0x3b, 0x4e, 0x9a, 0x16, 0xd1, 0xaa, 0x12, 0xe2, 0x6e, 0xce, 0xf7, + 0xef, 0x9c, 0x19, 0x9f, 0x73, 0x0c, 0x65, 0xb9, 0x88, 0xb8, 0x68, 0x46, 0x71, 0x28, 0x43, 0x02, + 0x51, 0x1c, 0xfa, 0x5c, 0x4e, 0xf9, 0x5c, 0x5c, 0xd9, 0x99, 0x84, 0x93, 0x10, 0xd9, 0x37, 0xd4, + 0x29, 0xd1, 0x70, 0x7f, 0xd0, 0xa1, 0xd6, 0xe6, 0x32, 0xf6, 0x86, 0x6d, 0x2e, 0xd9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ec, 0xeb, 0xdd, 0xde, 0xc8, 0x26, 0x33, 0x48, 0xd4, 0x0e, 0x77, 0x9e, 0xbf, 0xd8, + 0xd5, 0x7e, 0x79, 0xb1, 0xab, 0xfd, 0xfe, 0x62, 0x57, 0xfb, 0xc6, 0x54, 0xda, 0xd1, 0xd9, 0x99, + 0x89, 0x7f, 0x32, 0x9f, 0xfc, 0x15, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x35, 0x2e, 0x7a, 0xfa, 0x0c, + 0x00, 0x00, } func (m *MetricMetadata) Marshal() (dAtA []byte, err error) { @@ -2416,43 +2359,6 @@ func (m *MinimizedTimeSeries) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MinimizedLabelSymbol) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MinimizedLabelSymbol) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MinimizedLabelSymbol) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Length != 0 { - i = encodeVarintTypes(dAtA, i, uint64(m.Length)) - i-- - dAtA[i] = 0x10 - } - if m.Offset != 0 { - i = encodeVarintTypes(dAtA, i, uint64(m.Offset)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - func (m *LabelRef) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3146,24 +3052,6 @@ func (m *MinimizedTimeSeries) Size() (n int) { return n } -func (m *MinimizedLabelSymbol) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Offset != 0 { - n += 1 + sovTypes(uint64(m.Offset)) - } - if m.Length != 0 { - n += 1 + sovTypes(uint64(m.Length)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - func (m *LabelRef) Size() (n int) { if m == nil { return 0 @@ -5149,95 +5037,6 @@ func (m *MinimizedTimeSeries) Unmarshal(dAtA []byte) error { } return nil } -func (m *MinimizedLabelSymbol) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTypes - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MinimizedLabelSymbol: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MinimizedLabelSymbol: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Offset", wireType) - } - m.Offset = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTypes - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Offset |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Length", wireType) - } - m.Length = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTypes - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Length |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipTypes(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTypes - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *LabelRef) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/prompb/types.proto b/prompb/types.proto index e96a9f120..3d857cda4 100644 --- a/prompb/types.proto +++ b/prompb/types.proto @@ -180,12 +180,6 @@ message MinimizedTimeSeries { repeated Histogram histograms = 4 [(gogoproto.nullable) = false]; } -// can be used for label name or label value -message MinimizedLabelSymbol { - uint32 offset = 1; - uint32 length = 2; -} - message LabelRef { uint64 name_ref = 1; uint64 value_ref = 2;