Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dogsketch ¶
type Dogsketch struct { Ts int64 Cnt int64 Min float64 Max float64 Sum float64 K []int32 N []uint32 }
Dogsketch proto struct
message Dogsketch { int64 ts = 1; int64 cnt = 2; double min = 3; double max = 4; double sum = 6; repeated sint32 k = 7; repeated uint32 n = 8; }
type Sketch ¶
Sketch proto struct
message Sketch { string metric = 1; string host = 2; repeated string tags = 4; repeated Dogsketch dogsketches = 7 }
type SketchPayload ¶
type SketchPayload struct {
Sketches []*Sketch
}
SketchPayload stores sketches extracted from /api/beta/sketches endpoint
message SketchPayload { repeated Sketch sketches = 1 }
func (*SketchPayload) UnmarshalProtobuf ¶
func (sp *SketchPayload) UnmarshalProtobuf(src []byte) (err error)
UnmarshalProtobuf decodes src to SketchPayload struct
Click to show internal directories.
Click to hide internal directories.