Documentation
¶
Overview ¶
Package com_signalfx_metrics_protobuf is a generated protocol buffer package.
It is generated from these files:
signal_fx_protocol_buffers.proto
It has these top-level messages:
Datum Dimension DataPoint DataPointUploadMessage PointValue
Index ¶
- Variables
- type DataPoint
- func (m *DataPoint) GetDimensions() []*Dimension
- func (m *DataPoint) GetMetric() string
- func (m *DataPoint) GetMetricType() MetricType
- func (m *DataPoint) GetSource() string
- func (m *DataPoint) GetTimestamp() int64
- func (m *DataPoint) GetValue() *Datum
- func (*DataPoint) ProtoMessage()
- func (m *DataPoint) Reset()
- func (m *DataPoint) String() string
- type DataPointUploadMessage
- type Datum
- type Dimension
- type MetricType
- type PointValue
Constants ¶
This section is empty.
Variables ¶
View Source
var MetricType_name = map[int32]string{
0: "GAUGE",
1: "COUNTER",
2: "ENUM",
3: "CUMULATIVE_COUNTER",
}
View Source
var MetricType_value = map[string]int32{
"GAUGE": 0,
"COUNTER": 1,
"ENUM": 2,
"CUMULATIVE_COUNTER": 3,
}
Functions ¶
This section is empty.
Types ¶
type DataPoint ¶
type DataPoint struct { Source *string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"` Metric *string `protobuf:"bytes,2,opt,name=metric" json:"metric,omitempty"` Timestamp *int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` Value *Datum `protobuf:"bytes,4,opt,name=value" json:"value,omitempty"` MetricType *MetricType `protobuf:"varint,5,opt,name=metricType,enum=com.signalfx.metrics.protobuf.MetricType" json:"metricType,omitempty"` Dimensions []*Dimension `protobuf:"bytes,6,rep,name=dimensions" json:"dimensions,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DataPoint) GetDimensions ¶
func (*DataPoint) GetMetricType ¶
func (m *DataPoint) GetMetricType() MetricType
func (*DataPoint) GetTimestamp ¶
func (*DataPoint) ProtoMessage ¶
func (*DataPoint) ProtoMessage()
type DataPointUploadMessage ¶
type DataPointUploadMessage struct { Datapoints []*DataPoint `protobuf:"bytes,1,rep,name=datapoints" json:"datapoints,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DataPointUploadMessage) GetDatapoints ¶
func (m *DataPointUploadMessage) GetDatapoints() []*DataPoint
func (*DataPointUploadMessage) ProtoMessage ¶
func (*DataPointUploadMessage) ProtoMessage()
func (*DataPointUploadMessage) Reset ¶
func (m *DataPointUploadMessage) Reset()
func (*DataPointUploadMessage) String ¶
func (m *DataPointUploadMessage) String() string
type Datum ¶
type Datum struct { StrValue *string `protobuf:"bytes,1,opt,name=strValue" json:"strValue,omitempty"` DoubleValue *float64 `protobuf:"fixed64,2,opt,name=doubleValue" json:"doubleValue,omitempty"` IntValue *int64 `protobuf:"varint,3,opt,name=intValue" json:"intValue,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Datum) GetDoubleValue ¶
func (*Datum) GetIntValue ¶
func (*Datum) GetStrValue ¶
func (*Datum) ProtoMessage ¶
func (*Datum) ProtoMessage()
type Dimension ¶
type Dimension struct { Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Dimension) ProtoMessage ¶
func (*Dimension) ProtoMessage()
type MetricType ¶
type MetricType int32
const ( // * // Numerical: Periodic, instantaneous measurement of some state. MetricType_GAUGE MetricType = 0 // * // Numerical: Count of occurrences. Generally non-negative integers. MetricType_COUNTER MetricType = 1 // * // String: Used for non-continuous quantities (that is, measurements where there is a fixed // set of meaningful values). This is essentially a special case of gauge. MetricType_ENUM MetricType = 2 // * // Tracks a value that increases over time, where only the difference is important. MetricType_CUMULATIVE_COUNTER MetricType = 3 )
func (MetricType) Enum ¶
func (x MetricType) Enum() *MetricType
func (MetricType) String ¶
func (x MetricType) String() string
func (*MetricType) UnmarshalJSON ¶
func (x *MetricType) UnmarshalJSON(data []byte) error
type PointValue ¶
type PointValue struct { Timestamp *int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` Value *Datum `protobuf:"bytes,4,opt,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PointValue) GetTimestamp ¶
func (m *PointValue) GetTimestamp() int64
func (*PointValue) GetValue ¶
func (m *PointValue) GetValue() *Datum
func (*PointValue) ProtoMessage ¶
func (*PointValue) ProtoMessage()
func (*PointValue) Reset ¶
func (m *PointValue) Reset()
func (*PointValue) String ¶
func (m *PointValue) String() string
Click to show internal directories.
Click to hide internal directories.