Documentation ¶
Index ¶
- Variables
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetName() string
- func (x *Metric) GetTags() map[string]string
- func (x *Metric) GetTimestamp() int64
- func (x *Metric) GetType() string
- func (x *Metric) GetValue() float64
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type MetricLog
- func (*MetricLog) Descriptor() ([]byte, []int)deprecated
- func (x *MetricLog) GetId() string
- func (x *MetricLog) GetLevel() string
- func (x *MetricLog) GetMessage() string
- func (x *MetricLog) GetTimestamp() int64
- func (*MetricLog) ProtoMessage()
- func (x *MetricLog) ProtoReflect() protoreflect.Message
- func (x *MetricLog) Reset()
- func (x *MetricLog) String() string
- type MetricLogMessage
- func (*MetricLogMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MetricLogMessage) GetMetricLogs() []*MetricLog
- func (*MetricLogMessage) ProtoMessage()
- func (x *MetricLogMessage) ProtoReflect() protoreflect.Message
- func (x *MetricLogMessage) Reset()
- func (x *MetricLogMessage) String() string
- type MetricMessage
Constants ¶
This section is empty.
Variables ¶
View Source
var File_sdk_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"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Value float64 `protobuf:"fixed64,4,opt,name=value,proto3" json:"value,omitempty"` Tags map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metric) Descriptor
deprecated
func (*Metric) GetTimestamp ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
type MetricLog ¶
type MetricLog struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*MetricLog) Descriptor
deprecated
func (*MetricLog) GetMessage ¶
func (*MetricLog) GetTimestamp ¶
func (*MetricLog) ProtoMessage ¶
func (*MetricLog) ProtoMessage()
func (*MetricLog) ProtoReflect ¶
func (x *MetricLog) ProtoReflect() protoreflect.Message
type MetricLogMessage ¶
type MetricLogMessage struct { MetricLogs []*MetricLog `protobuf:"bytes,1,rep,name=metric_logs,json=metricLogs,proto3" json:"metric_logs,omitempty"` // contains filtered or unexported fields }
func (*MetricLogMessage) Descriptor
deprecated
func (*MetricLogMessage) Descriptor() ([]byte, []int)
Deprecated: Use MetricLogMessage.ProtoReflect.Descriptor instead.
func (*MetricLogMessage) GetMetricLogs ¶
func (x *MetricLogMessage) GetMetricLogs() []*MetricLog
func (*MetricLogMessage) ProtoMessage ¶
func (*MetricLogMessage) ProtoMessage()
func (*MetricLogMessage) ProtoReflect ¶
func (x *MetricLogMessage) ProtoReflect() protoreflect.Message
func (*MetricLogMessage) Reset ¶
func (x *MetricLogMessage) Reset()
func (*MetricLogMessage) String ¶
func (x *MetricLogMessage) String() string
type MetricMessage ¶
type MetricMessage struct { Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*MetricMessage) Descriptor
deprecated
func (*MetricMessage) Descriptor() ([]byte, []int)
Deprecated: Use MetricMessage.ProtoReflect.Descriptor instead.
func (*MetricMessage) GetMetrics ¶
func (x *MetricMessage) GetMetrics() []*Metric
func (*MetricMessage) ProtoMessage ¶
func (*MetricMessage) ProtoMessage()
func (*MetricMessage) ProtoReflect ¶
func (x *MetricMessage) ProtoReflect() protoreflect.Message
func (*MetricMessage) Reset ¶
func (x *MetricMessage) Reset()
func (*MetricMessage) String ¶
func (x *MetricMessage) String() string
Click to show internal directories.
Click to hide internal directories.