Documentation ¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetClr() *v3.CLRMetricCollection
- func (m *Event) GetData() isEvent_Data
- func (x *Event) GetInstance() *v32.InstanceProperties
- func (x *Event) GetJvm() *v3.JVMMetricCollection
- func (x *Event) GetLog() *v31.LogData
- func (x *Event) GetMeta() map[string]string
- func (x *Event) GetMeter() *v3.MeterData
- func (x *Event) GetName() string
- func (x *Event) GetProfile() *v33.ThreadSnapshot
- func (x *Event) GetRemote() bool
- func (x *Event) GetSegment() *v3.SegmentObject
- func (x *Event) GetServiceMesh() *v34.ServiceMeshMetric
- func (x *Event) GetTimestamp() int64
- func (x *Event) GetType() EventType
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventType
- type Event_Clr
- type Event_Instance
- type Event_Jvm
- type Event_Log
- type Event_Meter
- type Event_Profile
- type Event_Segment
- type Event_ServiceMesh
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventType_name = map[int32]string{ 0: "CLRMetricType", 1: "JVMMetricType", 2: "MeterType", 3: "TracingType", 4: "Logging", 5: "ManagementType", 6: "ProfileType", 7: "ServiceMeshType", } EventType_value = map[string]int32{ "CLRMetricType": 0, "JVMMetricType": 1, "MeterType": 2, "TracingType": 3, "Logging": 4, "ManagementType": 5, "ProfileType": 6, "ServiceMeshType": 7, } )
Enum value maps for EventType.
View Source
var File_event_Event_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // The occur time. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // unique event name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The data type. Type EventType `protobuf:"varint,3,opt,name=type,proto3,enum=skywalking.v3.EventType" json:"type,omitempty"` // Whether to send to remote. It is used in sampling. Remote bool `protobuf:"varint,4,opt,name=remote,proto3" json:"remote,omitempty"` // Additional meta-information. Meta map[string]string `` /* 149-byte string literal not displayed */ // Transfer data. // // Types that are assignable to Data: // *Event_Clr // *Event_Jvm // *Event_Meter // *Event_Segment // *Event_Log // *Event_Instance // *Event_Profile // *Event_ServiceMesh Data isEvent_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
Event is the transfer unit in Satellite.
func (*Event) Descriptor
deprecated
func (*Event) GetClr ¶
func (x *Event) GetClr() *v3.CLRMetricCollection
func (*Event) GetInstance ¶
func (x *Event) GetInstance() *v32.InstanceProperties
func (*Event) GetJvm ¶
func (x *Event) GetJvm() *v3.JVMMetricCollection
func (*Event) GetProfile ¶
func (x *Event) GetProfile() *v33.ThreadSnapshot
func (*Event) GetSegment ¶
func (x *Event) GetSegment() *v3.SegmentObject
func (*Event) GetServiceMesh ¶
func (x *Event) GetServiceMesh() *v34.ServiceMeshMetric
func (*Event) GetTimestamp ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventType ¶
type EventType int32
EventType declares the supported transfer data type.
const ( EventType_CLRMetricType EventType = 0 EventType_JVMMetricType EventType = 1 EventType_MeterType EventType = 2 EventType_TracingType EventType = 3 EventType_Logging EventType = 4 EventType_ManagementType EventType = 5 EventType_ProfileType EventType = 6 EventType_ServiceMeshType EventType = 7 )
func (EventType) Descriptor ¶
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶
func (EventType) Type() protoreflect.EnumType
type Event_Clr ¶
type Event_Clr struct {
Clr *v3.CLRMetricCollection `protobuf:"bytes,6,opt,name=clr,proto3,oneof"`
}
type Event_Instance ¶
type Event_Instance struct {
Instance *v32.InstanceProperties `protobuf:"bytes,11,opt,name=instance,proto3,oneof"`
}
type Event_Jvm ¶
type Event_Jvm struct {
Jvm *v3.JVMMetricCollection `protobuf:"bytes,7,opt,name=jvm,proto3,oneof"`
}
type Event_Meter ¶
type Event_Profile ¶
type Event_Profile struct {
Profile *v33.ThreadSnapshot `protobuf:"bytes,12,opt,name=profile,proto3,oneof"`
}
type Event_Segment ¶
type Event_Segment struct {
Segment *v3.SegmentObject `protobuf:"bytes,9,opt,name=segment,proto3,oneof"`
}
type Event_ServiceMesh ¶
type Event_ServiceMesh struct {
ServiceMesh *v34.ServiceMeshMetric `protobuf:"bytes,13,opt,name=serviceMesh,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.