Documentation ¶
Overview ¶
Package MetricPoint is a generated protocol buffer package.
It is generated from these files:
MetricPoint.proto
It has these top-level messages:
Point Points
Index ¶
- type Point
- func (*Point) Descriptor() ([]byte, []int)
- func (m *Point) GetTint() uint32
- func (m *Point) GetTintBP() uint32
- func (m *Point) GetTlong() uint64
- func (m *Point) GetTlongBP() uint64
- func (m *Point) GetV() float64
- func (m *Point) GetVIndex() uint32
- func (*Point) ProtoMessage()
- func (m *Point) Reset()
- func (m *Point) String() string
- type Points
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Point ¶
type Point struct { // The delta as long Tlong *uint64 `protobuf:"varint,1,opt,name=tlong" json:"tlong,omitempty"` // Perhaps we can store the delta as int Tint *uint32 `protobuf:"varint,2,opt,name=tint" json:"tint,omitempty"` // timestamp base deltas TlongBP *uint64 `protobuf:"varint,3,opt,name=tlongBP" json:"tlongBP,omitempty"` TintBP *uint32 `protobuf:"varint,4,opt,name=tintBP" json:"tintBP,omitempty"` // Value V *float64 `protobuf:"fixed64,5,opt,name=v" json:"v,omitempty"` // Or the index of the value VIndex *uint32 `protobuf:"varint,6,opt,name=vIndex" json:"vIndex,omitempty"` XXX_unrecognized []byte `json:"-"` }
Our point
func (*Point) Descriptor ¶
func (*Point) GetTlongBP ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
type Points ¶
type Points struct { // The list of points P []*Point `protobuf:"bytes,1,rep,name=p" json:"p,omitempty"` // the used ddc threshold Ddc *uint32 `protobuf:"varint,2,opt,name=ddc" json:"ddc,omitempty"` XXX_unrecognized []byte `json:"-"` }
The data of a time series is a list of points
func (*Points) Descriptor ¶
func (*Points) ProtoMessage ¶
func (*Points) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.