|
|
|
@ -66,8 +66,8 @@ func (m *Sample) GetTimestamp() int64 {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type TimeSeries struct { |
|
|
|
|
Labels []*Label `protobuf:"bytes,1,rep,name=labels" json:"labels,omitempty"` |
|
|
|
|
Samples []*Sample `protobuf:"bytes,2,rep,name=samples" json:"samples,omitempty"` |
|
|
|
|
Labels []*Label `protobuf:"bytes,1,rep,name=labels" json:"labels,omitempty"` |
|
|
|
|
Samples []Sample `protobuf:"bytes,2,rep,name=samples" json:"samples"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *TimeSeries) Reset() { *m = TimeSeries{} } |
|
|
|
@ -82,7 +82,7 @@ func (m *TimeSeries) GetLabels() []*Label {
|
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *TimeSeries) GetSamples() []*Sample { |
|
|
|
|
func (m *TimeSeries) GetSamples() []Sample { |
|
|
|
|
if m != nil { |
|
|
|
|
return m.Samples |
|
|
|
|
} |
|
|
|
@ -720,7 +720,7 @@ func (m *TimeSeries) Unmarshal(dAtA []byte) error {
|
|
|
|
|
if postIndex > l { |
|
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
|
} |
|
|
|
|
m.Samples = append(m.Samples, &Sample{}) |
|
|
|
|
m.Samples = append(m.Samples, Sample{}) |
|
|
|
|
if err := m.Samples[len(m.Samples)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
|
|
|
|
return err |
|
|
|
|
} |
|
|
|
@ -1306,29 +1306,29 @@ var (
|
|
|
|
|
func init() { proto.RegisterFile("types.proto", fileDescriptorTypes) } |
|
|
|
|
|
|
|
|
|
var fileDescriptorTypes = []byte{ |
|
|
|
|
// 380 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x0a, 0xd3, 0x40, |
|
|
|
|
0x14, 0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|
|
|
|
|
0xf2, 0xeb, 0x3c, 0x24, 0x9f, 0xa8, 0xf9, 0x62, 0xb9, 0x5e, 0x53, 0xfb, 0x66, 0xde, 0xfe, 0x0e, |
|
|
|
|
0x00, 0x00, 0xff, 0xff, 0x32, 0x7f, 0x5e, 0x49, 0x64, 0x02, 0x00, 0x00, |
|
|
|
|
// 383 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0xca, 0xd3, 0x40, |
|
|
|
|
0x14, 0xc5, 0xbf, 0x49, 0xd2, 0x89, 0xbd, 0x9f, 0x48, 0x1c, 0x2a, 0x46, 0xd1, 0x5a, 0xb2, 0x8a, |
|
|
|
|
0x9b, 0x94, 0xd6, 0x95, 0xe0, 0xaa, 0x10, 0x70, 0xd1, 0x08, 0x9d, 0x76, 0xe5, 0x46, 0xa6, 0xed, |
|
|
|
|
0xb5, 0x8d, 0xe6, 0xcf, 0x90, 0x99, 0x0a, 0x7d, 0x10, 0xdf, 0xa9, 0x4b, 0x9f, 0x40, 0xa4, 0x4f, |
|
|
|
|
0x22, 0x33, 0x49, 0x6d, 0x41, 0xc1, 0xdd, 0x3d, 0xe7, 0xfe, 0x6e, 0xce, 0x49, 0x08, 0xdc, 0xeb, |
|
|
|
|
0xa3, 0x44, 0x95, 0xc8, 0xa6, 0xd6, 0x35, 0x03, 0xd9, 0xd4, 0x25, 0xea, 0x3d, 0x1e, 0xd4, 0xf3, |
|
|
|
|
0xc1, 0xae, 0xde, 0xd5, 0xd6, 0x1e, 0x9b, 0xa9, 0x25, 0xa2, 0x77, 0x40, 0x97, 0xa2, 0x94, 0x05, |
|
|
|
|
0xb2, 0x01, 0xf4, 0xbe, 0x89, 0xe2, 0x80, 0x21, 0x19, 0x91, 0x98, 0xf0, 0x56, 0xb0, 0x17, 0xd0, |
|
|
|
|
0xd7, 0x79, 0x89, 0x4a, 0x8b, 0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