Documentation ¶
Overview ¶
Package annotation is a generated protocol buffer package.
It is generated from these files:
github.com/m3db/m3/src/dbnode/generated/proto/annotation/annotation.proto
It has these top-level messages:
Payload
Index ¶
- Variables
- type MetricType
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)
- func (m *Payload) GetHandleValueResets() bool
- func (m *Payload) GetMetricType() MetricType
- func (m *Payload) Marshal() (dAtA []byte, err error)
- func (m *Payload) MarshalTo(dAtA []byte) (int, error)
- func (*Payload) ProtoMessage()
- func (m *Payload) Reset()
- func (m *Payload) Size() (n int)
- func (m *Payload) String() string
- func (m *Payload) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAnnotation = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAnnotation = fmt.Errorf("proto: integer overflow") )
View Source
var MetricType_name = map[int32]string{
0: "UNKNOWN",
1: "COUNTER",
2: "GAUGE",
3: "HISTOGRAM",
4: "GAUGE_HISTOGRAM",
5: "SUMMARY",
6: "INFO",
7: "STATESET",
}
View Source
var MetricType_value = map[string]int32{
"UNKNOWN": 0,
"COUNTER": 1,
"GAUGE": 2,
"HISTOGRAM": 3,
"GAUGE_HISTOGRAM": 4,
"SUMMARY": 5,
"INFO": 6,
"STATESET": 7,
}
Functions ¶
This section is empty.
Types ¶
type MetricType ¶
type MetricType int32
const ( MetricType_UNKNOWN MetricType = 0 MetricType_COUNTER MetricType = 1 MetricType_GAUGE MetricType = 2 MetricType_HISTOGRAM MetricType = 3 MetricType_GAUGE_HISTOGRAM MetricType = 4 MetricType_SUMMARY MetricType = 5 MetricType_INFO MetricType = 6 MetricType_STATESET MetricType = 7 )
func (MetricType) EnumDescriptor ¶
func (MetricType) EnumDescriptor() ([]byte, []int)
func (MetricType) String ¶
func (x MetricType) String() string
type Payload ¶
type Payload struct { MetricType MetricType `protobuf:"varint,1,opt,name=metric_type,json=metricType,proto3,enum=annotation.MetricType" json:"metric_type,omitempty"` HandleValueResets bool `protobuf:"varint,2,opt,name=handle_value_resets,json=handleValueResets,proto3" json:"handle_value_resets,omitempty"` }
func (*Payload) Descriptor ¶
func (*Payload) GetHandleValueResets ¶
func (*Payload) GetMetricType ¶
func (m *Payload) GetMetricType() MetricType
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.