Documentation ¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAttributes() map[string]string
- func (x *Event) GetEventID() string
- func (x *Event) GetKind() Event_EventKind
- func (x *Event) GetMessage() string
- func (x *Event) GetName() string
- func (x *Event) GetRelations() *pb.Relation
- func (x *Event) GetSeverity() string
- func (x *Event) GetTimeUnixNano() uint64
- func (m *Event) MarshalJSON() ([]byte, error)
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- func (m *Event) UnmarshalJSON(b []byte) error
- func (m *Event) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Event) Validate() error
- type Event_EventKind
- func (Event_EventKind) Descriptor() protoreflect.EnumDescriptor
- func (x Event_EventKind) Enum() *Event_EventKind
- func (Event_EventKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Event_EventKind) Number() protoreflect.EnumNumber
- func (x Event_EventKind) String() string
- func (Event_EventKind) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Event_EventKind_name = map[int32]string{ 0: "EVENT_KIND_SYSTEM", 1: "EVENT_KIND_KUBERNETES", 2: "EVENT_KIND_CONTAINER", 3: "EVENT_KIND_ERDA_PLATFORM", 4: "EVENT_KIND_EXCEPTION", 5: "EVENT_KIND_SPAN", 6: "EVENT_KIND_ALERT", 7: "EVENT_KIND_CUSTOM", } Event_EventKind_value = map[string]int32{ "EVENT_KIND_SYSTEM": 0, "EVENT_KIND_KUBERNETES": 1, "EVENT_KIND_CONTAINER": 2, "EVENT_KIND_ERDA_PLATFORM": 3, "EVENT_KIND_EXCEPTION": 4, "EVENT_KIND_SPAN": 5, "EVENT_KIND_ALERT": 6, "EVENT_KIND_CUSTOM": 7, } )
Enum value maps for Event_EventKind.
View Source
var File_event_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { EventID string `protobuf:"bytes,1,opt,name=eventID,proto3" json:"eventID,omitempty"` Severity string `protobuf:"bytes,2,opt,name=severity,proto3" json:"severity,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Kind Event_EventKind `protobuf:"varint,4,opt,name=kind,proto3,enum=erda.oap.event.Event_EventKind" json:"kind,omitempty"` TimeUnixNano uint64 `protobuf:"fixed64,5,opt,name=timeUnixNano,proto3" json:"timeUnixNano,omitempty"` // Store trace and resource pointer Relations *pb.Relation `protobuf:"bytes,6,opt,name=relations,proto3" json:"relations,omitempty"` // Including label, attributes and resource Attributes map[string]string `` /* 161-byte string literal not displayed */ Message string `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
The event data model
of the observability analysis platform.
func (*Event) Descriptor
deprecated
func (*Event) GetAttributes ¶
func (*Event) GetEventID ¶
func (*Event) GetKind ¶
func (x *Event) GetKind() Event_EventKind
func (*Event) GetMessage ¶
func (*Event) GetRelations ¶
func (*Event) GetSeverity ¶
func (*Event) GetTimeUnixNano ¶
func (*Event) MarshalJSON ¶
Event implement json.Marshaler.
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) UnmarshalJSON ¶
Event implement json.Marshaler.
func (*Event) UnmarshalURLValues ¶
Event implement urlenc.URLValuesUnmarshaler.
type Event_EventKind ¶
type Event_EventKind int32
const ( Event_EVENT_KIND_SYSTEM Event_EventKind = 0 Event_EVENT_KIND_KUBERNETES Event_EventKind = 1 Event_EVENT_KIND_CONTAINER Event_EventKind = 2 Event_EVENT_KIND_ERDA_PLATFORM Event_EventKind = 3 Event_EVENT_KIND_EXCEPTION Event_EventKind = 4 Event_EVENT_KIND_SPAN Event_EventKind = 5 Event_EVENT_KIND_ALERT Event_EventKind = 6 Event_EVENT_KIND_CUSTOM Event_EventKind = 7 )
func (Event_EventKind) Descriptor ¶
func (Event_EventKind) Descriptor() protoreflect.EnumDescriptor
func (Event_EventKind) Enum ¶
func (x Event_EventKind) Enum() *Event_EventKind
func (Event_EventKind) EnumDescriptor
deprecated
func (Event_EventKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_EventKind.Descriptor instead.
func (Event_EventKind) Number ¶
func (x Event_EventKind) Number() protoreflect.EnumNumber
func (Event_EventKind) String ¶
func (x Event_EventKind) String() string
func (Event_EventKind) Type ¶
func (Event_EventKind) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.