protocol

package
v0.1.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Metric.ProtoReflect.Descriptor instead.

func (*Metric) GetName

func (x *Metric) GetName() string

func (*Metric) GetTags

func (x *Metric) GetTags() map[string]string

func (*Metric) GetTimestamp

func (x *Metric) GetTimestamp() int64

func (*Metric) GetType

func (x *Metric) GetType() string

func (*Metric) GetValue

func (x *Metric) GetValue() float64

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect

func (x *Metric) ProtoReflect() protoreflect.Message

func (*Metric) Reset

func (x *Metric) Reset()

func (*Metric) String

func (x *Metric) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use MetricLog.ProtoReflect.Descriptor instead.

func (*MetricLog) GetId

func (x *MetricLog) GetId() string

func (*MetricLog) GetLevel

func (x *MetricLog) GetLevel() string

func (*MetricLog) GetMessage

func (x *MetricLog) GetMessage() string

func (*MetricLog) GetTimestamp

func (x *MetricLog) GetTimestamp() int64

func (*MetricLog) ProtoMessage

func (*MetricLog) ProtoMessage()

func (*MetricLog) ProtoReflect

func (x *MetricLog) ProtoReflect() protoreflect.Message

func (*MetricLog) Reset

func (x *MetricLog) Reset()

func (*MetricLog) String

func (x *MetricLog) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL