diff --git a/pkg/querier/tripperware/query.pb.go b/pkg/querier/tripperware/query.pb.go index 4204faed23..10a8559bbe 100644 --- a/pkg/querier/tripperware/query.pb.go +++ b/pkg/querier/tripperware/query.pb.go @@ -304,9 +304,6 @@ type SampleStream struct { Labels []github_com_cortexproject_cortex_pkg_cortexpb.LabelAdapter `protobuf:"bytes,1,rep,name=labels,proto3,customtype=github.com/cortexproject/cortex/pkg/cortexpb.LabelAdapter" json:"metric"` Samples []cortexpb.Sample `protobuf:"bytes,2,rep,name=samples,proto3" json:"values"` Histograms []*SampleHistogramPair `protobuf:"bytes,3,rep,name=histograms,proto3" json:"histograms"` - // Full representation of native histograms and it should be always float histogram type. - // This field should be never deserialized into JSON and should only exist in protobuf format. - RawHistograms []*cortexpb.Histogram `protobuf:"bytes,4,rep,name=rawHistograms,proto3" json:"-"` } func (m *SampleStream) Reset() { *m = SampleStream{} } @@ -355,13 +352,6 @@ func (m *SampleStream) GetHistograms() []*SampleHistogramPair { return nil } -func (m *SampleStream) GetRawHistograms() []*cortexpb.Histogram { - if m != nil { - return m.RawHistograms - } - return nil -} - type SampleHistogramPair struct { TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"` Histogram SampleHistogram `protobuf:"bytes,2,opt,name=histogram,proto3" json:"histogram"` @@ -893,7 +883,7 @@ type Sample struct { Histogram *SampleHistogramPair `protobuf:"bytes,3,opt,name=histogram,proto3" json:"histogram"` // Full representation of a native histogram and it should be always float histogram type. // This field should be never deserialized into JSON and should only exist in protobuf format. - RawHistogram *cortexpb.Histogram `protobuf:"bytes,4,opt,name=rawHistogram,proto3" json:"rawHistogram,omitempty"` + RawHistogram *cortexpb.Histogram `protobuf:"bytes,4,opt,name=rawHistogram,proto3" json:"-"` } func (m *Sample) Reset() { *m = Sample{} } @@ -1014,86 +1004,85 @@ func init() { func init() { proto.RegisterFile("query.proto", fileDescriptor_5c6ac9b241082464) } var fileDescriptor_5c6ac9b241082464 = []byte{ - // 1250 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcb, 0x6f, 0x1b, 0x45, - 0x18, 0xf7, 0xc6, 0xf6, 0x26, 0xfe, 0x9c, 0x26, 0x65, 0xd2, 0x87, 0x53, 0xca, 0xae, 0x59, 0x81, - 0x14, 0x04, 0x75, 0x44, 0x2a, 0x40, 0x80, 0x5a, 0xd1, 0xa5, 0x85, 0xb4, 0x50, 0xda, 0x4e, 0xaa, - 0x22, 0x71, 0xa9, 0xc6, 0xf6, 0xd4, 0x59, 0xe2, 0x7d, 0x74, 0x76, 0xb6, 0x89, 0x39, 0x71, 0xe6, - 0xc4, 0x3f, 0xc0, 0x81, 0x1b, 0x07, 0xfe, 0x90, 0x5c, 0x90, 0x7a, 0xac, 0x90, 0x58, 0xb5, 0xee, - 0x05, 0xed, 0xa9, 0x7f, 0x02, 0x9a, 0xc7, 0xae, 0xd7, 0x89, 0x93, 0xa8, 0x27, 0x2e, 0x9b, 0x99, - 0xef, 0xfb, 0x7d, 0xcf, 0xf9, 0x1e, 0x31, 0x34, 0x1f, 0x27, 0x94, 0x8d, 0x3a, 0x11, 0x0b, 0x79, - 0x88, 0x9a, 0x9c, 0x79, 0x51, 0x44, 0xd9, 0x2e, 0x61, 0xf4, 0xc2, 0x99, 0x41, 0x38, 0x08, 0x25, - 0x7d, 0x5d, 0x9c, 0x14, 0xe4, 0x82, 0x35, 0x08, 0xc3, 0xc1, 0x90, 0xae, 0xcb, 0x5b, 0x37, 0x79, - 0xb4, 0xde, 0x4f, 0x18, 0xe1, 0x5e, 0x18, 0x68, 0xfe, 0xea, 0x41, 0x3e, 0x09, 0xb4, 0xf6, 0x0b, - 0x9f, 0x0e, 0x3c, 0xbe, 0x9d, 0x74, 0x3b, 0xbd, 0xd0, 0x5f, 0xef, 0x85, 0x8c, 0xd3, 0xbd, 0x88, - 0x85, 0x3f, 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, 0x6a, 0x86, 0x14, 0xa5, 0xfe, 0xd7, 0x1c, 0x98, 0x8a, 0xf3, 0x3f, 0xae, 0x86, - 0x4f, 0xc0, 0x54, 0xfe, 0xe8, 0x29, 0x78, 0x78, 0x33, 0x9c, 0xd2, 0xe3, 0x57, 0x55, 0x03, 0xd6, - 0x70, 0x74, 0xaf, 0x3c, 0x41, 0x55, 0xe2, 0x4e, 0x5e, 0x0b, 0x6f, 0x68, 0x5d, 0x13, 0xd1, 0xd2, - 0x48, 0x45, 0x57, 0x60, 0xb1, 0x3c, 0xdf, 0xe5, 0x1c, 0x3a, 0x62, 0x27, 0x88, 0x54, 0x1a, 0x78, - 0x0a, 0xee, 0xdc, 0x01, 0x53, 0x3d, 0x16, 0xba, 0x01, 0xa7, 0xe2, 0xd2, 0xe6, 0xcd, 0xb3, 0xba, - 0x3a, 0xc3, 0x3f, 0x85, 0xd0, 0x4f, 0x33, 0x2d, 0xe5, 0x5e, 0x7b, 0xfa, 0xc2, 0xaa, 0x3c, 0x7b, - 0x61, 0x55, 0x5e, 0xbd, 0xb0, 0x8c, 0x9f, 0xc7, 0x96, 0xf1, 0xc7, 0xd8, 0x32, 0xf6, 0xc7, 0x96, - 0xf1, 0x74, 0x6c, 0x19, 0xcf, 0xc7, 0x96, 0xf1, 0xef, 0xd8, 0xaa, 0xbc, 0x1a, 0x5b, 0xc6, 0xaf, - 0x2f, 0xad, 0xca, 0xd3, 0x97, 0x56, 0xe5, 0xd9, 0x4b, 0xab, 0xf2, 0x43, 0xf9, 0x97, 0x41, 0xd7, - 0x94, 0xff, 0x30, 0x5c, 0xfe, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x15, 0x30, 0x4e, 0xee, 0x3c, 0x0c, - 0x00, 0x00, + // 1233 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xcd, 0x6f, 0x1b, 0x45, + 0x14, 0xf7, 0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 0x13, 0x92, 0xf3, + 0x18, 0x96, 0x0f, 0x61, 0xd0, 0x39, 0xa8, 0xf7, 0xc2, 0x24, 0x50, 0xfd, 0x64, 0x60, 0x75, 0x40, + 0x67, 0xa1, 0x1a, 0x27, 0xca, 0x89, 0x81, 0xc5, 0x27, 0x7a, 0x1f, 0xe6, 0xbb, 0x49, 0x6f, 0x87, + 0xf2, 0xbc, 0x12, 0xd3, 0xae, 0x27, 0x4e, 0x25, 0x08, 0xe7, 0x60, 0x27, 0x86, 0xe5, 0x43, 0x3a, + 0x64, 0x01, 0x74, 0xc3, 0x24, 0xe8, 0x13, 0xe6, 0x51, 0x95, 0x68, 0x1d, 0x97, 0x24, 0x22, 0xa4, + 0x61, 0xb8, 0x4b, 0x99, 0x76, 0xaf, 0x0e, 0x42, 0x9a, 0x08, 0x77, 0x72, 0x82, 0x0d, 0xac, 0x0e, + 0x93, 0xf0, 0x6b, 0xa5, 0xf0, 0x1d, 0x1f, 0x2e, 0x1e, 0x33, 0xd3, 0x08, 0x4f, 0x1a, 0xc2, 0x90, + 0x25, 0x7c, 0xfb, 0xb4, 0x55, 0xa0, 0xd0, 0x6a, 0x23, 0x34, 0xc5, 0x78, 0x6a, 0x7e, 0xd1, 0x28, + 0xce, 0xfe, 0x1c, 0x58, 0x27, 0x13, 0xd1, 0x1d, 0x38, 0xcf, 0x43, 0x4e, 0x86, 0x72, 0x57, 0x91, + 0xee, 0x30, 0xd7, 0xea, 0x31, 0x5e, 0xcd, 0x52, 0x7b, 0x36, 0x00, 0xcf, 0x16, 0xa3, 0xdf, 0x0c, + 0xb8, 0x3c, 0x53, 0x73, 0x97, 0xb2, 0x2d, 0x4e, 0x23, 0xdd, 0xee, 0x1f, 0x9f, 0x92, 0xdd, 0x61, + 0xb6, 0x8c, 0x56, 0x9b, 0x70, 0xdb, 0x59, 0x6a, 0x9f, 0xe8, 0x04, 0x9f, 0xa8, 0x45, 0xef, 0x42, + 0x33, 0xa2, 0x64, 0x27, 0x4f, 0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72, 0x61, 0x91, 0x91, + 0xdd, 0x82, 0x21, 0xf7, 0xd0, 0x54, 0x2d, 0x26, 0xdb, 0xaf, 0xa1, 0x0d, 0x19, 0x57, 0xf0, 0x14, + 0xc7, 0xb9, 0x03, 0xa6, 0xba, 0x31, 0x74, 0x03, 0xce, 0xc4, 0xa5, 0x87, 0x33, 0x2f, 0xed, 0xea, + 0x8c, 0x20, 0x15, 0x42, 0xdf, 0xcf, 0x34, 0xcb, 0xbd, 0xfe, 0xf4, 0xb9, 0x55, 0x79, 0xf6, 0xdc, + 0xaa, 0xbc, 0x78, 0x6e, 0x19, 0x3f, 0x8e, 0x2d, 0xe3, 0xf7, 0xb1, 0x65, 0xec, 0x8f, 0x2d, 0xe3, + 0xe9, 0xd8, 0x32, 0xfe, 0x19, 0x5b, 0xc6, 0xbf, 0x63, 0xab, 0xf2, 0x62, 0x6c, 0x19, 0x3f, 0x1f, + 0x58, 0x95, 0xa7, 0x07, 0x56, 0xe5, 0xd9, 0x81, 0x55, 0xf9, 0xae, 0xfc, 0x8f, 0x7d, 0xd7, 0x94, + 0xef, 0xfd, 0xd5, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x49, 0x84, 0xee, 0xfb, 0x0b, 0x00, + 0x00, } func (this *PrometheusResponse) Equal(that interface{}) bool { @@ -1291,14 +1280,6 @@ func (this *SampleStream) Equal(that interface{}) bool { return false } } - if len(this.RawHistograms) != len(that1.RawHistograms) { - return false - } - for i := range this.RawHistograms { - if !this.RawHistograms[i].Equal(that1.RawHistograms[i]) { - return false - } - } return true } func (this *SampleHistogramPair) Equal(that interface{}) bool { @@ -1780,7 +1761,7 @@ func (this *SampleStream) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 8) + s := make([]string, 0, 7) s = append(s, "&tripperware.SampleStream{") s = append(s, "Labels: "+fmt.Sprintf("%#v", this.Labels)+",\n") if this.Samples != nil { @@ -1793,9 +1774,6 @@ func (this *SampleStream) GoString() string { if this.Histograms != nil { s = append(s, "Histograms: "+fmt.Sprintf("%#v", this.Histograms)+",\n") } - if this.RawHistograms != nil { - s = append(s, "RawHistograms: "+fmt.Sprintf("%#v", this.RawHistograms)+",\n") - } s = append(s, "}") return strings.Join(s, "") } @@ -2234,20 +2212,6 @@ func (m *SampleStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.RawHistograms) > 0 { - for iNdEx := len(m.RawHistograms) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.RawHistograms[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } if len(m.Histograms) > 0 { for iNdEx := len(m.Histograms) - 1; iNdEx >= 0; iNdEx-- { { @@ -2951,12 +2915,6 @@ func (m *SampleStream) Size() (n int) { n += 1 + l + sovQuery(uint64(l)) } } - if len(m.RawHistograms) > 0 { - for _, e := range m.RawHistograms { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } return n } @@ -3271,16 +3229,10 @@ func (this *SampleStream) String() string { repeatedStringForHistograms += strings.Replace(f.String(), "SampleHistogramPair", "SampleHistogramPair", 1) + "," } repeatedStringForHistograms += "}" - repeatedStringForRawHistograms := "[]*Histogram{" - for _, f := range this.RawHistograms { - repeatedStringForRawHistograms += strings.Replace(fmt.Sprintf("%v", f), "Histogram", "cortexpb.Histogram", 1) + "," - } - repeatedStringForRawHistograms += "}" s := strings.Join([]string{`&SampleStream{`, `Labels:` + fmt.Sprintf("%v", this.Labels) + `,`, `Samples:` + repeatedStringForSamples + `,`, `Histograms:` + repeatedStringForHistograms + `,`, - `RawHistograms:` + repeatedStringForRawHistograms + `,`, `}`, }, "") return s @@ -4309,40 +4261,6 @@ func (m *SampleStream) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RawHistograms", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RawHistograms = append(m.RawHistograms, &cortexpb.Histogram{}) - if err := m.RawHistograms[len(m.RawHistograms)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:])