Documentation ¶
Index ¶
- Variables
- type AnyDemo
- func (*AnyDemo) Descriptor() ([]byte, []int)
- func (this *AnyDemo) Equal(that interface{}) bool
- func (m *AnyDemo) GetDemo() string
- func (this *AnyDemo) GoString() string
- func (m *AnyDemo) Marshal() (dAtA []byte, err error)
- func (m *AnyDemo) MarshalTo(dAtA []byte) (int, error)
- func (m *AnyDemo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnyDemo) ProtoMessage()
- func (m *AnyDemo) Reset()
- func (m *AnyDemo) Size() (n int)
- func (this *AnyDemo) String() string
- func (m *AnyDemo) Unmarshal(dAtA []byte) error
- func (m *AnyDemo) XXX_DiscardUnknown()
- func (m *AnyDemo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnyDemo) XXX_Merge(src proto.Message)
- func (m *AnyDemo) XXX_Size() int
- func (m *AnyDemo) XXX_Unmarshal(b []byte) error
- type Array
- func (*Array) Descriptor() ([]byte, []int)
- func (this *Array) Equal(that interface{}) bool
- func (m *Array) GetArr() []*BasicTypes
- func (this *Array) GoString() string
- func (m *Array) Marshal() (dAtA []byte, err error)
- func (m *Array) MarshalTo(dAtA []byte) (int, error)
- func (m *Array) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Array) ProtoMessage()
- func (m *Array) Reset()
- func (m *Array) Size() (n int)
- func (this *Array) String() string
- func (m *Array) Unmarshal(dAtA []byte) error
- func (m *Array) XXX_DiscardUnknown()
- func (m *Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Array) XXX_Merge(src proto.Message)
- func (m *Array) XXX_Size() int
- func (m *Array) XXX_Unmarshal(b []byte) error
- type BasicTypes
- func (*BasicTypes) Descriptor() ([]byte, []int)
- func (this *BasicTypes) Equal(that interface{}) bool
- func (m *BasicTypes) GetB() bool
- func (m *BasicTypes) GetD() []byte
- func (m *BasicTypes) GetF() float64
- func (m *BasicTypes) GetI() int64
- func (m *BasicTypes) GetS() string
- func (m *BasicTypes) GetU() uint64
- func (m *BasicTypes) GetX() isBasicTypes_X
- func (this *BasicTypes) GoString() string
- func (m *BasicTypes) Marshal() (dAtA []byte, err error)
- func (m *BasicTypes) MarshalTo(dAtA []byte) (int, error)
- func (m *BasicTypes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BasicTypes) ProtoMessage()
- func (m *BasicTypes) Reset()
- func (m *BasicTypes) Size() (n int)
- func (this *BasicTypes) String() string
- func (m *BasicTypes) Unmarshal(dAtA []byte) error
- func (m *BasicTypes) XXX_DiscardUnknown()
- func (m *BasicTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BasicTypes) XXX_Merge(src proto.Message)
- func (*BasicTypes) XXX_OneofWrappers() []interface{}
- func (m *BasicTypes) XXX_Size() int
- func (m *BasicTypes) XXX_Unmarshal(b []byte) error
- type BasicTypes_B
- func (this *BasicTypes_B) Equal(that interface{}) bool
- func (this *BasicTypes_B) GoString() string
- func (m *BasicTypes_B) MarshalTo(dAtA []byte) (int, error)
- func (m *BasicTypes_B) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *BasicTypes_B) Size() (n int)
- func (this *BasicTypes_B) String() string
- type BasicTypes_D
- func (this *BasicTypes_D) Equal(that interface{}) bool
- func (this *BasicTypes_D) GoString() string
- func (m *BasicTypes_D) MarshalTo(dAtA []byte) (int, error)
- func (m *BasicTypes_D) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *BasicTypes_D) Size() (n int)
- func (this *BasicTypes_D) String() string
- type BasicTypes_F
- func (this *BasicTypes_F) Equal(that interface{}) bool
- func (this *BasicTypes_F) GoString() string
- func (m *BasicTypes_F) MarshalTo(dAtA []byte) (int, error)
- func (m *BasicTypes_F) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *BasicTypes_F) Size() (n int)
- func (this *BasicTypes_F) String() string
- type BasicTypes_I
- func (this *BasicTypes_I) Equal(that interface{}) bool
- func (this *BasicTypes_I) GoString() string
- func (m *BasicTypes_I) MarshalTo(dAtA []byte) (int, error)
- func (m *BasicTypes_I) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *BasicTypes_I) Size() (n int)
- func (this *BasicTypes_I) String() string
- type BasicTypes_S
- func (this *BasicTypes_S) Equal(that interface{}) bool
- func (this *BasicTypes_S) GoString() string
- func (m *BasicTypes_S) MarshalTo(dAtA []byte) (int, error)
- func (m *BasicTypes_S) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *BasicTypes_S) Size() (n int)
- func (this *BasicTypes_S) String() string
- type BasicTypes_U
- func (this *BasicTypes_U) Equal(that interface{}) bool
- func (this *BasicTypes_U) GoString() string
- func (m *BasicTypes_U) MarshalTo(dAtA []byte) (int, error)
- func (m *BasicTypes_U) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *BasicTypes_U) Size() (n int)
- func (this *BasicTypes_U) String() string
- type Debug
- func (*Debug) Descriptor() ([]byte, []int)
- func (this *Debug) Equal(that interface{}) bool
- func (m *Debug) GetInfo() string
- func (this *Debug) GoString() string
- func (m *Debug) Marshal() (dAtA []byte, err error)
- func (m *Debug) MarshalTo(dAtA []byte) (int, error)
- func (m *Debug) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Debug) ProtoMessage()
- func (m *Debug) Reset()
- func (m *Debug) Size() (n int)
- func (this *Debug) String() string
- func (m *Debug) Unmarshal(dAtA []byte) error
- func (m *Debug) XXX_DiscardUnknown()
- func (m *Debug) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Debug) XXX_Merge(src proto.Message)
- func (m *Debug) XXX_Size() int
- func (m *Debug) XXX_Unmarshal(b []byte) error
- type Field
- func (*Field) Descriptor() ([]byte, []int)
- func (this *Field) Equal(that interface{}) bool
- func (m *Field) GetA() *types.Any
- func (m *Field) GetB() bool
- func (m *Field) GetD() []byte
- func (m *Field) GetF() float64
- func (m *Field) GetI() int64
- func (m *Field) GetIsTag() bool
- func (m *Field) GetKey() string
- func (m *Field) GetS() string
- func (m *Field) GetType() MetricType
- func (m *Field) GetU() uint64
- func (m *Field) GetUnit() string
- func (m *Field) GetVal() isField_Val
- func (this *Field) GoString() string
- func (m *Field) Marshal() (dAtA []byte, err error)
- func (m *Field) MarshalTo(dAtA []byte) (int, error)
- func (m *Field) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) Size() (n int)
- func (this *Field) String() string
- func (m *Field) Unmarshal(dAtA []byte) error
- func (m *Field) XXX_DiscardUnknown()
- func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Field) XXX_Merge(src proto.Message)
- func (*Field) XXX_OneofWrappers() []interface{}
- func (m *Field) XXX_Size() int
- func (m *Field) XXX_Unmarshal(b []byte) error
- type Field_A
- type Field_B
- type Field_D
- type Field_F
- type Field_I
- type Field_S
- type Field_U
- type KeyType
- type Map
- func (*Map) Descriptor() ([]byte, []int)
- func (this *Map) Equal(that interface{}) bool
- func (m *Map) GetMap() map[string]*BasicTypes
- func (this *Map) GoString() string
- func (m *Map) Marshal() (dAtA []byte, err error)
- func (m *Map) MarshalTo(dAtA []byte) (int, error)
- func (m *Map) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Map) ProtoMessage()
- func (m *Map) Reset()
- func (m *Map) Size() (n int)
- func (this *Map) String() string
- func (m *Map) Unmarshal(dAtA []byte) error
- func (m *Map) XXX_DiscardUnknown()
- func (m *Map) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Map) XXX_Merge(src proto.Message)
- func (m *Map) XXX_Size() int
- func (m *Map) XXX_Unmarshal(b []byte) error
- type MetricType
- type PBPoint
- func (*PBPoint) Descriptor() ([]byte, []int)
- func (this *PBPoint) Equal(that interface{}) bool
- func (m *PBPoint) GetDebugs() []*Debug
- func (m *PBPoint) GetFields() []*Field
- func (m *PBPoint) GetName() string
- func (m *PBPoint) GetTime() int64
- func (m *PBPoint) GetWarns() []*Warn
- func (this *PBPoint) GoString() string
- func (m *PBPoint) Marshal() (dAtA []byte, err error)
- func (m *PBPoint) MarshalTo(dAtA []byte) (int, error)
- func (m *PBPoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PBPoint) ProtoMessage()
- func (m *PBPoint) Reset()
- func (m *PBPoint) Size() (n int)
- func (this *PBPoint) String() string
- func (m *PBPoint) Unmarshal(dAtA []byte) error
- func (m *PBPoint) XXX_DiscardUnknown()
- func (m *PBPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBPoint) XXX_Merge(src proto.Message)
- func (m *PBPoint) XXX_Size() int
- func (m *PBPoint) XXX_Unmarshal(b []byte) error
- type PBPoints
- func (*PBPoints) Descriptor() ([]byte, []int)
- func (this *PBPoints) Equal(that interface{}) bool
- func (m *PBPoints) GetArr() []*PBPoint
- func (this *PBPoints) GoString() string
- func (m *PBPoints) Marshal() (dAtA []byte, err error)
- func (m *PBPoints) MarshalTo(dAtA []byte) (int, error)
- func (m *PBPoints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PBPoints) ProtoMessage()
- func (m *PBPoints) Reset()
- func (m *PBPoints) Size() (n int)
- func (this *PBPoints) String() string
- func (m *PBPoints) Unmarshal(dAtA []byte) error
- func (m *PBPoints) XXX_DiscardUnknown()
- func (m *PBPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBPoints) XXX_Merge(src proto.Message)
- func (m *PBPoints) XXX_Size() int
- func (m *PBPoints) XXX_Unmarshal(b []byte) error
- type Warn
- func (*Warn) Descriptor() ([]byte, []int)
- func (this *Warn) Equal(that interface{}) bool
- func (m *Warn) GetMsg() string
- func (m *Warn) GetType() string
- func (this *Warn) GoString() string
- func (m *Warn) Marshal() (dAtA []byte, err error)
- func (m *Warn) MarshalTo(dAtA []byte) (int, error)
- func (m *Warn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Warn) ProtoMessage()
- func (m *Warn) Reset()
- func (m *Warn) Size() (n int)
- func (this *Warn) String() string
- func (m *Warn) Unmarshal(dAtA []byte) error
- func (m *Warn) XXX_DiscardUnknown()
- func (m *Warn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Warn) XXX_Merge(src proto.Message)
- func (m *Warn) XXX_Size() int
- func (m *Warn) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthPoint = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPoint = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPoint = fmt.Errorf("proto: unexpected end of group") )
View Source
var KeyType_name = map[int32]string{
0: "X",
1: "I",
2: "U",
3: "F",
4: "B",
5: "D",
6: "NIL",
7: "S",
8: "A",
}
View Source
var KeyType_value = map[string]int32{
"X": 0,
"I": 1,
"U": 2,
"F": 3,
"B": 4,
"D": 5,
"NIL": 6,
"S": 7,
"A": 8,
}
View Source
var MetricType_name = map[int32]string{
0: "UNSPECIFIED",
1: "COUNT",
2: "RATE",
3: "GAUGE",
}
View Source
var MetricType_value = map[string]int32{
"UNSPECIFIED": 0,
"COUNT": 1,
"RATE": 2,
"GAUGE": 3,
}
Functions ¶
This section is empty.
Types ¶
type AnyDemo ¶
type AnyDemo struct {
Demo string `protobuf:"bytes,1,opt,name=demo,proto3" json:"demo,omitempty"`
}
example of pb.Any
func (*AnyDemo) Descriptor ¶
func (*AnyDemo) MarshalToSizedBuffer ¶
func (*AnyDemo) ProtoMessage ¶
func (*AnyDemo) ProtoMessage()
func (*AnyDemo) XXX_DiscardUnknown ¶
func (m *AnyDemo) XXX_DiscardUnknown()
func (*AnyDemo) XXX_Marshal ¶
func (*AnyDemo) XXX_Unmarshal ¶
type Array ¶
type Array struct {
Arr []*BasicTypes `protobuf:"bytes,1,rep,name=arr,proto3" json:"arr,omitempty"`
}
func (*Array) Descriptor ¶
func (*Array) GetArr ¶
func (m *Array) GetArr() []*BasicTypes
func (*Array) ProtoMessage ¶
func (*Array) ProtoMessage()
func (*Array) XXX_DiscardUnknown ¶
func (m *Array) XXX_DiscardUnknown()
func (*Array) XXX_Marshal ¶
func (*Array) XXX_Unmarshal ¶
type BasicTypes ¶
type BasicTypes struct { // Types that are valid to be assigned to X: // *BasicTypes_I // *BasicTypes_U // *BasicTypes_F // *BasicTypes_B // *BasicTypes_D // *BasicTypes_S X isBasicTypes_X `protobuf_oneof:"x"` }
func (*BasicTypes) Descriptor ¶
func (*BasicTypes) Descriptor() ([]byte, []int)
func (*BasicTypes) Equal ¶
func (this *BasicTypes) Equal(that interface{}) bool
func (*BasicTypes) GetB ¶
func (m *BasicTypes) GetB() bool
func (*BasicTypes) GetD ¶
func (m *BasicTypes) GetD() []byte
func (*BasicTypes) GetF ¶
func (m *BasicTypes) GetF() float64
func (*BasicTypes) GetI ¶
func (m *BasicTypes) GetI() int64
func (*BasicTypes) GetS ¶
func (m *BasicTypes) GetS() string
func (*BasicTypes) GetU ¶
func (m *BasicTypes) GetU() uint64
func (*BasicTypes) GetX ¶
func (m *BasicTypes) GetX() isBasicTypes_X
func (*BasicTypes) GoString ¶
func (this *BasicTypes) GoString() string
func (*BasicTypes) Marshal ¶
func (m *BasicTypes) Marshal() (dAtA []byte, err error)
func (*BasicTypes) MarshalToSizedBuffer ¶
func (m *BasicTypes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BasicTypes) ProtoMessage ¶
func (*BasicTypes) ProtoMessage()
func (*BasicTypes) Reset ¶
func (m *BasicTypes) Reset()
func (*BasicTypes) Size ¶
func (m *BasicTypes) Size() (n int)
func (*BasicTypes) String ¶
func (this *BasicTypes) String() string
func (*BasicTypes) Unmarshal ¶
func (m *BasicTypes) Unmarshal(dAtA []byte) error
func (*BasicTypes) XXX_DiscardUnknown ¶
func (m *BasicTypes) XXX_DiscardUnknown()
func (*BasicTypes) XXX_Marshal ¶
func (m *BasicTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BasicTypes) XXX_Merge ¶
func (m *BasicTypes) XXX_Merge(src proto.Message)
func (*BasicTypes) XXX_OneofWrappers ¶
func (*BasicTypes) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*BasicTypes) XXX_Size ¶
func (m *BasicTypes) XXX_Size() int
func (*BasicTypes) XXX_Unmarshal ¶
func (m *BasicTypes) XXX_Unmarshal(b []byte) error
type BasicTypes_B ¶
type BasicTypes_B struct {
B bool `protobuf:"varint,4,opt,name=b,proto3,oneof" json:"b,omitempty"`
}
func (*BasicTypes_B) Equal ¶
func (this *BasicTypes_B) Equal(that interface{}) bool
func (*BasicTypes_B) GoString ¶
func (this *BasicTypes_B) GoString() string
func (*BasicTypes_B) MarshalToSizedBuffer ¶
func (m *BasicTypes_B) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BasicTypes_B) Size ¶
func (m *BasicTypes_B) Size() (n int)
func (*BasicTypes_B) String ¶
func (this *BasicTypes_B) String() string
type BasicTypes_D ¶
type BasicTypes_D struct {
D []byte `protobuf:"bytes,5,opt,name=d,proto3,oneof" json:"d,omitempty"`
}
func (*BasicTypes_D) Equal ¶
func (this *BasicTypes_D) Equal(that interface{}) bool
func (*BasicTypes_D) GoString ¶
func (this *BasicTypes_D) GoString() string
func (*BasicTypes_D) MarshalToSizedBuffer ¶
func (m *BasicTypes_D) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BasicTypes_D) Size ¶
func (m *BasicTypes_D) Size() (n int)
func (*BasicTypes_D) String ¶
func (this *BasicTypes_D) String() string
type BasicTypes_F ¶
type BasicTypes_F struct {
F float64 `protobuf:"fixed64,3,opt,name=f,proto3,oneof" json:"f,omitempty"`
}
func (*BasicTypes_F) Equal ¶
func (this *BasicTypes_F) Equal(that interface{}) bool
func (*BasicTypes_F) GoString ¶
func (this *BasicTypes_F) GoString() string
func (*BasicTypes_F) MarshalToSizedBuffer ¶
func (m *BasicTypes_F) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BasicTypes_F) Size ¶
func (m *BasicTypes_F) Size() (n int)
func (*BasicTypes_F) String ¶
func (this *BasicTypes_F) String() string
type BasicTypes_I ¶
type BasicTypes_I struct {
I int64 `protobuf:"varint,1,opt,name=i,proto3,oneof" json:"i,omitempty"`
}
func (*BasicTypes_I) Equal ¶
func (this *BasicTypes_I) Equal(that interface{}) bool
func (*BasicTypes_I) GoString ¶
func (this *BasicTypes_I) GoString() string
func (*BasicTypes_I) MarshalToSizedBuffer ¶
func (m *BasicTypes_I) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BasicTypes_I) Size ¶
func (m *BasicTypes_I) Size() (n int)
func (*BasicTypes_I) String ¶
func (this *BasicTypes_I) String() string
type BasicTypes_S ¶
type BasicTypes_S struct {
S string `protobuf:"bytes,6,opt,name=s,proto3,oneof" json:"s,omitempty"`
}
func (*BasicTypes_S) Equal ¶
func (this *BasicTypes_S) Equal(that interface{}) bool
func (*BasicTypes_S) GoString ¶
func (this *BasicTypes_S) GoString() string
func (*BasicTypes_S) MarshalToSizedBuffer ¶
func (m *BasicTypes_S) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BasicTypes_S) Size ¶
func (m *BasicTypes_S) Size() (n int)
func (*BasicTypes_S) String ¶
func (this *BasicTypes_S) String() string
type BasicTypes_U ¶
type BasicTypes_U struct {
U uint64 `protobuf:"varint,2,opt,name=u,proto3,oneof" json:"u,omitempty"`
}
func (*BasicTypes_U) Equal ¶
func (this *BasicTypes_U) Equal(that interface{}) bool
func (*BasicTypes_U) GoString ¶
func (this *BasicTypes_U) GoString() string
func (*BasicTypes_U) MarshalToSizedBuffer ¶
func (m *BasicTypes_U) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BasicTypes_U) Size ¶
func (m *BasicTypes_U) Size() (n int)
func (*BasicTypes_U) String ¶
func (this *BasicTypes_U) String() string
type Debug ¶
type Debug struct {
Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
}
Debug used to attached some debug info for the point, these debug info will encoded into payload, storage can take optional handle on these debug info.
func (*Debug) Descriptor ¶
func (*Debug) ProtoMessage ¶
func (*Debug) ProtoMessage()
func (*Debug) XXX_DiscardUnknown ¶
func (m *Debug) XXX_DiscardUnknown()
func (*Debug) XXX_Marshal ¶
func (*Debug) XXX_Unmarshal ¶
type Field ¶
type Field struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // See https://developers.google.com/protocol-buffers/docs/proto3#json // // Types that are valid to be assigned to Val: // *Field_I // *Field_U // *Field_F // *Field_B // *Field_D // *Field_S // *Field_A Val isField_Val `protobuf_oneof:"val"` IsTag bool `protobuf:"varint,8,opt,name=is_tag,proto3" json:"is_tag,omitempty"` Type MetricType `protobuf:"varint,9,opt,name=type,proto3,enum=gogopb.MetricType" json:"type,omitempty"` // field unit name Unit string `protobuf:"bytes,10,opt,name=unit,proto3" json:"unit,omitempty"` }
func (*Field) Descriptor ¶
func (*Field) GetType ¶
func (m *Field) GetType() MetricType
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) XXX_DiscardUnknown ¶
func (m *Field) XXX_DiscardUnknown()
func (*Field) XXX_Marshal ¶
func (*Field) XXX_OneofWrappers ¶
func (*Field) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Field) XXX_Unmarshal ¶
type Field_A ¶
type Field_A struct {
A *types.Any `protobuf:"bytes,7,opt,name=a,proto3,oneof" json:"a,omitempty"`
}
func (*Field_A) MarshalToSizedBuffer ¶
type Field_B ¶
type Field_B struct {
B bool `protobuf:"varint,5,opt,name=b,proto3,oneof" json:"b,omitempty"`
}
func (*Field_B) MarshalToSizedBuffer ¶
type Field_D ¶
type Field_D struct {
D []byte `protobuf:"bytes,6,opt,name=d,proto3,oneof" json:"d,omitempty"`
}
func (*Field_D) MarshalToSizedBuffer ¶
type Field_F ¶
type Field_F struct {
F float64 `protobuf:"fixed64,4,opt,name=f,proto3,oneof" json:"f,omitempty"`
}
func (*Field_F) MarshalToSizedBuffer ¶
type Field_I ¶
type Field_I struct {
I int64 `protobuf:"varint,2,opt,name=i,proto3,oneof" json:"i,omitempty"`
}
func (*Field_I) MarshalToSizedBuffer ¶
type Field_S ¶
type Field_S struct {
S string `protobuf:"bytes,11,opt,name=s,proto3,oneof" json:"s,omitempty"`
}
func (*Field_S) MarshalToSizedBuffer ¶
type Field_U ¶
type Field_U struct {
U uint64 `protobuf:"varint,3,opt,name=u,proto3,oneof" json:"u,omitempty"`
}
func (*Field_U) MarshalToSizedBuffer ¶
type Map ¶
type Map struct {
Map map[string]*BasicTypes `` /* 147-byte string literal not displayed */
}
func (*Map) Descriptor ¶
func (*Map) GetMap ¶
func (m *Map) GetMap() map[string]*BasicTypes
func (*Map) ProtoMessage ¶
func (*Map) ProtoMessage()
func (*Map) XXX_DiscardUnknown ¶
func (m *Map) XXX_DiscardUnknown()
func (*Map) XXX_Unmarshal ¶
type MetricType ¶
type MetricType int32
const ( UNSPECIFIED MetricType = 0 COUNT MetricType = 1 RATE MetricType = 2 GAUGE MetricType = 3 )
func (MetricType) EnumDescriptor ¶
func (MetricType) EnumDescriptor() ([]byte, []int)
func (MetricType) String ¶
func (x MetricType) String() string
type PBPoint ¶
type PBPoint struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Fields []*Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` // Auxiliary fields for the point, they should not // write to the final storage on production. Warns []*Warn `protobuf:"bytes,4,rep,name=warns,proto3" json:"warns,omitempty"` Debugs []*Debug `protobuf:"bytes,5,rep,name=debugs,proto3" json:"debugs,omitempty"` }
func (*PBPoint) Descriptor ¶
func (*PBPoint) MarshalToSizedBuffer ¶
func (*PBPoint) ProtoMessage ¶
func (*PBPoint) ProtoMessage()
func (*PBPoint) XXX_DiscardUnknown ¶
func (m *PBPoint) XXX_DiscardUnknown()
func (*PBPoint) XXX_Marshal ¶
func (*PBPoint) XXX_Unmarshal ¶
type PBPoints ¶
type PBPoints struct {
Arr []*PBPoint `protobuf:"bytes,1,rep,name=arr,proto3" json:"arr,omitempty"`
}
batch of pbpoint.
func (*PBPoints) Descriptor ¶
func (*PBPoints) MarshalToSizedBuffer ¶
func (*PBPoints) ProtoMessage ¶
func (*PBPoints) ProtoMessage()
func (*PBPoints) XXX_DiscardUnknown ¶
func (m *PBPoints) XXX_DiscardUnknown()
func (*PBPoints) XXX_Marshal ¶
func (*PBPoints) XXX_Unmarshal ¶
type Warn ¶
type Warn struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,json=message,proto3" json:"msg,omitempty"` }
Warn used to attach some warning message during building the point.
func (*Warn) Descriptor ¶
func (*Warn) ProtoMessage ¶
func (*Warn) ProtoMessage()
func (*Warn) XXX_DiscardUnknown ¶
func (m *Warn) XXX_DiscardUnknown()
func (*Warn) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.