Documentation ¶
Index ¶
- Variables
- type Metric
- type Metric_Label
- func (*Metric_Label) Descriptor() ([]byte, []int)deprecated
- func (x *Metric_Label) GetName() string
- func (x *Metric_Label) GetValue() string
- func (*Metric_Label) ProtoMessage()
- func (x *Metric_Label) ProtoReflect() protoreflect.Message
- func (x *Metric_Label) Reset()
- func (x *Metric_Label) String() string
- type Metric_Measurement
- func (*Metric_Measurement) Descriptor() ([]byte, []int)deprecated
- func (x *Metric_Measurement) GetLabels() []*Metric_Label
- func (x *Metric_Measurement) GetValue() float64
- func (*Metric_Measurement) ProtoMessage()
- func (x *Metric_Measurement) ProtoReflect() protoreflect.Message
- func (x *Metric_Measurement) Reset()
- func (x *Metric_Measurement) String() string
- type MetricsBatch
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pb_metrics_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Measurements []*Metric_Measurement `protobuf:"bytes,2,rep,name=measurements,proto3" json:"measurements,omitempty"` // contains filtered or unexported fields }
func (*Metric) Descriptor
deprecated
func (*Metric) GetMeasurements ¶
func (x *Metric) GetMeasurements() []*Metric_Measurement
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
type Metric_Label ¶
type Metric_Label struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Metric_Label) Descriptor
deprecated
func (*Metric_Label) Descriptor() ([]byte, []int)
Deprecated: Use Metric_Label.ProtoReflect.Descriptor instead.
func (*Metric_Label) GetName ¶
func (x *Metric_Label) GetName() string
func (*Metric_Label) GetValue ¶
func (x *Metric_Label) GetValue() string
func (*Metric_Label) ProtoMessage ¶
func (*Metric_Label) ProtoMessage()
func (*Metric_Label) ProtoReflect ¶
func (x *Metric_Label) ProtoReflect() protoreflect.Message
func (*Metric_Label) Reset ¶
func (x *Metric_Label) Reset()
func (*Metric_Label) String ¶
func (x *Metric_Label) String() string
type Metric_Measurement ¶
type Metric_Measurement struct { Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` Labels []*Metric_Label `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*Metric_Measurement) Descriptor
deprecated
func (*Metric_Measurement) Descriptor() ([]byte, []int)
Deprecated: Use Metric_Measurement.ProtoReflect.Descriptor instead.
func (*Metric_Measurement) GetLabels ¶
func (x *Metric_Measurement) GetLabels() []*Metric_Label
func (*Metric_Measurement) GetValue ¶
func (x *Metric_Measurement) GetValue() float64
func (*Metric_Measurement) ProtoMessage ¶
func (*Metric_Measurement) ProtoMessage()
func (*Metric_Measurement) ProtoReflect ¶
func (x *Metric_Measurement) ProtoReflect() protoreflect.Message
func (*Metric_Measurement) Reset ¶
func (x *Metric_Measurement) Reset()
func (*Metric_Measurement) String ¶
func (x *Metric_Measurement) String() string
type MetricsBatch ¶
type MetricsBatch struct { Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*MetricsBatch) Descriptor
deprecated
func (*MetricsBatch) Descriptor() ([]byte, []int)
Deprecated: Use MetricsBatch.ProtoReflect.Descriptor instead.
func (*MetricsBatch) GetMetrics ¶
func (x *MetricsBatch) GetMetrics() []*Metric
func (*MetricsBatch) ProtoMessage ¶
func (*MetricsBatch) ProtoMessage()
func (*MetricsBatch) ProtoReflect ¶
func (x *MetricsBatch) ProtoReflect() protoreflect.Message
func (*MetricsBatch) Reset ¶
func (x *MetricsBatch) Reset()
func (*MetricsBatch) String ¶
func (x *MetricsBatch) String() string
Click to show internal directories.
Click to hide internal directories.