Documentation ¶
Index ¶
- type CollectorConfig
- func (*CollectorConfig) Descriptor() ([]byte, []int)
- func (m *CollectorConfig) GetConfigId() string
- func (m *CollectorConfig) GetConfigVersion() int32
- func (m *CollectorConfig) GetInterval() int32
- func (m *CollectorConfig) GetMetricName() string
- func (m *CollectorConfig) GetObjectId() string
- func (m *CollectorConfig) GetParams() []*CollectorConfig_Params
- func (m *CollectorConfig) GetPath() string
- func (*CollectorConfig) ProtoMessage()
- func (m *CollectorConfig) Reset()
- func (m *CollectorConfig) String() string
- func (this *CollectorConfig) Validate() error
- func (m *CollectorConfig) XXX_DiscardUnknown()
- func (m *CollectorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectorConfig) XXX_Merge(src proto.Message)
- func (m *CollectorConfig) XXX_Size() int
- func (m *CollectorConfig) XXX_Unmarshal(b []byte) error
- type CollectorConfig_Params
- func (*CollectorConfig_Params) Descriptor() ([]byte, []int)
- func (m *CollectorConfig_Params) GetExpand() bool
- func (m *CollectorConfig_Params) GetKey() string
- func (m *CollectorConfig_Params) GetParamType() string
- func (m *CollectorConfig_Params) GetValue() string
- func (*CollectorConfig_Params) ProtoMessage()
- func (m *CollectorConfig_Params) Reset()
- func (m *CollectorConfig_Params) String() string
- func (this *CollectorConfig_Params) Validate() error
- func (m *CollectorConfig_Params) XXX_DiscardUnknown()
- func (m *CollectorConfig_Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectorConfig_Params) XXX_Merge(src proto.Message)
- func (m *CollectorConfig_Params) XXX_Size() int
- func (m *CollectorConfig_Params) XXX_Unmarshal(b []byte) error
- type CollectorJob
- func (*CollectorJob) Descriptor() ([]byte, []int)
- func (m *CollectorJob) GetCollector() *types.Struct
- func (m *CollectorJob) GetInstanceId() string
- func (m *CollectorJob) GetInterval() int32
- func (m *CollectorJob) GetMetricName() string
- func (m *CollectorJob) GetObjectId() string
- func (m *CollectorJob) GetParamGroups() []*types.Struct
- func (*CollectorJob) ProtoMessage()
- func (m *CollectorJob) Reset()
- func (m *CollectorJob) String() string
- func (this *CollectorJob) Validate() error
- func (m *CollectorJob) XXX_DiscardUnknown()
- func (m *CollectorJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectorJob) XXX_Merge(src proto.Message)
- func (m *CollectorJob) XXX_Size() int
- func (m *CollectorJob) XXX_Unmarshal(b []byte) error
- type CollectorMetric
- func (*CollectorMetric) Descriptor() ([]byte, []int)
- func (m *CollectorMetric) GetAgentType() string
- func (m *CollectorMetric) GetDataType() string
- func (m *CollectorMetric) GetHelp() string
- func (m *CollectorMetric) GetKey() string
- func (m *CollectorMetric) GetKeyName() string
- func (m *CollectorMetric) GetLabels() []string
- func (m *CollectorMetric) GetMetricId() string
- func (m *CollectorMetric) GetMetricType() string
- func (m *CollectorMetric) GetMetricVersion() int32
- func (m *CollectorMetric) GetName() string
- func (m *CollectorMetric) GetParamDefine() []*CollectorMetric_ParamDefine
- func (m *CollectorMetric) GetTagDefine() []*CollectorMetric_TagDefine
- func (m *CollectorMetric) GetUnit() string
- func (m *CollectorMetric) GetVersion() int32
- func (*CollectorMetric) ProtoMessage()
- func (m *CollectorMetric) Reset()
- func (m *CollectorMetric) String() string
- func (this *CollectorMetric) Validate() error
- func (m *CollectorMetric) XXX_DiscardUnknown()
- func (m *CollectorMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectorMetric) XXX_Merge(src proto.Message)
- func (m *CollectorMetric) XXX_Size() int
- func (m *CollectorMetric) XXX_Unmarshal(b []byte) error
- type CollectorMetric_ParamDefine
- func (*CollectorMetric_ParamDefine) Descriptor() ([]byte, []int)
- func (m *CollectorMetric_ParamDefine) GetDefault() string
- func (m *CollectorMetric_ParamDefine) GetName() string
- func (m *CollectorMetric_ParamDefine) GetReadOnly() bool
- func (m *CollectorMetric_ParamDefine) GetValueType() string
- func (*CollectorMetric_ParamDefine) ProtoMessage()
- func (m *CollectorMetric_ParamDefine) Reset()
- func (m *CollectorMetric_ParamDefine) String() string
- func (this *CollectorMetric_ParamDefine) Validate() error
- func (m *CollectorMetric_ParamDefine) XXX_DiscardUnknown()
- func (m *CollectorMetric_ParamDefine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectorMetric_ParamDefine) XXX_Merge(src proto.Message)
- func (m *CollectorMetric_ParamDefine) XXX_Size() int
- func (m *CollectorMetric_ParamDefine) XXX_Unmarshal(b []byte) error
- type CollectorMetric_TagDefine
- func (*CollectorMetric_TagDefine) Descriptor() ([]byte, []int)
- func (m *CollectorMetric_TagDefine) GetDefault() string
- func (m *CollectorMetric_TagDefine) GetName() string
- func (m *CollectorMetric_TagDefine) GetReadOnly() bool
- func (*CollectorMetric_TagDefine) ProtoMessage()
- func (m *CollectorMetric_TagDefine) Reset()
- func (m *CollectorMetric_TagDefine) String() string
- func (this *CollectorMetric_TagDefine) Validate() error
- func (m *CollectorMetric_TagDefine) XXX_DiscardUnknown()
- func (m *CollectorMetric_TagDefine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectorMetric_TagDefine) XXX_Merge(src proto.Message)
- func (m *CollectorMetric_TagDefine) XXX_Size() int
- func (m *CollectorMetric_TagDefine) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectorConfig ¶
type CollectorConfig struct { // //采集配置id ConfigId string `protobuf:"bytes,1,opt,name=configId,proto3" json:"configId" form:"configId"` // //采集实例objectId ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //关系查询路径 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path" form:"path"` // //指标名称 MetricName string `protobuf:"bytes,4,opt,name=metricName,proto3" json:"metricName" form:"metricName"` // //采集参数 Params []*CollectorConfig_Params `protobuf:"bytes,5,rep,name=params,proto3" json:"params" form:"params"` // //采集间隔 Interval int32 `protobuf:"varint,6,opt,name=interval,proto3" json:"interval" form:"interval"` // //采集配置实例版本号 ConfigVersion int32 `protobuf:"varint,7,opt,name=configVersion,proto3" json:"configVersion" form:"configVersion"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
采集配置
func (*CollectorConfig) Descriptor ¶
func (*CollectorConfig) Descriptor() ([]byte, []int)
func (*CollectorConfig) GetConfigId ¶
func (m *CollectorConfig) GetConfigId() string
func (*CollectorConfig) GetConfigVersion ¶
func (m *CollectorConfig) GetConfigVersion() int32
func (*CollectorConfig) GetInterval ¶
func (m *CollectorConfig) GetInterval() int32
func (*CollectorConfig) GetMetricName ¶
func (m *CollectorConfig) GetMetricName() string
func (*CollectorConfig) GetObjectId ¶
func (m *CollectorConfig) GetObjectId() string
func (*CollectorConfig) GetParams ¶
func (m *CollectorConfig) GetParams() []*CollectorConfig_Params
func (*CollectorConfig) GetPath ¶
func (m *CollectorConfig) GetPath() string
func (*CollectorConfig) ProtoMessage ¶
func (*CollectorConfig) ProtoMessage()
func (*CollectorConfig) Reset ¶
func (m *CollectorConfig) Reset()
func (*CollectorConfig) String ¶
func (m *CollectorConfig) String() string
func (*CollectorConfig) Validate ¶
func (this *CollectorConfig) Validate() error
func (*CollectorConfig) XXX_DiscardUnknown ¶
func (m *CollectorConfig) XXX_DiscardUnknown()
func (*CollectorConfig) XXX_Marshal ¶
func (m *CollectorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectorConfig) XXX_Merge ¶
func (m *CollectorConfig) XXX_Merge(src proto.Message)
func (*CollectorConfig) XXX_Size ¶
func (m *CollectorConfig) XXX_Size() int
func (*CollectorConfig) XXX_Unmarshal ¶
func (m *CollectorConfig) XXX_Unmarshal(b []byte) error
type CollectorConfig_Params ¶
type CollectorConfig_Params struct { // //参数名 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" form:"key"` // //参数值 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value" form:"value"` // //参数类型, mapping - 从cmdb映射, const - 固定值, cmdbValue - 从cmdb取值 ParamType string `protobuf:"bytes,3,opt,name=paramType,proto3" json:"paramType" form:"paramType"` // //参数如果有多个值,是否需要展开 Expand bool `protobuf:"varint,4,opt,name=expand,proto3" json:"expand" form:"expand"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CollectorConfig_Params) Descriptor ¶
func (*CollectorConfig_Params) Descriptor() ([]byte, []int)
func (*CollectorConfig_Params) GetExpand ¶
func (m *CollectorConfig_Params) GetExpand() bool
func (*CollectorConfig_Params) GetKey ¶
func (m *CollectorConfig_Params) GetKey() string
func (*CollectorConfig_Params) GetParamType ¶
func (m *CollectorConfig_Params) GetParamType() string
func (*CollectorConfig_Params) GetValue ¶
func (m *CollectorConfig_Params) GetValue() string
func (*CollectorConfig_Params) ProtoMessage ¶
func (*CollectorConfig_Params) ProtoMessage()
func (*CollectorConfig_Params) Reset ¶
func (m *CollectorConfig_Params) Reset()
func (*CollectorConfig_Params) String ¶
func (m *CollectorConfig_Params) String() string
func (*CollectorConfig_Params) Validate ¶
func (this *CollectorConfig_Params) Validate() error
func (*CollectorConfig_Params) XXX_DiscardUnknown ¶
func (m *CollectorConfig_Params) XXX_DiscardUnknown()
func (*CollectorConfig_Params) XXX_Marshal ¶
func (m *CollectorConfig_Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectorConfig_Params) XXX_Merge ¶
func (m *CollectorConfig_Params) XXX_Merge(src proto.Message)
func (*CollectorConfig_Params) XXX_Size ¶
func (m *CollectorConfig_Params) XXX_Size() int
func (*CollectorConfig_Params) XXX_Unmarshal ¶
func (m *CollectorConfig_Params) XXX_Unmarshal(b []byte) error
type CollectorJob ¶
type CollectorJob struct { // //采集实例objectId ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId" form:"objectId"` // //采集实例instanceId InstanceId string `protobuf:"bytes,2,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //指标名称 MetricName string `protobuf:"bytes,3,opt,name=metricName,proto3" json:"metricName" form:"metricName"` // //采集参数组,每个分组是一组采集参数 ParamGroups []*types.Struct `protobuf:"bytes,4,rep,name=paramGroups,proto3" json:"paramGroups" form:"paramGroups"` // //采集器 Collector *types.Struct `protobuf:"bytes,5,opt,name=collector,proto3" json:"collector" form:"collector"` // //采集间隔 Interval int32 `protobuf:"varint,6,opt,name=interval,proto3" json:"interval" form:"interval"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
采集任务
func (*CollectorJob) Descriptor ¶
func (*CollectorJob) Descriptor() ([]byte, []int)
func (*CollectorJob) GetCollector ¶
func (m *CollectorJob) GetCollector() *types.Struct
func (*CollectorJob) GetInstanceId ¶
func (m *CollectorJob) GetInstanceId() string
func (*CollectorJob) GetInterval ¶
func (m *CollectorJob) GetInterval() int32
func (*CollectorJob) GetMetricName ¶
func (m *CollectorJob) GetMetricName() string
func (*CollectorJob) GetObjectId ¶
func (m *CollectorJob) GetObjectId() string
func (*CollectorJob) GetParamGroups ¶
func (m *CollectorJob) GetParamGroups() []*types.Struct
func (*CollectorJob) ProtoMessage ¶
func (*CollectorJob) ProtoMessage()
func (*CollectorJob) Reset ¶
func (m *CollectorJob) Reset()
func (*CollectorJob) String ¶
func (m *CollectorJob) String() string
func (*CollectorJob) Validate ¶
func (this *CollectorJob) Validate() error
func (*CollectorJob) XXX_DiscardUnknown ¶
func (m *CollectorJob) XXX_DiscardUnknown()
func (*CollectorJob) XXX_Marshal ¶
func (m *CollectorJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectorJob) XXX_Merge ¶
func (m *CollectorJob) XXX_Merge(src proto.Message)
func (*CollectorJob) XXX_Size ¶
func (m *CollectorJob) XXX_Size() int
func (*CollectorJob) XXX_Unmarshal ¶
func (m *CollectorJob) XXX_Unmarshal(b []byte) error
type CollectorMetric ¶
type CollectorMetric struct { // //指标名 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //指标名 KeyName string `protobuf:"bytes,2,opt,name=keyName,proto3" json:"keyName" form:"keyName"` // //标签 Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels" form:"labels"` // //指标id MetricId string `protobuf:"bytes,4,opt,name=metricId,proto3" json:"metricId" form:"metricId"` // //指标版本 Version int32 `protobuf:"varint,5,opt,name=version,proto3" json:"version" form:"version"` // //指标key Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key" form:"key"` // //指标类型 MetricType string `protobuf:"bytes,7,opt,name=metricType,proto3" json:"metricType" form:"metricType"` // //指标数据类型 DataType string `protobuf:"bytes,8,opt,name=dataType,proto3" json:"dataType" form:"dataType"` // //所属Agent AgentType string `protobuf:"bytes,9,opt,name=agentType,proto3" json:"agentType" form:"agentType"` // //维度定义 TagDefine []*CollectorMetric_TagDefine `protobuf:"bytes,10,rep,name=tagDefine,proto3" json:"tagDefine" form:"tagDefine"` // //参数定义 ParamDefine []*CollectorMetric_ParamDefine `protobuf:"bytes,11,rep,name=paramDefine,proto3" json:"paramDefine" form:"paramDefine"` // //帮助 Help string `protobuf:"bytes,12,opt,name=help,proto3" json:"help" form:"help"` // //单位 Unit string `protobuf:"bytes,13,opt,name=unit,proto3" json:"unit" form:"unit"` // //采集指标实例版本号 MetricVersion int32 `protobuf:"varint,14,opt,name=metricVersion,proto3" json:"metricVersion" form:"metricVersion"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
采集指标
func (*CollectorMetric) Descriptor ¶
func (*CollectorMetric) Descriptor() ([]byte, []int)
func (*CollectorMetric) GetAgentType ¶
func (m *CollectorMetric) GetAgentType() string
func (*CollectorMetric) GetDataType ¶
func (m *CollectorMetric) GetDataType() string
func (*CollectorMetric) GetHelp ¶
func (m *CollectorMetric) GetHelp() string
func (*CollectorMetric) GetKey ¶
func (m *CollectorMetric) GetKey() string
func (*CollectorMetric) GetKeyName ¶
func (m *CollectorMetric) GetKeyName() string
func (*CollectorMetric) GetLabels ¶
func (m *CollectorMetric) GetLabels() []string
func (*CollectorMetric) GetMetricId ¶
func (m *CollectorMetric) GetMetricId() string
func (*CollectorMetric) GetMetricType ¶
func (m *CollectorMetric) GetMetricType() string
func (*CollectorMetric) GetMetricVersion ¶
func (m *CollectorMetric) GetMetricVersion() int32
func (*CollectorMetric) GetName ¶
func (m *CollectorMetric) GetName() string
func (*CollectorMetric) GetParamDefine ¶
func (m *CollectorMetric) GetParamDefine() []*CollectorMetric_ParamDefine
func (*CollectorMetric) GetTagDefine ¶
func (m *CollectorMetric) GetTagDefine() []*CollectorMetric_TagDefine
func (*CollectorMetric) GetUnit ¶
func (m *CollectorMetric) GetUnit() string
func (*CollectorMetric) GetVersion ¶
func (m *CollectorMetric) GetVersion() int32
func (*CollectorMetric) ProtoMessage ¶
func (*CollectorMetric) ProtoMessage()
func (*CollectorMetric) Reset ¶
func (m *CollectorMetric) Reset()
func (*CollectorMetric) String ¶
func (m *CollectorMetric) String() string
func (*CollectorMetric) Validate ¶
func (this *CollectorMetric) Validate() error
func (*CollectorMetric) XXX_DiscardUnknown ¶
func (m *CollectorMetric) XXX_DiscardUnknown()
func (*CollectorMetric) XXX_Marshal ¶
func (m *CollectorMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectorMetric) XXX_Merge ¶
func (m *CollectorMetric) XXX_Merge(src proto.Message)
func (*CollectorMetric) XXX_Size ¶
func (m *CollectorMetric) XXX_Size() int
func (*CollectorMetric) XXX_Unmarshal ¶
func (m *CollectorMetric) XXX_Unmarshal(b []byte) error
type CollectorMetric_ParamDefine ¶
type CollectorMetric_ParamDefine struct { // //名字 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //值类型 ValueType string `protobuf:"bytes,2,opt,name=valueType,proto3" json:"valueType" form:"valueType"` // //默认值 Default string `protobuf:"bytes,3,opt,name=default,proto3" json:"default" form:"default"` // //是否只读 ReadOnly bool `protobuf:"varint,4,opt,name=readOnly,proto3" json:"readOnly" form:"readOnly"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CollectorMetric_ParamDefine) Descriptor ¶
func (*CollectorMetric_ParamDefine) Descriptor() ([]byte, []int)
func (*CollectorMetric_ParamDefine) GetDefault ¶
func (m *CollectorMetric_ParamDefine) GetDefault() string
func (*CollectorMetric_ParamDefine) GetName ¶
func (m *CollectorMetric_ParamDefine) GetName() string
func (*CollectorMetric_ParamDefine) GetReadOnly ¶
func (m *CollectorMetric_ParamDefine) GetReadOnly() bool
func (*CollectorMetric_ParamDefine) GetValueType ¶
func (m *CollectorMetric_ParamDefine) GetValueType() string
func (*CollectorMetric_ParamDefine) ProtoMessage ¶
func (*CollectorMetric_ParamDefine) ProtoMessage()
func (*CollectorMetric_ParamDefine) Reset ¶
func (m *CollectorMetric_ParamDefine) Reset()
func (*CollectorMetric_ParamDefine) String ¶
func (m *CollectorMetric_ParamDefine) String() string
func (*CollectorMetric_ParamDefine) Validate ¶
func (this *CollectorMetric_ParamDefine) Validate() error
func (*CollectorMetric_ParamDefine) XXX_DiscardUnknown ¶
func (m *CollectorMetric_ParamDefine) XXX_DiscardUnknown()
func (*CollectorMetric_ParamDefine) XXX_Marshal ¶
func (m *CollectorMetric_ParamDefine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectorMetric_ParamDefine) XXX_Merge ¶
func (m *CollectorMetric_ParamDefine) XXX_Merge(src proto.Message)
func (*CollectorMetric_ParamDefine) XXX_Size ¶
func (m *CollectorMetric_ParamDefine) XXX_Size() int
func (*CollectorMetric_ParamDefine) XXX_Unmarshal ¶
func (m *CollectorMetric_ParamDefine) XXX_Unmarshal(b []byte) error
type CollectorMetric_TagDefine ¶
type CollectorMetric_TagDefine struct { // //名字 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //默认值 Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default" form:"default"` // //是否只读 ReadOnly bool `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly" form:"readOnly"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CollectorMetric_TagDefine) Descriptor ¶
func (*CollectorMetric_TagDefine) Descriptor() ([]byte, []int)
func (*CollectorMetric_TagDefine) GetDefault ¶
func (m *CollectorMetric_TagDefine) GetDefault() string
func (*CollectorMetric_TagDefine) GetName ¶
func (m *CollectorMetric_TagDefine) GetName() string
func (*CollectorMetric_TagDefine) GetReadOnly ¶
func (m *CollectorMetric_TagDefine) GetReadOnly() bool
func (*CollectorMetric_TagDefine) ProtoMessage ¶
func (*CollectorMetric_TagDefine) ProtoMessage()
func (*CollectorMetric_TagDefine) Reset ¶
func (m *CollectorMetric_TagDefine) Reset()
func (*CollectorMetric_TagDefine) String ¶
func (m *CollectorMetric_TagDefine) String() string
func (*CollectorMetric_TagDefine) Validate ¶
func (this *CollectorMetric_TagDefine) Validate() error
func (*CollectorMetric_TagDefine) XXX_DiscardUnknown ¶
func (m *CollectorMetric_TagDefine) XXX_DiscardUnknown()
func (*CollectorMetric_TagDefine) XXX_Marshal ¶
func (m *CollectorMetric_TagDefine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectorMetric_TagDefine) XXX_Merge ¶
func (m *CollectorMetric_TagDefine) XXX_Merge(src proto.Message)
func (*CollectorMetric_TagDefine) XXX_Size ¶
func (m *CollectorMetric_TagDefine) XXX_Size() int
func (*CollectorMetric_TagDefine) XXX_Unmarshal ¶
func (m *CollectorMetric_TagDefine) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.