Versions in this module Expand all Collapse all v1 v1.5.1 May 8, 2023 Changes in this version + var Category_name = map[int32]string + var Category_value = map[string]int32 + var Context_name = map[int32]string + var Context_value = map[string]int32 + var E_XmlName = &file_metrics_metrics_proto_extTypes[0] + var File_metrics_metrics_proto protoreflect.FileDescriptor + var RefreshInterval_name = map[int32]string + var RefreshInterval_value = map[string]int32 + var Type_name = map[int32]string + var Type_value = map[string]int32 + var Unit_name = map[int32]string + var Unit_value = map[string]int32 + type Category int32 + const Category_CATEGORY_CONFIG + const Category_CATEGORY_CPU + const Category_CATEGORY_DISK + const Category_CATEGORY_MEMORY + const Category_CATEGORY_NETWORK + const Category_CATEGORY_UNDEFINED + func (Category) Descriptor() protoreflect.EnumDescriptor + func (Category) EnumDescriptor() ([]byte, []int) + func (Category) Type() protoreflect.EnumType + func (x Category) Enum() *Category + func (x Category) Number() protoreflect.EnumNumber + func (x Category) String() string + type Context int32 + const Context_CONTEXT_HOST + const Context_CONTEXT_UNDEFINED + const Context_CONTEXT_VM + func (Context) Descriptor() protoreflect.EnumDescriptor + func (Context) EnumDescriptor() ([]byte, []int) + func (Context) Type() protoreflect.EnumType + func (x Context) Enum() *Context + func (x Context) Number() protoreflect.EnumNumber + func (x Context) String() string + type Metric struct + Category Category + Context Context + DeviceId string + LastRefresh int64 + Name string + RefreshInterval RefreshInterval + Type Type + Unit Unit + Value string + func (*Metric) Descriptor() ([]byte, []int) + func (*Metric) ProtoMessage() + func (x *Metric) GetCategory() Category + func (x *Metric) GetContext() Context + func (x *Metric) GetDeviceId() string + func (x *Metric) GetLastRefresh() int64 + func (x *Metric) GetName() string + func (x *Metric) GetRefreshInterval() RefreshInterval + func (x *Metric) GetType() Type + func (x *Metric) GetUnit() Unit + func (x *Metric) GetValue() string + func (x *Metric) ProtoReflect() protoreflect.Message + func (x *Metric) Reset() + func (x *Metric) String() string + type MetricsCollection struct + Metrics []*Metric + func (*MetricsCollection) Descriptor() ([]byte, []int) + func (*MetricsCollection) ProtoMessage() + func (x *MetricsCollection) GetMetrics() []*Metric + func (x *MetricsCollection) ProtoReflect() protoreflect.Message + func (x *MetricsCollection) Reset() + func (x *MetricsCollection) String() string + type RefreshInterval int32 + const RefreshInterval_REFRESHINTERVAL_PER_MINUTE + const RefreshInterval_REFRESHINTERVAL_RESTART + const RefreshInterval_REFRESHINTERVAL_UNDEFINED + func (RefreshInterval) Descriptor() protoreflect.EnumDescriptor + func (RefreshInterval) EnumDescriptor() ([]byte, []int) + func (RefreshInterval) Type() protoreflect.EnumType + func (x RefreshInterval) Enum() *RefreshInterval + func (x RefreshInterval) Number() protoreflect.EnumNumber + func (x RefreshInterval) String() string + type Type int32 + const Type_TYPE_DOUBLE + const Type_TYPE_INT32 + const Type_TYPE_INT64 + const Type_TYPE_REAL32 + const Type_TYPE_REAL64 + const Type_TYPE_STRING + const Type_TYPE_UINT32 + const Type_TYPE_UINT64 + const Type_TYPE_UNDEFINED + func (Type) Descriptor() protoreflect.EnumDescriptor + func (Type) EnumDescriptor() ([]byte, []int) + func (Type) Type() protoreflect.EnumType + func (x Type) Enum() *Type + func (x Type) Number() protoreflect.EnumNumber + func (x Type) String() string + type Unit int32 + const Unit_UNIT_BPS + const Unit_UNIT_CU + const Unit_UNIT_KBPS + const Unit_UNIT_MB + const Unit_UNIT_MBPS + const Unit_UNIT_MHZ + const Unit_UNIT_MSEC + const Unit_UNIT_NONE + const Unit_UNIT_OPS_PER_SEC + const Unit_UNIT_PACKETS_PER_SEC + const Unit_UNIT_PERCENT + const Unit_UNIT_SEC + const Unit_UNIT_UNDEFINED + func (Unit) Descriptor() protoreflect.EnumDescriptor + func (Unit) EnumDescriptor() ([]byte, []int) + func (Unit) Type() protoreflect.EnumType + func (x Unit) Enum() *Unit + func (x Unit) Number() protoreflect.EnumNumber + func (x Unit) String() string