Documentation
¶
Index ¶
- Variables
- type AlertEvent
- func (*AlertEvent) Descriptor() ([]byte, []int)
- func (m *AlertEvent) GetAlertPolicy() string
- func (m *AlertEvent) GetCustomTagKeys() []string
- func (m *AlertEvent) GetCustomTagValues() []string
- func (m *AlertEvent) GetEventLevel() uint32
- func (m *AlertEvent) GetMetricUnit() string
- func (m *AlertEvent) GetMetricValue() float64
- func (m *AlertEvent) GetMetricValueStr() string
- func (m *AlertEvent) GetOrgId() uint32
- func (m *AlertEvent) GetPolicyId() uint32
- func (m *AlertEvent) GetPolicyType() uint32
- func (m *AlertEvent) GetTagIntKeys() []string
- func (m *AlertEvent) GetTagIntValues() []int64
- func (m *AlertEvent) GetTagStrKeys() []string
- func (m *AlertEvent) GetTagStrValues() []string
- func (m *AlertEvent) GetTargetTags() string
- func (m *AlertEvent) GetTeamId() uint32
- func (m *AlertEvent) GetTime() uint32
- func (m *AlertEvent) GetTriggerThreshold() string
- func (m *AlertEvent) GetUserId() uint32
- func (m *AlertEvent) GetXQueryRegion() string
- func (m *AlertEvent) GetXTargetUid() string
- func (m *AlertEvent) Marshal() (dAtA []byte, err error)
- func (m *AlertEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *AlertEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AlertEvent) ProtoMessage()
- func (m *AlertEvent) Reset()
- func (m *AlertEvent) Size() (n int)
- func (m *AlertEvent) String() string
- func (m *AlertEvent) Unmarshal(dAtA []byte) error
- func (m *AlertEvent) XXX_DiscardUnknown()
- func (m *AlertEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AlertEvent) XXX_Merge(src proto.Message)
- func (m *AlertEvent) XXX_Size() int
- func (m *AlertEvent) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AlertEvent ¶
type AlertEvent struct {
Time *uint32 `protobuf:"varint,1,opt,name=time" json:"time,omitempty"`
PolicyId *uint32 `protobuf:"varint,2,opt,name=policy_id,json=policyId" json:"policy_id,omitempty"`
PolicyType *uint32 `protobuf:"varint,3,opt,name=policy_type,json=policyType" json:"policy_type,omitempty"`
AlertPolicy *string `protobuf:"bytes,4,opt,name=alert_policy,json=alertPolicy" json:"alert_policy,omitempty"`
MetricValue *float64 `protobuf:"fixed64,5,opt,name=metric_value,json=metricValue" json:"metric_value,omitempty"`
EventLevel *uint32 `protobuf:"varint,6,opt,name=event_level,json=eventLevel" json:"event_level,omitempty"`
TargetTags *string `protobuf:"bytes,7,opt,name=target_tags,json=targetTags" json:"target_tags,omitempty"`
TagStrKeys []string `protobuf:"bytes,8,rep,name=tag_str_keys,json=tagStrKeys" json:"tag_str_keys,omitempty"`
TagStrValues []string `protobuf:"bytes,9,rep,name=tag_str_values,json=tagStrValues" json:"tag_str_values,omitempty"`
TagIntKeys []string `protobuf:"bytes,10,rep,name=tag_int_keys,json=tagIntKeys" json:"tag_int_keys,omitempty"`
TagIntValues []int64 `protobuf:"varint,11,rep,name=tag_int_values,json=tagIntValues" json:"tag_int_values,omitempty"`
OrgId *uint32 `protobuf:"varint,12,opt,name=org_id,json=orgId" json:"org_id,omitempty"`
UserId *uint32 `protobuf:"varint,13,opt,name=user_id,json=userId" json:"user_id,omitempty"`
TeamId *uint32 `protobuf:"varint,14,opt,name=team_id,json=teamId" json:"team_id,omitempty"`
TriggerThreshold *string `protobuf:"bytes,15,opt,name=trigger_threshold,json=triggerThreshold" json:"trigger_threshold,omitempty"`
MetricUnit *string `protobuf:"bytes,16,opt,name=metric_unit,json=metricUnit" json:"metric_unit,omitempty"`
MetricValueStr *string `protobuf:"bytes,17,opt,name=metric_value_str,json=metricValueStr" json:"metric_value_str,omitempty"`
CustomTagKeys []string `protobuf:"bytes,18,rep,name=custom_tag_keys,json=customTagKeys" json:"custom_tag_keys,omitempty"`
CustomTagValues []string `protobuf:"bytes,19,rep,name=custom_tag_values,json=customTagValues" json:"custom_tag_values,omitempty"`
XTargetUid *string `protobuf:"bytes,21,opt,name=_target_uid,json=TargetUid" json:"_target_uid,omitempty"`
XQueryRegion *string `protobuf:"bytes,22,opt,name=_query_region,json=QueryRegion" json:"_query_region,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AlertEvent) Descriptor ¶
func (*AlertEvent) Descriptor() ([]byte, []int)
func (*AlertEvent) GetAlertPolicy ¶
func (m *AlertEvent) GetAlertPolicy() string
func (*AlertEvent) GetCustomTagKeys ¶
func (m *AlertEvent) GetCustomTagKeys() []string
func (*AlertEvent) GetCustomTagValues ¶
func (m *AlertEvent) GetCustomTagValues() []string
func (*AlertEvent) GetEventLevel ¶
func (m *AlertEvent) GetEventLevel() uint32
func (*AlertEvent) GetMetricUnit ¶
func (m *AlertEvent) GetMetricUnit() string
func (*AlertEvent) GetMetricValue ¶
func (m *AlertEvent) GetMetricValue() float64
func (*AlertEvent) GetMetricValueStr ¶
func (m *AlertEvent) GetMetricValueStr() string
func (*AlertEvent) GetOrgId ¶
func (m *AlertEvent) GetOrgId() uint32
func (*AlertEvent) GetPolicyId ¶
func (m *AlertEvent) GetPolicyId() uint32
func (*AlertEvent) GetPolicyType ¶
func (m *AlertEvent) GetPolicyType() uint32
func (*AlertEvent) GetTagIntKeys ¶
func (m *AlertEvent) GetTagIntKeys() []string
func (*AlertEvent) GetTagIntValues ¶
func (m *AlertEvent) GetTagIntValues() []int64
func (*AlertEvent) GetTagStrKeys ¶
func (m *AlertEvent) GetTagStrKeys() []string
func (*AlertEvent) GetTagStrValues ¶
func (m *AlertEvent) GetTagStrValues() []string
func (*AlertEvent) GetTargetTags ¶
func (m *AlertEvent) GetTargetTags() string
func (*AlertEvent) GetTeamId ¶
func (m *AlertEvent) GetTeamId() uint32
func (*AlertEvent) GetTime ¶
func (m *AlertEvent) GetTime() uint32
func (*AlertEvent) GetTriggerThreshold ¶
func (m *AlertEvent) GetTriggerThreshold() string
func (*AlertEvent) GetUserId ¶
func (m *AlertEvent) GetUserId() uint32
func (*AlertEvent) GetXQueryRegion ¶
func (m *AlertEvent) GetXQueryRegion() string
func (*AlertEvent) GetXTargetUid ¶
func (m *AlertEvent) GetXTargetUid() string
func (*AlertEvent) Marshal ¶
func (m *AlertEvent) Marshal() (dAtA []byte, err error)
func (*AlertEvent) MarshalToSizedBuffer ¶
func (m *AlertEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AlertEvent) ProtoMessage ¶
func (*AlertEvent) ProtoMessage()
func (*AlertEvent) Reset ¶
func (m *AlertEvent) Reset()
func (*AlertEvent) Size ¶
func (m *AlertEvent) Size() (n int)
func (*AlertEvent) String ¶
func (m *AlertEvent) String() string
func (*AlertEvent) Unmarshal ¶
func (m *AlertEvent) Unmarshal(dAtA []byte) error
func (*AlertEvent) XXX_DiscardUnknown ¶
func (m *AlertEvent) XXX_DiscardUnknown()
func (*AlertEvent) XXX_Marshal ¶
func (m *AlertEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AlertEvent) XXX_Merge ¶
func (m *AlertEvent) XXX_Merge(src proto.Message)
func (*AlertEvent) XXX_Size ¶
func (m *AlertEvent) XXX_Size() int
func (*AlertEvent) XXX_Unmarshal ¶
func (m *AlertEvent) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.