Documentation ¶
Index ¶
- Variables
- type Empty
- type Item
- func (*Item) Descriptor() ([]byte, []int)deprecated
- func (x *Item) GetMetricName() string
- func (x *Item) GetTimestamp() *timestamp.Timestamp
- func (x *Item) GetValue() float64
- func (*Item) ProtoMessage()
- func (x *Item) ProtoReflect() protoreflect.Message
- func (x *Item) Reset()
- func (x *Item) String() string
- type MetricValue
- func (*MetricValue) Descriptor() ([]byte, []int)deprecated
- func (x *MetricValue) GetMetricType() enums.MetricsType
- func (x *MetricValue) GetPrometheusResponseType() enums.ValueType
- func (x *MetricValue) GetValues() []*Item
- func (*MetricValue) ProtoMessage()
- func (x *MetricValue) ProtoReflect() protoreflect.Message
- func (x *MetricValue) Reset()
- func (x *MetricValue) String() string
- type Ping
- type Pong
- type RawMetricValue
- func (*RawMetricValue) Descriptor() ([]byte, []int)deprecated
- func (x *RawMetricValue) GetName() string
- func (x *RawMetricValue) GetPrometheusResponseType() enums.ValueType
- func (x *RawMetricValue) GetValues() []*Item
- func (*RawMetricValue) ProtoMessage()
- func (x *RawMetricValue) ProtoReflect() protoreflect.Message
- func (x *RawMetricValue) Reset()
- func (x *RawMetricValue) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_commonproto_empty_proto protoreflect.FileDescriptor
View Source
var File_proto_commonproto_metric_value_proto protoreflect.FileDescriptor
View Source
var File_proto_commonproto_ping_pong_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Item ¶
type Item struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` // faker:"long" MetricName string `protobuf:"bytes,3,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` // faker:"word" // contains filtered or unexported fields }
func (*Item) Descriptor
deprecated
func (*Item) GetMetricName ¶
func (*Item) GetTimestamp ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type MetricValue ¶
type MetricValue struct { MetricType enums.MetricsType `protobuf:"varint,1,opt,name=metric_type,json=metricType,proto3,enum=enums.MetricsType" json:"metric_type,omitempty"` // faker:"oneof: 0 1 2 3 4 5 6" PrometheusResponseType enums.ValueType `` // faker:"oneof: 0 1 2 3" /* 151-byte string literal not displayed */ Values []*Item `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*MetricValue) Descriptor
deprecated
func (*MetricValue) Descriptor() ([]byte, []int)
Deprecated: Use MetricValue.ProtoReflect.Descriptor instead.
func (*MetricValue) GetMetricType ¶
func (x *MetricValue) GetMetricType() enums.MetricsType
func (*MetricValue) GetPrometheusResponseType ¶
func (x *MetricValue) GetPrometheusResponseType() enums.ValueType
func (*MetricValue) GetValues ¶
func (x *MetricValue) GetValues() []*Item
func (*MetricValue) ProtoMessage ¶
func (*MetricValue) ProtoMessage()
func (*MetricValue) ProtoReflect ¶
func (x *MetricValue) ProtoReflect() protoreflect.Message
func (*MetricValue) Reset ¶
func (x *MetricValue) Reset()
func (*MetricValue) String ¶
func (x *MetricValue) String() string
type Ping ¶
type Ping struct { Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*Ping) Descriptor
deprecated
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) ProtoReflect ¶
func (x *Ping) ProtoReflect() protoreflect.Message
type Pong ¶
type Pong struct { Next *timestamp.Timestamp `protobuf:"bytes,1,opt,name=next,proto3" json:"next,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Pong) Descriptor
deprecated
func (*Pong) GetMessage ¶
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
func (*Pong) ProtoReflect ¶
func (x *Pong) ProtoReflect() protoreflect.Message
type RawMetricValue ¶
type RawMetricValue struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` PrometheusResponseType enums.ValueType `` /* 151-byte string literal not displayed */ Values []*Item `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*RawMetricValue) Descriptor
deprecated
func (*RawMetricValue) Descriptor() ([]byte, []int)
Deprecated: Use RawMetricValue.ProtoReflect.Descriptor instead.
func (*RawMetricValue) GetName ¶
func (x *RawMetricValue) GetName() string
func (*RawMetricValue) GetPrometheusResponseType ¶
func (x *RawMetricValue) GetPrometheusResponseType() enums.ValueType
func (*RawMetricValue) GetValues ¶
func (x *RawMetricValue) GetValues() []*Item
func (*RawMetricValue) ProtoMessage ¶
func (*RawMetricValue) ProtoMessage()
func (*RawMetricValue) ProtoReflect ¶
func (x *RawMetricValue) ProtoReflect() protoreflect.Message
func (*RawMetricValue) Reset ¶
func (x *RawMetricValue) Reset()
func (*RawMetricValue) String ¶
func (x *RawMetricValue) String() string
Click to show internal directories.
Click to hide internal directories.