Documentation ¶
Index ¶
- Variables
- type DBQuery
- func (*DBQuery) Descriptor() ([]byte, []int)deprecated
- func (x *DBQuery) GetCallLoc() int32
- func (x *DBQuery) GetEndTime() uint64
- func (x *DBQuery) GetErr() []byte
- func (x *DBQuery) GetGoid() uint32
- func (x *DBQuery) GetQuery() []byte
- func (x *DBQuery) GetStack() *StackTrace
- func (x *DBQuery) GetStartTime() uint64
- func (*DBQuery) ProtoMessage()
- func (x *DBQuery) ProtoReflect() protoreflect.Message
- func (x *DBQuery) Reset()
- func (x *DBQuery) String() string
- type DBTransaction
- func (*DBTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *DBTransaction) GetBeginStack() *StackTrace
- func (x *DBTransaction) GetCompletion() DBTransaction_CompletionType
- func (x *DBTransaction) GetEndLoc() int32
- func (x *DBTransaction) GetEndStack() *StackTrace
- func (x *DBTransaction) GetEndTime() uint64
- func (x *DBTransaction) GetErr() []byte
- func (x *DBTransaction) GetGoid() uint32
- func (x *DBTransaction) GetQueries() []*DBQuery
- func (x *DBTransaction) GetStartLoc() int32
- func (x *DBTransaction) GetStartTime() uint64
- func (*DBTransaction) ProtoMessage()
- func (x *DBTransaction) ProtoReflect() protoreflect.Message
- func (x *DBTransaction) Reset()
- func (x *DBTransaction) String() string
- type DBTransaction_CompletionType
- func (DBTransaction_CompletionType) Descriptor() protoreflect.EnumDescriptor
- func (x DBTransaction_CompletionType) Enum() *DBTransaction_CompletionType
- func (DBTransaction_CompletionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DBTransaction_CompletionType) Number() protoreflect.EnumNumber
- func (x DBTransaction_CompletionType) String() string
- func (DBTransaction_CompletionType) Type() protoreflect.EnumType
- type DNSAddr
- type ErrWithStack
- func (*ErrWithStack) Descriptor() ([]byte, []int)deprecated
- func (x *ErrWithStack) GetError() string
- func (x *ErrWithStack) GetStack() *StackTrace
- func (*ErrWithStack) ProtoMessage()
- func (x *ErrWithStack) ProtoReflect() protoreflect.Message
- func (x *ErrWithStack) Reset()
- func (x *ErrWithStack) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (m *Event) GetData() isEvent_Data
- func (x *Event) GetGoroutine() *Goroutine
- func (x *Event) GetHttp() *HTTPCall
- func (x *Event) GetLog() *LogMessage
- func (x *Event) GetQuery() *DBQuery
- func (x *Event) GetRpc() *RPCCall
- func (x *Event) GetTx() *DBTransaction
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_Goroutine
- type Event_Http
- type Event_Log
- type Event_Query
- type Event_Rpc
- type Event_Tx
- type Goroutine
- func (*Goroutine) Descriptor() ([]byte, []int)deprecated
- func (x *Goroutine) GetCallLoc() int32
- func (x *Goroutine) GetEndTime() uint64
- func (x *Goroutine) GetGoid() uint32
- func (x *Goroutine) GetStartTime() uint64
- func (*Goroutine) ProtoMessage()
- func (x *Goroutine) ProtoReflect() protoreflect.Message
- func (x *Goroutine) Reset()
- func (x *Goroutine) String() string
- type HTTPCall
- func (*HTTPCall) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPCall) GetBodyClosedTime() uint64
- func (x *HTTPCall) GetEndTime() uint64
- func (x *HTTPCall) GetErr() []byte
- func (x *HTTPCall) GetEvents() []*HTTPTraceEvent
- func (x *HTTPCall) GetGoid() uint32
- func (x *HTTPCall) GetMethod() string
- func (x *HTTPCall) GetSpanId() uint64
- func (x *HTTPCall) GetStartTime() uint64
- func (x *HTTPCall) GetStatusCode() uint32
- func (x *HTTPCall) GetUrl() string
- func (*HTTPCall) ProtoMessage()
- func (x *HTTPCall) ProtoReflect() protoreflect.Message
- func (x *HTTPCall) Reset()
- func (x *HTTPCall) String() string
- type HTTPConnectDoneData
- func (*HTTPConnectDoneData) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPConnectDoneData) GetAddr() string
- func (x *HTTPConnectDoneData) GetErr() []byte
- func (x *HTTPConnectDoneData) GetNetwork() string
- func (*HTTPConnectDoneData) ProtoMessage()
- func (x *HTTPConnectDoneData) ProtoReflect() protoreflect.Message
- func (x *HTTPConnectDoneData) Reset()
- func (x *HTTPConnectDoneData) String() string
- type HTTPConnectStartData
- func (*HTTPConnectStartData) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPConnectStartData) GetAddr() string
- func (x *HTTPConnectStartData) GetNetwork() string
- func (*HTTPConnectStartData) ProtoMessage()
- func (x *HTTPConnectStartData) ProtoReflect() protoreflect.Message
- func (x *HTTPConnectStartData) Reset()
- func (x *HTTPConnectStartData) String() string
- type HTTPDNSDoneData
- func (*HTTPDNSDoneData) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPDNSDoneData) GetAddrs() []*DNSAddr
- func (x *HTTPDNSDoneData) GetErr() []byte
- func (*HTTPDNSDoneData) ProtoMessage()
- func (x *HTTPDNSDoneData) ProtoReflect() protoreflect.Message
- func (x *HTTPDNSDoneData) Reset()
- func (x *HTTPDNSDoneData) String() string
- type HTTPDNSStartData
- type HTTPGetConnData
- type HTTPGot1XxResponseData
- func (*HTTPGot1XxResponseData) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPGot1XxResponseData) GetCode() int32
- func (*HTTPGot1XxResponseData) ProtoMessage()
- func (x *HTTPGot1XxResponseData) ProtoReflect() protoreflect.Message
- func (x *HTTPGot1XxResponseData) Reset()
- func (x *HTTPGot1XxResponseData) String() string
- type HTTPGotConnData
- func (*HTTPGotConnData) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPGotConnData) GetIdleDurationNs() int64
- func (x *HTTPGotConnData) GetReused() bool
- func (x *HTTPGotConnData) GetWasIdle() bool
- func (*HTTPGotConnData) ProtoMessage()
- func (x *HTTPGotConnData) ProtoReflect() protoreflect.Message
- func (x *HTTPGotConnData) Reset()
- func (x *HTTPGotConnData) String() string
- type HTTPTLSHandshakeDoneData
- func (*HTTPTLSHandshakeDoneData) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPTLSHandshakeDoneData) GetCipherSuite() uint32
- func (x *HTTPTLSHandshakeDoneData) GetErr() []byte
- func (x *HTTPTLSHandshakeDoneData) GetNegotiatedProtocol() string
- func (x *HTTPTLSHandshakeDoneData) GetServerName() string
- func (x *HTTPTLSHandshakeDoneData) GetTlsVersion() uint32
- func (*HTTPTLSHandshakeDoneData) ProtoMessage()
- func (x *HTTPTLSHandshakeDoneData) ProtoReflect() protoreflect.Message
- func (x *HTTPTLSHandshakeDoneData) Reset()
- func (x *HTTPTLSHandshakeDoneData) String() string
- type HTTPTraceEvent
- func (*HTTPTraceEvent) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPTraceEvent) GetCode() HTTPTraceEventCode
- func (x *HTTPTraceEvent) GetConnectDone() *HTTPConnectDoneData
- func (x *HTTPTraceEvent) GetConnectStart() *HTTPConnectStartData
- func (m *HTTPTraceEvent) GetData() isHTTPTraceEvent_Data
- func (x *HTTPTraceEvent) GetDnsDone() *HTTPDNSDoneData
- func (x *HTTPTraceEvent) GetDnsStart() *HTTPDNSStartData
- func (x *HTTPTraceEvent) GetGetConn() *HTTPGetConnData
- func (x *HTTPTraceEvent) GetGotConn() *HTTPGotConnData
- func (x *HTTPTraceEvent) GetGot_1XxResponse() *HTTPGot1XxResponseData
- func (x *HTTPTraceEvent) GetTime() uint64
- func (x *HTTPTraceEvent) GetTlsHandshakeDone() *HTTPTLSHandshakeDoneData
- func (x *HTTPTraceEvent) GetWroteRequest() *HTTPWroteRequestData
- func (*HTTPTraceEvent) ProtoMessage()
- func (x *HTTPTraceEvent) ProtoReflect() protoreflect.Message
- func (x *HTTPTraceEvent) Reset()
- func (x *HTTPTraceEvent) String() string
- type HTTPTraceEventCode
- func (HTTPTraceEventCode) Descriptor() protoreflect.EnumDescriptor
- func (x HTTPTraceEventCode) Enum() *HTTPTraceEventCode
- func (HTTPTraceEventCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x HTTPTraceEventCode) Number() protoreflect.EnumNumber
- func (x HTTPTraceEventCode) String() string
- func (HTTPTraceEventCode) Type() protoreflect.EnumType
- type HTTPTraceEvent_ConnectDone
- type HTTPTraceEvent_ConnectStart
- type HTTPTraceEvent_DnsDone
- type HTTPTraceEvent_DnsStart
- type HTTPTraceEvent_GetConn
- type HTTPTraceEvent_GotConn
- type HTTPTraceEvent_Got_1XxResponse
- type HTTPTraceEvent_TlsHandshakeDone
- type HTTPTraceEvent_WroteRequest
- type HTTPWroteRequestData
- func (*HTTPWroteRequestData) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPWroteRequestData) GetErr() []byte
- func (*HTTPWroteRequestData) ProtoMessage()
- func (x *HTTPWroteRequestData) ProtoReflect() protoreflect.Message
- func (x *HTTPWroteRequestData) Reset()
- func (x *HTTPWroteRequestData) String() string
- type LogField
- func (*LogField) Descriptor() ([]byte, []int)deprecated
- func (x *LogField) GetBool() bool
- func (x *LogField) GetDur() int64
- func (x *LogField) GetError() *ErrWithStack
- func (x *LogField) GetFloat32() float32
- func (x *LogField) GetFloat64() float64
- func (x *LogField) GetInt() int64
- func (x *LogField) GetJson() []byte
- func (x *LogField) GetKey() string
- func (x *LogField) GetStr() string
- func (x *LogField) GetTime() *timestamppb.Timestamp
- func (x *LogField) GetUint() uint64
- func (x *LogField) GetUuid() []byte
- func (m *LogField) GetValue() isLogField_Value
- func (*LogField) ProtoMessage()
- func (x *LogField) ProtoReflect() protoreflect.Message
- func (x *LogField) Reset()
- func (x *LogField) String() string
- type LogField_Bool
- type LogField_Dur
- type LogField_Error
- type LogField_Float32
- type LogField_Float64
- type LogField_Int
- type LogField_Json
- type LogField_Str
- type LogField_Time
- type LogField_Uint
- type LogField_Uuid
- type LogMessage
- func (*LogMessage) Descriptor() ([]byte, []int)deprecated
- func (x *LogMessage) GetFields() []*LogField
- func (x *LogMessage) GetGoid() uint32
- func (x *LogMessage) GetLevel() LogMessage_Level
- func (x *LogMessage) GetMsg() string
- func (x *LogMessage) GetSpanId() uint64
- func (x *LogMessage) GetStack() *StackTrace
- func (x *LogMessage) GetTime() uint64
- func (*LogMessage) ProtoMessage()
- func (x *LogMessage) ProtoReflect() protoreflect.Message
- func (x *LogMessage) Reset()
- func (x *LogMessage) String() string
- type LogMessage_Level
- func (LogMessage_Level) Descriptor() protoreflect.EnumDescriptor
- func (x LogMessage_Level) Enum() *LogMessage_Level
- func (LogMessage_Level) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogMessage_Level) Number() protoreflect.EnumNumber
- func (x LogMessage_Level) String() string
- func (LogMessage_Level) Type() protoreflect.EnumType
- type RPCCall
- func (*RPCCall) Descriptor() ([]byte, []int)deprecated
- func (x *RPCCall) GetCallLoc() int32
- func (x *RPCCall) GetDefLoc() int32
- func (x *RPCCall) GetEndTime() uint64
- func (x *RPCCall) GetErr() []byte
- func (x *RPCCall) GetGoid() uint32
- func (x *RPCCall) GetSpanId() uint64
- func (x *RPCCall) GetStack() *StackTrace
- func (x *RPCCall) GetStartTime() uint64
- func (*RPCCall) ProtoMessage()
- func (x *RPCCall) ProtoReflect() protoreflect.Message
- func (x *RPCCall) Reset()
- func (x *RPCCall) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetCallLoc() int32
- func (x *Request) GetDefLoc() int32
- func (x *Request) GetEndTime() uint64
- func (x *Request) GetErr() []byte
- func (x *Request) GetErrStack() *StackTrace
- func (x *Request) GetEvents() []*Event
- func (x *Request) GetGoid() uint32
- func (x *Request) GetInputs() [][]byte
- func (x *Request) GetOutputs() [][]byte
- func (x *Request) GetParentSpanId() uint64
- func (x *Request) GetSpanId() uint64
- func (x *Request) GetStartTime() uint64
- func (x *Request) GetTraceId() *TraceID
- func (x *Request) GetType() Request_Type
- func (x *Request) GetUid() string
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Request_Type
- func (Request_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Request_Type) Enum() *Request_Type
- func (Request_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Request_Type) Number() protoreflect.EnumNumber
- func (x Request_Type) String() string
- func (Request_Type) Type() protoreflect.EnumType
- type StackFrame
- func (*StackFrame) Descriptor() ([]byte, []int)deprecated
- func (x *StackFrame) GetFilename() string
- func (x *StackFrame) GetFunc() string
- func (x *StackFrame) GetLine() int32
- func (*StackFrame) ProtoMessage()
- func (x *StackFrame) ProtoReflect() protoreflect.Message
- func (x *StackFrame) Reset()
- func (x *StackFrame) String() string
- type StackTrace
- type TraceID
Constants ¶
This section is empty.
Variables ¶
var ( HTTPTraceEventCode_name = map[int32]string{ 0: "UNKNOWN", 1: "GET_CONN", 2: "GOT_CONN", 3: "GOT_FIRST_RESPONSE_BYTE", 4: "GOT_1XX_RESPONSE", 5: "DNS_START", 6: "DNS_DONE", 7: "CONNECT_START", 8: "CONNECT_DONE", 9: "TLS_HANDSHAKE_START", 10: "TLS_HANDSHAKE_DONE", 11: "WROTE_HEADERS", 12: "WROTE_REQUEST", 13: "WAIT_100_CONTINUE", } HTTPTraceEventCode_value = map[string]int32{ "UNKNOWN": 0, "GET_CONN": 1, "GOT_CONN": 2, "GOT_FIRST_RESPONSE_BYTE": 3, "GOT_1XX_RESPONSE": 4, "DNS_START": 5, "DNS_DONE": 6, "CONNECT_START": 7, "CONNECT_DONE": 8, "TLS_HANDSHAKE_START": 9, "TLS_HANDSHAKE_DONE": 10, "WROTE_HEADERS": 11, "WROTE_REQUEST": 12, "WAIT_100_CONTINUE": 13, } )
Enum value maps for HTTPTraceEventCode.
var ( Request_Type_name = map[int32]string{ 0: "RPC", 1: "AUTH", } Request_Type_value = map[string]int32{ "RPC": 0, "AUTH": 1, } )
Enum value maps for Request_Type.
var ( DBTransaction_CompletionType_name = map[int32]string{ 0: "ROLLBACK", 1: "COMMIT", } DBTransaction_CompletionType_value = map[string]int32{ "ROLLBACK": 0, "COMMIT": 1, } )
Enum value maps for DBTransaction_CompletionType.
var ( LogMessage_Level_name = map[int32]string{ 0: "DEBUG", 1: "INFO", 2: "ERROR", } LogMessage_Level_value = map[string]int32{ "DEBUG": 0, "INFO": 1, "ERROR": 2, } )
Enum value maps for LogMessage_Level.
var File_encore_engine_trace_trace_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DBQuery ¶
type DBQuery struct { Goid uint32 `protobuf:"varint,1,opt,name=goid,proto3" json:"goid,omitempty"` CallLoc int32 `protobuf:"varint,2,opt,name=call_loc,json=callLoc,proto3" json:"call_loc,omitempty"` StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Query []byte `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"` Err []byte `protobuf:"bytes,6,opt,name=err,proto3" json:"err,omitempty"` Stack *StackTrace `protobuf:"bytes,7,opt,name=stack,proto3" json:"stack,omitempty"` // contains filtered or unexported fields }
func (*DBQuery) Descriptor
deprecated
func (*DBQuery) GetCallLoc ¶
func (*DBQuery) GetEndTime ¶
func (*DBQuery) GetStack ¶ added in v0.16.2
func (x *DBQuery) GetStack() *StackTrace
func (*DBQuery) GetStartTime ¶
func (*DBQuery) ProtoMessage ¶
func (*DBQuery) ProtoMessage()
func (*DBQuery) ProtoReflect ¶
func (x *DBQuery) ProtoReflect() protoreflect.Message
type DBTransaction ¶
type DBTransaction struct { Goid uint32 `protobuf:"varint,1,opt,name=goid,proto3" json:"goid,omitempty"` StartLoc int32 `protobuf:"varint,2,opt,name=start_loc,json=startLoc,proto3" json:"start_loc,omitempty"` EndLoc int32 `protobuf:"varint,3,opt,name=end_loc,json=endLoc,proto3" json:"end_loc,omitempty"` StartTime uint64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime uint64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Err []byte `protobuf:"bytes,6,opt,name=err,proto3" json:"err,omitempty"` Completion DBTransaction_CompletionType `` /* 128-byte string literal not displayed */ Queries []*DBQuery `protobuf:"bytes,8,rep,name=queries,proto3" json:"queries,omitempty"` BeginStack *StackTrace `protobuf:"bytes,9,opt,name=begin_stack,json=beginStack,proto3" json:"begin_stack,omitempty"` EndStack *StackTrace `protobuf:"bytes,10,opt,name=end_stack,json=endStack,proto3" json:"end_stack,omitempty"` // contains filtered or unexported fields }
func (*DBTransaction) Descriptor
deprecated
func (*DBTransaction) Descriptor() ([]byte, []int)
Deprecated: Use DBTransaction.ProtoReflect.Descriptor instead.
func (*DBTransaction) GetBeginStack ¶ added in v0.16.2
func (x *DBTransaction) GetBeginStack() *StackTrace
func (*DBTransaction) GetCompletion ¶
func (x *DBTransaction) GetCompletion() DBTransaction_CompletionType
func (*DBTransaction) GetEndLoc ¶
func (x *DBTransaction) GetEndLoc() int32
func (*DBTransaction) GetEndStack ¶ added in v0.16.2
func (x *DBTransaction) GetEndStack() *StackTrace
func (*DBTransaction) GetEndTime ¶
func (x *DBTransaction) GetEndTime() uint64
func (*DBTransaction) GetErr ¶
func (x *DBTransaction) GetErr() []byte
func (*DBTransaction) GetGoid ¶
func (x *DBTransaction) GetGoid() uint32
func (*DBTransaction) GetQueries ¶
func (x *DBTransaction) GetQueries() []*DBQuery
func (*DBTransaction) GetStartLoc ¶
func (x *DBTransaction) GetStartLoc() int32
func (*DBTransaction) GetStartTime ¶
func (x *DBTransaction) GetStartTime() uint64
func (*DBTransaction) ProtoMessage ¶
func (*DBTransaction) ProtoMessage()
func (*DBTransaction) ProtoReflect ¶
func (x *DBTransaction) ProtoReflect() protoreflect.Message
func (*DBTransaction) Reset ¶
func (x *DBTransaction) Reset()
func (*DBTransaction) String ¶
func (x *DBTransaction) String() string
type DBTransaction_CompletionType ¶
type DBTransaction_CompletionType int32
const ( DBTransaction_ROLLBACK DBTransaction_CompletionType = 0 DBTransaction_COMMIT DBTransaction_CompletionType = 1 )
func (DBTransaction_CompletionType) Descriptor ¶
func (DBTransaction_CompletionType) Descriptor() protoreflect.EnumDescriptor
func (DBTransaction_CompletionType) Enum ¶
func (x DBTransaction_CompletionType) Enum() *DBTransaction_CompletionType
func (DBTransaction_CompletionType) EnumDescriptor
deprecated
func (DBTransaction_CompletionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DBTransaction_CompletionType.Descriptor instead.
func (DBTransaction_CompletionType) Number ¶
func (x DBTransaction_CompletionType) Number() protoreflect.EnumNumber
func (DBTransaction_CompletionType) String ¶
func (x DBTransaction_CompletionType) String() string
func (DBTransaction_CompletionType) Type ¶
func (DBTransaction_CompletionType) Type() protoreflect.EnumType
type DNSAddr ¶
type DNSAddr struct { Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
func (*DNSAddr) Descriptor
deprecated
func (*DNSAddr) ProtoMessage ¶
func (*DNSAddr) ProtoMessage()
func (*DNSAddr) ProtoReflect ¶
func (x *DNSAddr) ProtoReflect() protoreflect.Message
type ErrWithStack ¶ added in v0.16.2
type ErrWithStack struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Stack *StackTrace `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"` // contains filtered or unexported fields }
func (*ErrWithStack) Descriptor
deprecated
added in
v0.16.2
func (*ErrWithStack) Descriptor() ([]byte, []int)
Deprecated: Use ErrWithStack.ProtoReflect.Descriptor instead.
func (*ErrWithStack) GetError ¶ added in v0.16.2
func (x *ErrWithStack) GetError() string
func (*ErrWithStack) GetStack ¶ added in v0.16.2
func (x *ErrWithStack) GetStack() *StackTrace
func (*ErrWithStack) ProtoMessage ¶ added in v0.16.2
func (*ErrWithStack) ProtoMessage()
func (*ErrWithStack) ProtoReflect ¶ added in v0.16.2
func (x *ErrWithStack) ProtoReflect() protoreflect.Message
func (*ErrWithStack) Reset ¶ added in v0.16.2
func (x *ErrWithStack) Reset()
func (*ErrWithStack) String ¶ added in v0.16.2
func (x *ErrWithStack) String() string
type Event ¶
type Event struct { // Types that are assignable to Data: // *Event_Rpc // *Event_Tx // *Event_Query // *Event_Goroutine // *Event_Http // *Event_Log Data isEvent_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetGoroutine ¶
func (*Event) GetLog ¶ added in v0.12.0
func (x *Event) GetLog() *LogMessage
func (*Event) GetTx ¶
func (x *Event) GetTx() *DBTransaction
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Event_Goroutine ¶
type Event_Goroutine struct {
Goroutine *Goroutine `protobuf:"bytes,4,opt,name=goroutine,proto3,oneof"`
}
type Event_Http ¶
type Event_Http struct {
Http *HTTPCall `protobuf:"bytes,5,opt,name=http,proto3,oneof"`
}
type Event_Log ¶ added in v0.12.0
type Event_Log struct {
Log *LogMessage `protobuf:"bytes,6,opt,name=log,proto3,oneof"`
}
type Event_Query ¶
type Event_Query struct {
Query *DBQuery `protobuf:"bytes,3,opt,name=query,proto3,oneof"`
}
type Event_Rpc ¶
type Event_Rpc struct {
Rpc *RPCCall `protobuf:"bytes,1,opt,name=rpc,proto3,oneof"`
}
type Event_Tx ¶
type Event_Tx struct {
Tx *DBTransaction `protobuf:"bytes,2,opt,name=tx,proto3,oneof"`
}
type Goroutine ¶
type Goroutine struct { Goid uint32 `protobuf:"varint,1,opt,name=goid,proto3" json:"goid,omitempty"` CallLoc int32 `protobuf:"varint,2,opt,name=call_loc,json=callLoc,proto3" json:"call_loc,omitempty"` // not yet set StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*Goroutine) Descriptor
deprecated
func (*Goroutine) GetCallLoc ¶
func (*Goroutine) GetEndTime ¶
func (*Goroutine) GetStartTime ¶
func (*Goroutine) ProtoMessage ¶
func (*Goroutine) ProtoMessage()
func (*Goroutine) ProtoReflect ¶
func (x *Goroutine) ProtoReflect() protoreflect.Message
type HTTPCall ¶
type HTTPCall struct { SpanId uint64 `protobuf:"varint,1,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` Goid uint32 `protobuf:"varint,2,opt,name=goid,proto3" json:"goid,omitempty"` StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Method string `protobuf:"bytes,5,opt,name=method,proto3" json:"method,omitempty"` Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` StatusCode uint32 `protobuf:"varint,7,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Err []byte `protobuf:"bytes,8,opt,name=err,proto3" json:"err,omitempty"` BodyClosedTime uint64 `protobuf:"varint,9,opt,name=body_closed_time,json=bodyClosedTime,proto3" json:"body_closed_time,omitempty"` Events []*HTTPTraceEvent `protobuf:"bytes,10,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*HTTPCall) Descriptor
deprecated
func (*HTTPCall) GetBodyClosedTime ¶
func (*HTTPCall) GetEndTime ¶
func (*HTTPCall) GetEvents ¶
func (x *HTTPCall) GetEvents() []*HTTPTraceEvent
func (*HTTPCall) GetStartTime ¶
func (*HTTPCall) GetStatusCode ¶
func (*HTTPCall) ProtoMessage ¶
func (*HTTPCall) ProtoMessage()
func (*HTTPCall) ProtoReflect ¶
func (x *HTTPCall) ProtoReflect() protoreflect.Message
type HTTPConnectDoneData ¶
type HTTPConnectDoneData struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Err []byte `protobuf:"bytes,3,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*HTTPConnectDoneData) Descriptor
deprecated
func (*HTTPConnectDoneData) Descriptor() ([]byte, []int)
Deprecated: Use HTTPConnectDoneData.ProtoReflect.Descriptor instead.
func (*HTTPConnectDoneData) GetAddr ¶
func (x *HTTPConnectDoneData) GetAddr() string
func (*HTTPConnectDoneData) GetErr ¶
func (x *HTTPConnectDoneData) GetErr() []byte
func (*HTTPConnectDoneData) GetNetwork ¶
func (x *HTTPConnectDoneData) GetNetwork() string
func (*HTTPConnectDoneData) ProtoMessage ¶
func (*HTTPConnectDoneData) ProtoMessage()
func (*HTTPConnectDoneData) ProtoReflect ¶
func (x *HTTPConnectDoneData) ProtoReflect() protoreflect.Message
func (*HTTPConnectDoneData) Reset ¶
func (x *HTTPConnectDoneData) Reset()
func (*HTTPConnectDoneData) String ¶
func (x *HTTPConnectDoneData) String() string
type HTTPConnectStartData ¶
type HTTPConnectStartData struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // contains filtered or unexported fields }
func (*HTTPConnectStartData) Descriptor
deprecated
func (*HTTPConnectStartData) Descriptor() ([]byte, []int)
Deprecated: Use HTTPConnectStartData.ProtoReflect.Descriptor instead.
func (*HTTPConnectStartData) GetAddr ¶
func (x *HTTPConnectStartData) GetAddr() string
func (*HTTPConnectStartData) GetNetwork ¶
func (x *HTTPConnectStartData) GetNetwork() string
func (*HTTPConnectStartData) ProtoMessage ¶
func (*HTTPConnectStartData) ProtoMessage()
func (*HTTPConnectStartData) ProtoReflect ¶
func (x *HTTPConnectStartData) ProtoReflect() protoreflect.Message
func (*HTTPConnectStartData) Reset ¶
func (x *HTTPConnectStartData) Reset()
func (*HTTPConnectStartData) String ¶
func (x *HTTPConnectStartData) String() string
type HTTPDNSDoneData ¶
type HTTPDNSDoneData struct { Err []byte `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` Addrs []*DNSAddr `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"` // contains filtered or unexported fields }
func (*HTTPDNSDoneData) Descriptor
deprecated
func (*HTTPDNSDoneData) Descriptor() ([]byte, []int)
Deprecated: Use HTTPDNSDoneData.ProtoReflect.Descriptor instead.
func (*HTTPDNSDoneData) GetAddrs ¶
func (x *HTTPDNSDoneData) GetAddrs() []*DNSAddr
func (*HTTPDNSDoneData) GetErr ¶
func (x *HTTPDNSDoneData) GetErr() []byte
func (*HTTPDNSDoneData) ProtoMessage ¶
func (*HTTPDNSDoneData) ProtoMessage()
func (*HTTPDNSDoneData) ProtoReflect ¶
func (x *HTTPDNSDoneData) ProtoReflect() protoreflect.Message
func (*HTTPDNSDoneData) Reset ¶
func (x *HTTPDNSDoneData) Reset()
func (*HTTPDNSDoneData) String ¶
func (x *HTTPDNSDoneData) String() string
type HTTPDNSStartData ¶
type HTTPDNSStartData struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
func (*HTTPDNSStartData) Descriptor
deprecated
func (*HTTPDNSStartData) Descriptor() ([]byte, []int)
Deprecated: Use HTTPDNSStartData.ProtoReflect.Descriptor instead.
func (*HTTPDNSStartData) GetHost ¶
func (x *HTTPDNSStartData) GetHost() string
func (*HTTPDNSStartData) ProtoMessage ¶
func (*HTTPDNSStartData) ProtoMessage()
func (*HTTPDNSStartData) ProtoReflect ¶
func (x *HTTPDNSStartData) ProtoReflect() protoreflect.Message
func (*HTTPDNSStartData) Reset ¶
func (x *HTTPDNSStartData) Reset()
func (*HTTPDNSStartData) String ¶
func (x *HTTPDNSStartData) String() string
type HTTPGetConnData ¶
type HTTPGetConnData struct { HostPort string `protobuf:"bytes,1,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"` // contains filtered or unexported fields }
func (*HTTPGetConnData) Descriptor
deprecated
func (*HTTPGetConnData) Descriptor() ([]byte, []int)
Deprecated: Use HTTPGetConnData.ProtoReflect.Descriptor instead.
func (*HTTPGetConnData) GetHostPort ¶
func (x *HTTPGetConnData) GetHostPort() string
func (*HTTPGetConnData) ProtoMessage ¶
func (*HTTPGetConnData) ProtoMessage()
func (*HTTPGetConnData) ProtoReflect ¶
func (x *HTTPGetConnData) ProtoReflect() protoreflect.Message
func (*HTTPGetConnData) Reset ¶
func (x *HTTPGetConnData) Reset()
func (*HTTPGetConnData) String ¶
func (x *HTTPGetConnData) String() string
type HTTPGot1XxResponseData ¶
type HTTPGot1XxResponseData struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*HTTPGot1XxResponseData) Descriptor
deprecated
func (*HTTPGot1XxResponseData) Descriptor() ([]byte, []int)
Deprecated: Use HTTPGot1XxResponseData.ProtoReflect.Descriptor instead.
func (*HTTPGot1XxResponseData) GetCode ¶
func (x *HTTPGot1XxResponseData) GetCode() int32
func (*HTTPGot1XxResponseData) ProtoMessage ¶
func (*HTTPGot1XxResponseData) ProtoMessage()
func (*HTTPGot1XxResponseData) ProtoReflect ¶
func (x *HTTPGot1XxResponseData) ProtoReflect() protoreflect.Message
func (*HTTPGot1XxResponseData) Reset ¶
func (x *HTTPGot1XxResponseData) Reset()
func (*HTTPGot1XxResponseData) String ¶
func (x *HTTPGot1XxResponseData) String() string
type HTTPGotConnData ¶
type HTTPGotConnData struct { Reused bool `protobuf:"varint,1,opt,name=reused,proto3" json:"reused,omitempty"` WasIdle bool `protobuf:"varint,2,opt,name=was_idle,json=wasIdle,proto3" json:"was_idle,omitempty"` IdleDurationNs int64 `protobuf:"varint,3,opt,name=idle_duration_ns,json=idleDurationNs,proto3" json:"idle_duration_ns,omitempty"` // contains filtered or unexported fields }
func (*HTTPGotConnData) Descriptor
deprecated
func (*HTTPGotConnData) Descriptor() ([]byte, []int)
Deprecated: Use HTTPGotConnData.ProtoReflect.Descriptor instead.
func (*HTTPGotConnData) GetIdleDurationNs ¶
func (x *HTTPGotConnData) GetIdleDurationNs() int64
func (*HTTPGotConnData) GetReused ¶
func (x *HTTPGotConnData) GetReused() bool
func (*HTTPGotConnData) GetWasIdle ¶
func (x *HTTPGotConnData) GetWasIdle() bool
func (*HTTPGotConnData) ProtoMessage ¶
func (*HTTPGotConnData) ProtoMessage()
func (*HTTPGotConnData) ProtoReflect ¶
func (x *HTTPGotConnData) ProtoReflect() protoreflect.Message
func (*HTTPGotConnData) Reset ¶
func (x *HTTPGotConnData) Reset()
func (*HTTPGotConnData) String ¶
func (x *HTTPGotConnData) String() string
type HTTPTLSHandshakeDoneData ¶
type HTTPTLSHandshakeDoneData struct { Err []byte `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` TlsVersion uint32 `protobuf:"varint,2,opt,name=tls_version,json=tlsVersion,proto3" json:"tls_version,omitempty"` CipherSuite uint32 `protobuf:"varint,3,opt,name=cipher_suite,json=cipherSuite,proto3" json:"cipher_suite,omitempty"` ServerName string `protobuf:"bytes,4,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` NegotiatedProtocol string `protobuf:"bytes,5,opt,name=negotiated_protocol,json=negotiatedProtocol,proto3" json:"negotiated_protocol,omitempty"` // contains filtered or unexported fields }
func (*HTTPTLSHandshakeDoneData) Descriptor
deprecated
func (*HTTPTLSHandshakeDoneData) Descriptor() ([]byte, []int)
Deprecated: Use HTTPTLSHandshakeDoneData.ProtoReflect.Descriptor instead.
func (*HTTPTLSHandshakeDoneData) GetCipherSuite ¶
func (x *HTTPTLSHandshakeDoneData) GetCipherSuite() uint32
func (*HTTPTLSHandshakeDoneData) GetErr ¶
func (x *HTTPTLSHandshakeDoneData) GetErr() []byte
func (*HTTPTLSHandshakeDoneData) GetNegotiatedProtocol ¶
func (x *HTTPTLSHandshakeDoneData) GetNegotiatedProtocol() string
func (*HTTPTLSHandshakeDoneData) GetServerName ¶
func (x *HTTPTLSHandshakeDoneData) GetServerName() string
func (*HTTPTLSHandshakeDoneData) GetTlsVersion ¶
func (x *HTTPTLSHandshakeDoneData) GetTlsVersion() uint32
func (*HTTPTLSHandshakeDoneData) ProtoMessage ¶
func (*HTTPTLSHandshakeDoneData) ProtoMessage()
func (*HTTPTLSHandshakeDoneData) ProtoReflect ¶
func (x *HTTPTLSHandshakeDoneData) ProtoReflect() protoreflect.Message
func (*HTTPTLSHandshakeDoneData) Reset ¶
func (x *HTTPTLSHandshakeDoneData) Reset()
func (*HTTPTLSHandshakeDoneData) String ¶
func (x *HTTPTLSHandshakeDoneData) String() string
type HTTPTraceEvent ¶
type HTTPTraceEvent struct { Code HTTPTraceEventCode `protobuf:"varint,1,opt,name=code,proto3,enum=encore.engine.trace.HTTPTraceEventCode" json:"code,omitempty"` Time uint64 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"` // Types that are assignable to Data: // *HTTPTraceEvent_GetConn // *HTTPTraceEvent_GotConn // *HTTPTraceEvent_Got_1XxResponse // *HTTPTraceEvent_DnsStart // *HTTPTraceEvent_DnsDone // *HTTPTraceEvent_ConnectStart // *HTTPTraceEvent_ConnectDone // *HTTPTraceEvent_TlsHandshakeDone // *HTTPTraceEvent_WroteRequest Data isHTTPTraceEvent_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*HTTPTraceEvent) Descriptor
deprecated
func (*HTTPTraceEvent) Descriptor() ([]byte, []int)
Deprecated: Use HTTPTraceEvent.ProtoReflect.Descriptor instead.
func (*HTTPTraceEvent) GetCode ¶
func (x *HTTPTraceEvent) GetCode() HTTPTraceEventCode
func (*HTTPTraceEvent) GetConnectDone ¶
func (x *HTTPTraceEvent) GetConnectDone() *HTTPConnectDoneData
func (*HTTPTraceEvent) GetConnectStart ¶
func (x *HTTPTraceEvent) GetConnectStart() *HTTPConnectStartData
func (*HTTPTraceEvent) GetData ¶
func (m *HTTPTraceEvent) GetData() isHTTPTraceEvent_Data
func (*HTTPTraceEvent) GetDnsDone ¶
func (x *HTTPTraceEvent) GetDnsDone() *HTTPDNSDoneData
func (*HTTPTraceEvent) GetDnsStart ¶
func (x *HTTPTraceEvent) GetDnsStart() *HTTPDNSStartData
func (*HTTPTraceEvent) GetGetConn ¶
func (x *HTTPTraceEvent) GetGetConn() *HTTPGetConnData
func (*HTTPTraceEvent) GetGotConn ¶
func (x *HTTPTraceEvent) GetGotConn() *HTTPGotConnData
func (*HTTPTraceEvent) GetGot_1XxResponse ¶
func (x *HTTPTraceEvent) GetGot_1XxResponse() *HTTPGot1XxResponseData
func (*HTTPTraceEvent) GetTime ¶
func (x *HTTPTraceEvent) GetTime() uint64
func (*HTTPTraceEvent) GetTlsHandshakeDone ¶
func (x *HTTPTraceEvent) GetTlsHandshakeDone() *HTTPTLSHandshakeDoneData
func (*HTTPTraceEvent) GetWroteRequest ¶
func (x *HTTPTraceEvent) GetWroteRequest() *HTTPWroteRequestData
func (*HTTPTraceEvent) ProtoMessage ¶
func (*HTTPTraceEvent) ProtoMessage()
func (*HTTPTraceEvent) ProtoReflect ¶
func (x *HTTPTraceEvent) ProtoReflect() protoreflect.Message
func (*HTTPTraceEvent) Reset ¶
func (x *HTTPTraceEvent) Reset()
func (*HTTPTraceEvent) String ¶
func (x *HTTPTraceEvent) String() string
type HTTPTraceEventCode ¶
type HTTPTraceEventCode int32
const ( HTTPTraceEventCode_UNKNOWN HTTPTraceEventCode = 0 HTTPTraceEventCode_GET_CONN HTTPTraceEventCode = 1 HTTPTraceEventCode_GOT_CONN HTTPTraceEventCode = 2 HTTPTraceEventCode_GOT_FIRST_RESPONSE_BYTE HTTPTraceEventCode = 3 HTTPTraceEventCode_GOT_1XX_RESPONSE HTTPTraceEventCode = 4 HTTPTraceEventCode_DNS_START HTTPTraceEventCode = 5 HTTPTraceEventCode_DNS_DONE HTTPTraceEventCode = 6 HTTPTraceEventCode_CONNECT_START HTTPTraceEventCode = 7 HTTPTraceEventCode_CONNECT_DONE HTTPTraceEventCode = 8 HTTPTraceEventCode_TLS_HANDSHAKE_START HTTPTraceEventCode = 9 HTTPTraceEventCode_TLS_HANDSHAKE_DONE HTTPTraceEventCode = 10 HTTPTraceEventCode_WROTE_HEADERS HTTPTraceEventCode = 11 HTTPTraceEventCode_WROTE_REQUEST HTTPTraceEventCode = 12 HTTPTraceEventCode_WAIT_100_CONTINUE HTTPTraceEventCode = 13 )
func (HTTPTraceEventCode) Descriptor ¶
func (HTTPTraceEventCode) Descriptor() protoreflect.EnumDescriptor
func (HTTPTraceEventCode) Enum ¶
func (x HTTPTraceEventCode) Enum() *HTTPTraceEventCode
func (HTTPTraceEventCode) EnumDescriptor
deprecated
func (HTTPTraceEventCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use HTTPTraceEventCode.Descriptor instead.
func (HTTPTraceEventCode) Number ¶
func (x HTTPTraceEventCode) Number() protoreflect.EnumNumber
func (HTTPTraceEventCode) String ¶
func (x HTTPTraceEventCode) String() string
func (HTTPTraceEventCode) Type ¶
func (HTTPTraceEventCode) Type() protoreflect.EnumType
type HTTPTraceEvent_ConnectDone ¶
type HTTPTraceEvent_ConnectDone struct {
ConnectDone *HTTPConnectDoneData `protobuf:"bytes,9,opt,name=connect_done,json=connectDone,proto3,oneof"`
}
type HTTPTraceEvent_ConnectStart ¶
type HTTPTraceEvent_ConnectStart struct {
ConnectStart *HTTPConnectStartData `protobuf:"bytes,8,opt,name=connect_start,json=connectStart,proto3,oneof"`
}
type HTTPTraceEvent_DnsDone ¶
type HTTPTraceEvent_DnsDone struct {
DnsDone *HTTPDNSDoneData `protobuf:"bytes,7,opt,name=dns_done,json=dnsDone,proto3,oneof"`
}
type HTTPTraceEvent_DnsStart ¶
type HTTPTraceEvent_DnsStart struct {
DnsStart *HTTPDNSStartData `protobuf:"bytes,6,opt,name=dns_start,json=dnsStart,proto3,oneof"`
}
type HTTPTraceEvent_GetConn ¶
type HTTPTraceEvent_GetConn struct {
GetConn *HTTPGetConnData `protobuf:"bytes,3,opt,name=get_conn,json=getConn,proto3,oneof"`
}
type HTTPTraceEvent_GotConn ¶
type HTTPTraceEvent_GotConn struct {
GotConn *HTTPGotConnData `protobuf:"bytes,4,opt,name=got_conn,json=gotConn,proto3,oneof"`
}
type HTTPTraceEvent_Got_1XxResponse ¶
type HTTPTraceEvent_Got_1XxResponse struct {
Got_1XxResponse *HTTPGot1XxResponseData `protobuf:"bytes,5,opt,name=got_1xx_response,json=got1xxResponse,proto3,oneof"`
}
type HTTPTraceEvent_TlsHandshakeDone ¶
type HTTPTraceEvent_TlsHandshakeDone struct {
TlsHandshakeDone *HTTPTLSHandshakeDoneData `protobuf:"bytes,10,opt,name=tls_handshake_done,json=tlsHandshakeDone,proto3,oneof"`
}
type HTTPTraceEvent_WroteRequest ¶
type HTTPTraceEvent_WroteRequest struct {
WroteRequest *HTTPWroteRequestData `protobuf:"bytes,11,opt,name=wrote_request,json=wroteRequest,proto3,oneof"`
}
type HTTPWroteRequestData ¶
type HTTPWroteRequestData struct { Err []byte `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*HTTPWroteRequestData) Descriptor
deprecated
func (*HTTPWroteRequestData) Descriptor() ([]byte, []int)
Deprecated: Use HTTPWroteRequestData.ProtoReflect.Descriptor instead.
func (*HTTPWroteRequestData) GetErr ¶
func (x *HTTPWroteRequestData) GetErr() []byte
func (*HTTPWroteRequestData) ProtoMessage ¶
func (*HTTPWroteRequestData) ProtoMessage()
func (*HTTPWroteRequestData) ProtoReflect ¶
func (x *HTTPWroteRequestData) ProtoReflect() protoreflect.Message
func (*HTTPWroteRequestData) Reset ¶
func (x *HTTPWroteRequestData) Reset()
func (*HTTPWroteRequestData) String ¶
func (x *HTTPWroteRequestData) String() string
type LogField ¶ added in v0.12.0
type LogField struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Types that are assignable to Value: // *LogField_Error // *LogField_Str // *LogField_Bool // *LogField_Time // *LogField_Dur // *LogField_Uuid // *LogField_Json // *LogField_Int // *LogField_Uint // *LogField_Float32 // *LogField_Float64 Value isLogField_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*LogField) Descriptor
deprecated
added in
v0.12.0
func (*LogField) GetError ¶ added in v0.12.0
func (x *LogField) GetError() *ErrWithStack
func (*LogField) GetFloat32 ¶ added in v0.12.0
func (*LogField) GetFloat64 ¶ added in v0.12.0
func (*LogField) GetTime ¶ added in v0.12.0
func (x *LogField) GetTime() *timestamppb.Timestamp
func (*LogField) ProtoMessage ¶ added in v0.12.0
func (*LogField) ProtoMessage()
func (*LogField) ProtoReflect ¶ added in v0.12.0
func (x *LogField) ProtoReflect() protoreflect.Message
type LogField_Bool ¶ added in v0.12.0
type LogField_Bool struct {
Bool bool `protobuf:"varint,4,opt,name=bool,proto3,oneof"`
}
type LogField_Dur ¶ added in v0.12.0
type LogField_Dur struct {
Dur int64 `protobuf:"varint,6,opt,name=dur,proto3,oneof"`
}
type LogField_Error ¶ added in v0.12.0
type LogField_Error struct {
Error *ErrWithStack `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type LogField_Float32 ¶ added in v0.12.0
type LogField_Float32 struct {
Float32 float32 `protobuf:"fixed32,11,opt,name=float32,proto3,oneof"`
}
type LogField_Float64 ¶ added in v0.12.0
type LogField_Float64 struct {
Float64 float64 `protobuf:"fixed64,12,opt,name=float64,proto3,oneof"`
}
type LogField_Int ¶ added in v0.12.0
type LogField_Int struct {
Int int64 `protobuf:"varint,9,opt,name=int,proto3,oneof"`
}
type LogField_Json ¶ added in v0.12.0
type LogField_Json struct {
Json []byte `protobuf:"bytes,8,opt,name=json,proto3,oneof"`
}
type LogField_Str ¶ added in v0.12.0
type LogField_Str struct {
Str string `protobuf:"bytes,3,opt,name=str,proto3,oneof"`
}
type LogField_Time ¶ added in v0.12.0
type LogField_Time struct {
Time *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time,proto3,oneof"`
}
type LogField_Uint ¶ added in v0.12.0
type LogField_Uint struct {
Uint uint64 `protobuf:"varint,10,opt,name=uint,proto3,oneof"`
}
type LogField_Uuid ¶ added in v0.12.0
type LogField_Uuid struct {
Uuid []byte `protobuf:"bytes,7,opt,name=uuid,proto3,oneof"`
}
type LogMessage ¶ added in v0.12.0
type LogMessage struct { SpanId uint64 `protobuf:"varint,1,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` Goid uint32 `protobuf:"varint,2,opt,name=goid,proto3" json:"goid,omitempty"` Time uint64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` Level LogMessage_Level `protobuf:"varint,4,opt,name=level,proto3,enum=encore.engine.trace.LogMessage_Level" json:"level,omitempty"` Msg string `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"` Fields []*LogField `protobuf:"bytes,6,rep,name=fields,proto3" json:"fields,omitempty"` Stack *StackTrace `protobuf:"bytes,7,opt,name=stack,proto3" json:"stack,omitempty"` // contains filtered or unexported fields }
func (*LogMessage) Descriptor
deprecated
added in
v0.12.0
func (*LogMessage) Descriptor() ([]byte, []int)
Deprecated: Use LogMessage.ProtoReflect.Descriptor instead.
func (*LogMessage) GetFields ¶ added in v0.12.0
func (x *LogMessage) GetFields() []*LogField
func (*LogMessage) GetGoid ¶ added in v0.12.0
func (x *LogMessage) GetGoid() uint32
func (*LogMessage) GetLevel ¶ added in v0.12.0
func (x *LogMessage) GetLevel() LogMessage_Level
func (*LogMessage) GetMsg ¶ added in v0.12.0
func (x *LogMessage) GetMsg() string
func (*LogMessage) GetSpanId ¶ added in v0.12.0
func (x *LogMessage) GetSpanId() uint64
func (*LogMessage) GetStack ¶ added in v0.16.2
func (x *LogMessage) GetStack() *StackTrace
func (*LogMessage) GetTime ¶ added in v0.12.0
func (x *LogMessage) GetTime() uint64
func (*LogMessage) ProtoMessage ¶ added in v0.12.0
func (*LogMessage) ProtoMessage()
func (*LogMessage) ProtoReflect ¶ added in v0.12.0
func (x *LogMessage) ProtoReflect() protoreflect.Message
func (*LogMessage) Reset ¶ added in v0.12.0
func (x *LogMessage) Reset()
func (*LogMessage) String ¶ added in v0.12.0
func (x *LogMessage) String() string
type LogMessage_Level ¶ added in v0.12.0
type LogMessage_Level int32
const ( LogMessage_DEBUG LogMessage_Level = 0 LogMessage_INFO LogMessage_Level = 1 LogMessage_ERROR LogMessage_Level = 2 )
func (LogMessage_Level) Descriptor ¶ added in v0.12.0
func (LogMessage_Level) Descriptor() protoreflect.EnumDescriptor
func (LogMessage_Level) Enum ¶ added in v0.12.0
func (x LogMessage_Level) Enum() *LogMessage_Level
func (LogMessage_Level) EnumDescriptor
deprecated
added in
v0.12.0
func (LogMessage_Level) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogMessage_Level.Descriptor instead.
func (LogMessage_Level) Number ¶ added in v0.12.0
func (x LogMessage_Level) Number() protoreflect.EnumNumber
func (LogMessage_Level) String ¶ added in v0.12.0
func (x LogMessage_Level) String() string
func (LogMessage_Level) Type ¶ added in v0.12.0
func (LogMessage_Level) Type() protoreflect.EnumType
type RPCCall ¶
type RPCCall struct { SpanId uint64 `protobuf:"varint,1,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` Goid uint32 `protobuf:"varint,2,opt,name=goid,proto3" json:"goid,omitempty"` CallLoc int32 `protobuf:"varint,3,opt,name=call_loc,json=callLoc,proto3" json:"call_loc,omitempty"` DefLoc int32 `protobuf:"varint,4,opt,name=def_loc,json=defLoc,proto3" json:"def_loc,omitempty"` StartTime uint64 `protobuf:"varint,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime uint64 `protobuf:"varint,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Err []byte `protobuf:"bytes,7,opt,name=err,proto3" json:"err,omitempty"` Stack *StackTrace `protobuf:"bytes,8,opt,name=stack,proto3" json:"stack,omitempty"` // where it was called // contains filtered or unexported fields }
func (*RPCCall) Descriptor
deprecated
func (*RPCCall) GetCallLoc ¶
func (*RPCCall) GetEndTime ¶
func (*RPCCall) GetStack ¶ added in v0.16.2
func (x *RPCCall) GetStack() *StackTrace
func (*RPCCall) GetStartTime ¶
func (*RPCCall) ProtoMessage ¶
func (*RPCCall) ProtoMessage()
func (*RPCCall) ProtoReflect ¶
func (x *RPCCall) ProtoReflect() protoreflect.Message
type Request ¶
type Request struct { TraceId *TraceID `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` SpanId uint64 `protobuf:"varint,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` ParentSpanId uint64 `protobuf:"varint,3,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"` Goid uint32 `protobuf:"varint,4,opt,name=goid,proto3" json:"goid,omitempty"` StartTime uint64 `protobuf:"varint,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime uint64 `protobuf:"varint,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` CallLoc int32 `protobuf:"varint,7,opt,name=call_loc,json=callLoc,proto3" json:"call_loc,omitempty"` DefLoc int32 `protobuf:"varint,8,opt,name=def_loc,json=defLoc,proto3" json:"def_loc,omitempty"` Inputs [][]byte `protobuf:"bytes,9,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs [][]byte `protobuf:"bytes,10,rep,name=outputs,proto3" json:"outputs,omitempty"` Err []byte `protobuf:"bytes,11,opt,name=err,proto3" json:"err,omitempty"` Events []*Event `protobuf:"bytes,12,rep,name=events,proto3" json:"events,omitempty"` Uid string `protobuf:"bytes,13,opt,name=uid,proto3" json:"uid,omitempty"` Type Request_Type `protobuf:"varint,14,opt,name=type,proto3,enum=encore.engine.trace.Request_Type" json:"type,omitempty"` ErrStack *StackTrace `protobuf:"bytes,15,opt,name=err_stack,json=errStack,proto3" json:"err_stack,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetCallLoc ¶
func (*Request) GetEndTime ¶
func (*Request) GetErrStack ¶ added in v0.16.2
func (x *Request) GetErrStack() *StackTrace
func (*Request) GetOutputs ¶
func (*Request) GetParentSpanId ¶
func (*Request) GetStartTime ¶
func (*Request) GetTraceId ¶
func (*Request) GetType ¶
func (x *Request) GetType() Request_Type
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Request_Type ¶
type Request_Type int32
const ( Request_RPC Request_Type = 0 Request_AUTH Request_Type = 1 )
func (Request_Type) Descriptor ¶
func (Request_Type) Descriptor() protoreflect.EnumDescriptor
func (Request_Type) Enum ¶
func (x Request_Type) Enum() *Request_Type
func (Request_Type) EnumDescriptor
deprecated
func (Request_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Request_Type.Descriptor instead.
func (Request_Type) Number ¶
func (x Request_Type) Number() protoreflect.EnumNumber
func (Request_Type) String ¶
func (x Request_Type) String() string
func (Request_Type) Type ¶
func (Request_Type) Type() protoreflect.EnumType
type StackFrame ¶ added in v0.16.2
type StackFrame struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` Func string `protobuf:"bytes,2,opt,name=func,proto3" json:"func,omitempty"` Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"` // contains filtered or unexported fields }
func (*StackFrame) Descriptor
deprecated
added in
v0.16.2
func (*StackFrame) Descriptor() ([]byte, []int)
Deprecated: Use StackFrame.ProtoReflect.Descriptor instead.
func (*StackFrame) GetFilename ¶ added in v0.16.2
func (x *StackFrame) GetFilename() string
func (*StackFrame) GetFunc ¶ added in v0.16.2
func (x *StackFrame) GetFunc() string
func (*StackFrame) GetLine ¶ added in v0.16.2
func (x *StackFrame) GetLine() int32
func (*StackFrame) ProtoMessage ¶ added in v0.16.2
func (*StackFrame) ProtoMessage()
func (*StackFrame) ProtoReflect ¶ added in v0.16.2
func (x *StackFrame) ProtoReflect() protoreflect.Message
func (*StackFrame) Reset ¶ added in v0.16.2
func (x *StackFrame) Reset()
func (*StackFrame) String ¶ added in v0.16.2
func (x *StackFrame) String() string
type StackTrace ¶ added in v0.16.2
type StackTrace struct { Frames []*StackFrame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"` // contains filtered or unexported fields }
func (*StackTrace) Descriptor
deprecated
added in
v0.16.2
func (*StackTrace) Descriptor() ([]byte, []int)
Deprecated: Use StackTrace.ProtoReflect.Descriptor instead.
func (*StackTrace) GetFrames ¶ added in v0.16.2
func (x *StackTrace) GetFrames() []*StackFrame
func (*StackTrace) ProtoMessage ¶ added in v0.16.2
func (*StackTrace) ProtoMessage()
func (*StackTrace) ProtoReflect ¶ added in v0.16.2
func (x *StackTrace) ProtoReflect() protoreflect.Message
func (*StackTrace) Reset ¶ added in v0.16.2
func (x *StackTrace) Reset()
func (*StackTrace) String ¶ added in v0.16.2
func (x *StackTrace) String() string
type TraceID ¶
type TraceID struct { High uint64 `protobuf:"varint,1,opt,name=high,proto3" json:"high,omitempty"` Low uint64 `protobuf:"varint,2,opt,name=low,proto3" json:"low,omitempty"` // contains filtered or unexported fields }
func (*TraceID) Descriptor
deprecated
func (*TraceID) ProtoMessage ¶
func (*TraceID) ProtoMessage()
func (*TraceID) ProtoReflect ¶
func (x *TraceID) ProtoReflect() protoreflect.Message