trace2

package
v1.22.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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",
		14: "CLOSED_BODY",
	}
	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,
		"CLOSED_BODY":             14,
	}
)

Enum value maps for HTTPTraceEventCode.

View Source
var (
	SpanSummary_SpanType_name = map[int32]string{
		0: "UNKNOWN",
		1: "REQUEST",
		2: "AUTH",
		3: "PUBSUB_MESSAGE",
	}
	SpanSummary_SpanType_value = map[string]int32{
		"UNKNOWN":        0,
		"REQUEST":        1,
		"AUTH":           2,
		"PUBSUB_MESSAGE": 3,
	}
)

Enum value maps for SpanSummary_SpanType.

View Source
var (
	DBTransactionEnd_CompletionType_name = map[int32]string{
		0: "ROLLBACK",
		1: "COMMIT",
	}
	DBTransactionEnd_CompletionType_value = map[string]int32{
		"ROLLBACK": 0,
		"COMMIT":   1,
	}
)

Enum value maps for DBTransactionEnd_CompletionType.

View Source
var (
	CacheCallEnd_Result_name = map[int32]string{
		0: "UNKNOWN",
		1: "OK",
		2: "NO_SUCH_KEY",
		3: "CONFLICT",
		4: "ERR",
	}
	CacheCallEnd_Result_value = map[string]int32{
		"UNKNOWN":     0,
		"OK":          1,
		"NO_SUCH_KEY": 2,
		"CONFLICT":    3,
		"ERR":         4,
	}
)

Enum value maps for CacheCallEnd_Result.

View Source
var (
	LogMessage_Level_name = map[int32]string{
		0: "DEBUG",
		1: "INFO",
		2: "ERROR",
		3: "WARN",
		4: "TRACE",
	}
	LogMessage_Level_value = map[string]int32{
		"DEBUG": 0,
		"INFO":  1,
		"ERROR": 2,
		"WARN":  3,
		"TRACE": 4,
	}
)

Enum value maps for LogMessage_Level.

View Source
var File_encore_engine_trace2_trace2_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthSpanEnd

type AuthSpanEnd struct {

	// Repeat service/endpoint name here to make it possible
	// to consume end events without having to look up the start.
	ServiceName  string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	EndpointName string `protobuf:"bytes,2,opt,name=endpoint_name,json=endpointName,proto3" json:"endpoint_name,omitempty"`
	Uid          string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
	UserData     []byte `protobuf:"bytes,4,opt,name=user_data,json=userData,proto3,oneof" json:"user_data,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthSpanEnd) Descriptor deprecated

func (*AuthSpanEnd) Descriptor() ([]byte, []int)

Deprecated: Use AuthSpanEnd.ProtoReflect.Descriptor instead.

func (*AuthSpanEnd) GetEndpointName

func (x *AuthSpanEnd) GetEndpointName() string

func (*AuthSpanEnd) GetServiceName

func (x *AuthSpanEnd) GetServiceName() string

func (*AuthSpanEnd) GetUid

func (x *AuthSpanEnd) GetUid() string

func (*AuthSpanEnd) GetUserData

func (x *AuthSpanEnd) GetUserData() []byte

func (*AuthSpanEnd) ProtoMessage

func (*AuthSpanEnd) ProtoMessage()

func (*AuthSpanEnd) ProtoReflect

func (x *AuthSpanEnd) ProtoReflect() protoreflect.Message

func (*AuthSpanEnd) Reset

func (x *AuthSpanEnd) Reset()

func (*AuthSpanEnd) String

func (x *AuthSpanEnd) String() string

type AuthSpanStart

type AuthSpanStart struct {
	ServiceName  string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	EndpointName string `protobuf:"bytes,2,opt,name=endpoint_name,json=endpointName,proto3" json:"endpoint_name,omitempty"`
	AuthPayload  []byte `protobuf:"bytes,3,opt,name=auth_payload,json=authPayload,proto3,oneof" json:"auth_payload,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthSpanStart) Descriptor deprecated

func (*AuthSpanStart) Descriptor() ([]byte, []int)

Deprecated: Use AuthSpanStart.ProtoReflect.Descriptor instead.

func (*AuthSpanStart) GetAuthPayload

func (x *AuthSpanStart) GetAuthPayload() []byte

func (*AuthSpanStart) GetEndpointName

func (x *AuthSpanStart) GetEndpointName() string

func (*AuthSpanStart) GetServiceName

func (x *AuthSpanStart) GetServiceName() string

func (*AuthSpanStart) ProtoMessage

func (*AuthSpanStart) ProtoMessage()

func (*AuthSpanStart) ProtoReflect

func (x *AuthSpanStart) ProtoReflect() protoreflect.Message

func (*AuthSpanStart) Reset

func (x *AuthSpanStart) Reset()

func (*AuthSpanStart) String

func (x *AuthSpanStart) String() string

type BodyStream

type BodyStream struct {
	IsResponse bool   `protobuf:"varint,1,opt,name=is_response,json=isResponse,proto3" json:"is_response,omitempty"`
	Overflowed bool   `protobuf:"varint,2,opt,name=overflowed,proto3" json:"overflowed,omitempty"`
	Data       []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BodyStream) Descriptor deprecated

func (*BodyStream) Descriptor() ([]byte, []int)

Deprecated: Use BodyStream.ProtoReflect.Descriptor instead.

func (*BodyStream) GetData

func (x *BodyStream) GetData() []byte

func (*BodyStream) GetIsResponse

func (x *BodyStream) GetIsResponse() bool

func (*BodyStream) GetOverflowed

func (x *BodyStream) GetOverflowed() bool

func (*BodyStream) ProtoMessage

func (*BodyStream) ProtoMessage()

func (*BodyStream) ProtoReflect

func (x *BodyStream) ProtoReflect() protoreflect.Message

func (*BodyStream) Reset

func (x *BodyStream) Reset()

func (*BodyStream) String

func (x *BodyStream) String() string

type CacheCallEnd

type CacheCallEnd struct {
	Result CacheCallEnd_Result `protobuf:"varint,1,opt,name=result,proto3,enum=encore.engine.trace2.CacheCallEnd_Result" json:"result,omitempty"`
	Err    *Error              `protobuf:"bytes,2,opt,name=err,proto3,oneof" json:"err,omitempty"` // TODO include more info (like outputs)
	// contains filtered or unexported fields
}

func (*CacheCallEnd) Descriptor deprecated

func (*CacheCallEnd) Descriptor() ([]byte, []int)

Deprecated: Use CacheCallEnd.ProtoReflect.Descriptor instead.

func (*CacheCallEnd) GetErr

func (x *CacheCallEnd) GetErr() *Error

func (*CacheCallEnd) GetResult

func (x *CacheCallEnd) GetResult() CacheCallEnd_Result

func (*CacheCallEnd) ProtoMessage

func (*CacheCallEnd) ProtoMessage()

func (*CacheCallEnd) ProtoReflect

func (x *CacheCallEnd) ProtoReflect() protoreflect.Message

func (*CacheCallEnd) Reset

func (x *CacheCallEnd) Reset()

func (*CacheCallEnd) String

func (x *CacheCallEnd) String() string

type CacheCallEnd_Result

type CacheCallEnd_Result int32
const (
	CacheCallEnd_UNKNOWN     CacheCallEnd_Result = 0
	CacheCallEnd_OK          CacheCallEnd_Result = 1
	CacheCallEnd_NO_SUCH_KEY CacheCallEnd_Result = 2
	CacheCallEnd_CONFLICT    CacheCallEnd_Result = 3
	CacheCallEnd_ERR         CacheCallEnd_Result = 4
)

func (CacheCallEnd_Result) Descriptor

func (CacheCallEnd_Result) Enum

func (CacheCallEnd_Result) EnumDescriptor deprecated

func (CacheCallEnd_Result) EnumDescriptor() ([]byte, []int)

Deprecated: Use CacheCallEnd_Result.Descriptor instead.

func (CacheCallEnd_Result) Number

func (CacheCallEnd_Result) String

func (x CacheCallEnd_Result) String() string

func (CacheCallEnd_Result) Type

type CacheCallStart

type CacheCallStart struct {
	Operation string      `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	Keys      []string    `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
	Write     bool        `protobuf:"varint,3,opt,name=write,proto3" json:"write,omitempty"`
	Stack     *StackTrace `protobuf:"bytes,4,opt,name=stack,proto3" json:"stack,omitempty"` // TODO include more info (like inputs)
	// contains filtered or unexported fields
}

func (*CacheCallStart) Descriptor deprecated

func (*CacheCallStart) Descriptor() ([]byte, []int)

Deprecated: Use CacheCallStart.ProtoReflect.Descriptor instead.

func (*CacheCallStart) GetKeys

func (x *CacheCallStart) GetKeys() []string

func (*CacheCallStart) GetOperation

func (x *CacheCallStart) GetOperation() string

func (*CacheCallStart) GetStack

func (x *CacheCallStart) GetStack() *StackTrace

func (*CacheCallStart) GetWrite

func (x *CacheCallStart) GetWrite() bool

func (*CacheCallStart) ProtoMessage

func (*CacheCallStart) ProtoMessage()

func (*CacheCallStart) ProtoReflect

func (x *CacheCallStart) ProtoReflect() protoreflect.Message

func (*CacheCallStart) Reset

func (x *CacheCallStart) Reset()

func (*CacheCallStart) String

func (x *CacheCallStart) String() string

type DBQueryEnd

type DBQueryEnd struct {
	Err *Error `protobuf:"bytes,1,opt,name=err,proto3,oneof" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*DBQueryEnd) Descriptor deprecated

func (*DBQueryEnd) Descriptor() ([]byte, []int)

Deprecated: Use DBQueryEnd.ProtoReflect.Descriptor instead.

func (*DBQueryEnd) GetErr

func (x *DBQueryEnd) GetErr() *Error

func (*DBQueryEnd) ProtoMessage

func (*DBQueryEnd) ProtoMessage()

func (*DBQueryEnd) ProtoReflect

func (x *DBQueryEnd) ProtoReflect() protoreflect.Message

func (*DBQueryEnd) Reset

func (x *DBQueryEnd) Reset()

func (*DBQueryEnd) String

func (x *DBQueryEnd) String() string

type DBQueryStart

type DBQueryStart struct {
	Query string      `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Stack *StackTrace `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"`
	// contains filtered or unexported fields
}

func (*DBQueryStart) Descriptor deprecated

func (*DBQueryStart) Descriptor() ([]byte, []int)

Deprecated: Use DBQueryStart.ProtoReflect.Descriptor instead.

func (*DBQueryStart) GetQuery

func (x *DBQueryStart) GetQuery() string

func (*DBQueryStart) GetStack

func (x *DBQueryStart) GetStack() *StackTrace

func (*DBQueryStart) ProtoMessage

func (*DBQueryStart) ProtoMessage()

func (*DBQueryStart) ProtoReflect

func (x *DBQueryStart) ProtoReflect() protoreflect.Message

func (*DBQueryStart) Reset

func (x *DBQueryStart) Reset()

func (*DBQueryStart) String

func (x *DBQueryStart) String() string

type DBTransactionEnd

type DBTransactionEnd struct {
	Completion DBTransactionEnd_CompletionType `` /* 132-byte string literal not displayed */
	Stack      *StackTrace                     `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"`
	Err        *Error                          `protobuf:"bytes,3,opt,name=err,proto3,oneof" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*DBTransactionEnd) Descriptor deprecated

func (*DBTransactionEnd) Descriptor() ([]byte, []int)

Deprecated: Use DBTransactionEnd.ProtoReflect.Descriptor instead.

func (*DBTransactionEnd) GetCompletion

func (*DBTransactionEnd) GetErr

func (x *DBTransactionEnd) GetErr() *Error

func (*DBTransactionEnd) GetStack

func (x *DBTransactionEnd) GetStack() *StackTrace

func (*DBTransactionEnd) ProtoMessage

func (*DBTransactionEnd) ProtoMessage()

func (*DBTransactionEnd) ProtoReflect

func (x *DBTransactionEnd) ProtoReflect() protoreflect.Message

func (*DBTransactionEnd) Reset

func (x *DBTransactionEnd) Reset()

func (*DBTransactionEnd) String

func (x *DBTransactionEnd) String() string

type DBTransactionEnd_CompletionType

type DBTransactionEnd_CompletionType int32
const (
	DBTransactionEnd_ROLLBACK DBTransactionEnd_CompletionType = 0
	DBTransactionEnd_COMMIT   DBTransactionEnd_CompletionType = 1
)

func (DBTransactionEnd_CompletionType) Descriptor

func (DBTransactionEnd_CompletionType) Enum

func (DBTransactionEnd_CompletionType) EnumDescriptor deprecated

func (DBTransactionEnd_CompletionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DBTransactionEnd_CompletionType.Descriptor instead.

func (DBTransactionEnd_CompletionType) Number

func (DBTransactionEnd_CompletionType) String

func (DBTransactionEnd_CompletionType) Type

type DBTransactionStart

type DBTransactionStart struct {
	Stack *StackTrace `protobuf:"bytes,1,opt,name=stack,proto3" json:"stack,omitempty"`
	// contains filtered or unexported fields
}

func (*DBTransactionStart) Descriptor deprecated

func (*DBTransactionStart) Descriptor() ([]byte, []int)

Deprecated: Use DBTransactionStart.ProtoReflect.Descriptor instead.

func (*DBTransactionStart) GetStack

func (x *DBTransactionStart) GetStack() *StackTrace

func (*DBTransactionStart) ProtoMessage

func (*DBTransactionStart) ProtoMessage()

func (*DBTransactionStart) ProtoReflect

func (x *DBTransactionStart) ProtoReflect() protoreflect.Message

func (*DBTransactionStart) Reset

func (x *DBTransactionStart) Reset()

func (*DBTransactionStart) String

func (x *DBTransactionStart) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use DNSAddr.ProtoReflect.Descriptor instead.

func (*DNSAddr) GetIp

func (x *DNSAddr) GetIp() []byte

func (*DNSAddr) ProtoMessage

func (*DNSAddr) ProtoMessage()

func (*DNSAddr) ProtoReflect

func (x *DNSAddr) ProtoReflect() protoreflect.Message

func (*DNSAddr) Reset

func (x *DNSAddr) Reset()

func (*DNSAddr) String

func (x *DNSAddr) String() string

type Error

type Error struct {
	Msg   string      `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Stack *StackTrace `protobuf:"bytes,2,opt,name=stack,proto3,oneof" json:"stack,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

func (*Error) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetMsg

func (x *Error) GetMsg() string

func (*Error) GetStack

func (x *Error) GetStack() *StackTrace

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type EventList

type EventList struct {
	Events []*TraceEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*EventList) Descriptor deprecated

func (*EventList) Descriptor() ([]byte, []int)

Deprecated: Use EventList.ProtoReflect.Descriptor instead.

func (*EventList) GetEvents

func (x *EventList) GetEvents() []*TraceEvent

func (*EventList) ProtoMessage

func (*EventList) ProtoMessage()

func (*EventList) ProtoReflect

func (x *EventList) ProtoReflect() protoreflect.Message

func (*EventList) Reset

func (x *EventList) Reset()

func (*EventList) String

func (x *EventList) String() string

type GoroutineEnd

type GoroutineEnd struct {
	// contains filtered or unexported fields
}

func (*GoroutineEnd) Descriptor deprecated

func (*GoroutineEnd) Descriptor() ([]byte, []int)

Deprecated: Use GoroutineEnd.ProtoReflect.Descriptor instead.

func (*GoroutineEnd) ProtoMessage

func (*GoroutineEnd) ProtoMessage()

func (*GoroutineEnd) ProtoReflect

func (x *GoroutineEnd) ProtoReflect() protoreflect.Message

func (*GoroutineEnd) Reset

func (x *GoroutineEnd) Reset()

func (*GoroutineEnd) String

func (x *GoroutineEnd) String() string

type GoroutineStart

type GoroutineStart struct {
	// contains filtered or unexported fields
}

func (*GoroutineStart) Descriptor deprecated

func (*GoroutineStart) Descriptor() ([]byte, []int)

Deprecated: Use GoroutineStart.ProtoReflect.Descriptor instead.

func (*GoroutineStart) ProtoMessage

func (*GoroutineStart) ProtoMessage()

func (*GoroutineStart) ProtoReflect

func (x *GoroutineStart) ProtoReflect() protoreflect.Message

func (*GoroutineStart) Reset

func (x *GoroutineStart) Reset()

func (*GoroutineStart) String

func (x *GoroutineStart) String() string

type HTTPCallEnd

type HTTPCallEnd struct {

	// status_code is set if we got a HTTP response.
	StatusCode *uint32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3,oneof" json:"status_code,omitempty"`
	// err is set otherwise.
	Err *Error `protobuf:"bytes,2,opt,name=err,proto3,oneof" json:"err,omitempty"`
	// TODO these should be moved to be asynchronous via a separate event.
	TraceEvents []*HTTPTraceEvent `protobuf:"bytes,3,rep,name=trace_events,json=traceEvents,proto3" json:"trace_events,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPCallEnd) Descriptor deprecated

func (*HTTPCallEnd) Descriptor() ([]byte, []int)

Deprecated: Use HTTPCallEnd.ProtoReflect.Descriptor instead.

func (*HTTPCallEnd) GetErr

func (x *HTTPCallEnd) GetErr() *Error

func (*HTTPCallEnd) GetStatusCode

func (x *HTTPCallEnd) GetStatusCode() uint32

func (*HTTPCallEnd) GetTraceEvents

func (x *HTTPCallEnd) GetTraceEvents() []*HTTPTraceEvent

func (*HTTPCallEnd) ProtoMessage

func (*HTTPCallEnd) ProtoMessage()

func (*HTTPCallEnd) ProtoReflect

func (x *HTTPCallEnd) ProtoReflect() protoreflect.Message

func (*HTTPCallEnd) Reset

func (x *HTTPCallEnd) Reset()

func (*HTTPCallEnd) String

func (x *HTTPCallEnd) String() string

type HTTPCallStart

type HTTPCallStart struct {
	CorrelationParentSpanId uint64      `` /* 135-byte string literal not displayed */
	Method                  string      `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Url                     string      `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Stack                   *StackTrace `protobuf:"bytes,4,opt,name=stack,proto3" json:"stack,omitempty"`
	// start_nanotime is used to compute timings based on the
	// nanotime in the HTTP trace events.
	StartNanotime int64 `protobuf:"varint,5,opt,name=start_nanotime,json=startNanotime,proto3" json:"start_nanotime,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPCallStart) Descriptor deprecated

func (*HTTPCallStart) Descriptor() ([]byte, []int)

Deprecated: Use HTTPCallStart.ProtoReflect.Descriptor instead.

func (*HTTPCallStart) GetCorrelationParentSpanId

func (x *HTTPCallStart) GetCorrelationParentSpanId() uint64

func (*HTTPCallStart) GetMethod

func (x *HTTPCallStart) GetMethod() string

func (*HTTPCallStart) GetStack

func (x *HTTPCallStart) GetStack() *StackTrace

func (*HTTPCallStart) GetStartNanotime

func (x *HTTPCallStart) GetStartNanotime() int64

func (*HTTPCallStart) GetUrl

func (x *HTTPCallStart) GetUrl() string

func (*HTTPCallStart) ProtoMessage

func (*HTTPCallStart) ProtoMessage()

func (*HTTPCallStart) ProtoReflect

func (x *HTTPCallStart) ProtoReflect() protoreflect.Message

func (*HTTPCallStart) Reset

func (x *HTTPCallStart) Reset()

func (*HTTPCallStart) String

func (x *HTTPCallStart) String() string

type HTTPClosedBodyData

type HTTPClosedBodyData struct {
	Err []byte `protobuf:"bytes,1,opt,name=err,proto3,oneof" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPClosedBodyData) Descriptor deprecated

func (*HTTPClosedBodyData) Descriptor() ([]byte, []int)

Deprecated: Use HTTPClosedBodyData.ProtoReflect.Descriptor instead.

func (*HTTPClosedBodyData) GetErr

func (x *HTTPClosedBodyData) GetErr() []byte

func (*HTTPClosedBodyData) ProtoMessage

func (*HTTPClosedBodyData) ProtoMessage()

func (*HTTPClosedBodyData) ProtoReflect

func (x *HTTPClosedBodyData) ProtoReflect() protoreflect.Message

func (*HTTPClosedBodyData) Reset

func (x *HTTPClosedBodyData) Reset()

func (*HTTPClosedBodyData) String

func (x *HTTPClosedBodyData) String() string

type HTTPConnectDone

type HTTPConnectDone 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 (*HTTPConnectDone) Descriptor deprecated

func (*HTTPConnectDone) Descriptor() ([]byte, []int)

Deprecated: Use HTTPConnectDone.ProtoReflect.Descriptor instead.

func (*HTTPConnectDone) GetAddr

func (x *HTTPConnectDone) GetAddr() string

func (*HTTPConnectDone) GetErr

func (x *HTTPConnectDone) GetErr() []byte

func (*HTTPConnectDone) GetNetwork

func (x *HTTPConnectDone) GetNetwork() string

func (*HTTPConnectDone) ProtoMessage

func (*HTTPConnectDone) ProtoMessage()

func (*HTTPConnectDone) ProtoReflect

func (x *HTTPConnectDone) ProtoReflect() protoreflect.Message

func (*HTTPConnectDone) Reset

func (x *HTTPConnectDone) Reset()

func (*HTTPConnectDone) String

func (x *HTTPConnectDone) String() string

type HTTPConnectStart

type HTTPConnectStart 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 (*HTTPConnectStart) Descriptor deprecated

func (*HTTPConnectStart) Descriptor() ([]byte, []int)

Deprecated: Use HTTPConnectStart.ProtoReflect.Descriptor instead.

func (*HTTPConnectStart) GetAddr

func (x *HTTPConnectStart) GetAddr() string

func (*HTTPConnectStart) GetNetwork

func (x *HTTPConnectStart) GetNetwork() string

func (*HTTPConnectStart) ProtoMessage

func (*HTTPConnectStart) ProtoMessage()

func (*HTTPConnectStart) ProtoReflect

func (x *HTTPConnectStart) ProtoReflect() protoreflect.Message

func (*HTTPConnectStart) Reset

func (x *HTTPConnectStart) Reset()

func (*HTTPConnectStart) String

func (x *HTTPConnectStart) String() string

type HTTPDNSDone

type HTTPDNSDone struct {
	Err   []byte     `protobuf:"bytes,1,opt,name=err,proto3,oneof" json:"err,omitempty"`
	Addrs []*DNSAddr `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPDNSDone) Descriptor deprecated

func (*HTTPDNSDone) Descriptor() ([]byte, []int)

Deprecated: Use HTTPDNSDone.ProtoReflect.Descriptor instead.

func (*HTTPDNSDone) GetAddrs

func (x *HTTPDNSDone) GetAddrs() []*DNSAddr

func (*HTTPDNSDone) GetErr

func (x *HTTPDNSDone) GetErr() []byte

func (*HTTPDNSDone) ProtoMessage

func (*HTTPDNSDone) ProtoMessage()

func (*HTTPDNSDone) ProtoReflect

func (x *HTTPDNSDone) ProtoReflect() protoreflect.Message

func (*HTTPDNSDone) Reset

func (x *HTTPDNSDone) Reset()

func (*HTTPDNSDone) String

func (x *HTTPDNSDone) String() string

type HTTPDNSStart

type HTTPDNSStart struct {
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPDNSStart) Descriptor deprecated

func (*HTTPDNSStart) Descriptor() ([]byte, []int)

Deprecated: Use HTTPDNSStart.ProtoReflect.Descriptor instead.

func (*HTTPDNSStart) GetHost

func (x *HTTPDNSStart) GetHost() string

func (*HTTPDNSStart) ProtoMessage

func (*HTTPDNSStart) ProtoMessage()

func (*HTTPDNSStart) ProtoReflect

func (x *HTTPDNSStart) ProtoReflect() protoreflect.Message

func (*HTTPDNSStart) Reset

func (x *HTTPDNSStart) Reset()

func (*HTTPDNSStart) String

func (x *HTTPDNSStart) String() string

type HTTPGetConn

type HTTPGetConn struct {
	HostPort string `protobuf:"bytes,1,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPGetConn) Descriptor deprecated

func (*HTTPGetConn) Descriptor() ([]byte, []int)

Deprecated: Use HTTPGetConn.ProtoReflect.Descriptor instead.

func (*HTTPGetConn) GetHostPort

func (x *HTTPGetConn) GetHostPort() string

func (*HTTPGetConn) ProtoMessage

func (*HTTPGetConn) ProtoMessage()

func (*HTTPGetConn) ProtoReflect

func (x *HTTPGetConn) ProtoReflect() protoreflect.Message

func (*HTTPGetConn) Reset

func (x *HTTPGetConn) Reset()

func (*HTTPGetConn) String

func (x *HTTPGetConn) String() string

type HTTPGot1XxResponse

type HTTPGot1XxResponse struct {
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPGot1XxResponse) Descriptor deprecated

func (*HTTPGot1XxResponse) Descriptor() ([]byte, []int)

Deprecated: Use HTTPGot1XxResponse.ProtoReflect.Descriptor instead.

func (*HTTPGot1XxResponse) GetCode

func (x *HTTPGot1XxResponse) GetCode() int32

func (*HTTPGot1XxResponse) ProtoMessage

func (*HTTPGot1XxResponse) ProtoMessage()

func (*HTTPGot1XxResponse) ProtoReflect

func (x *HTTPGot1XxResponse) ProtoReflect() protoreflect.Message

func (*HTTPGot1XxResponse) Reset

func (x *HTTPGot1XxResponse) Reset()

func (*HTTPGot1XxResponse) String

func (x *HTTPGot1XxResponse) String() string

type HTTPGotConn

type HTTPGotConn 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 (*HTTPGotConn) Descriptor deprecated

func (*HTTPGotConn) Descriptor() ([]byte, []int)

Deprecated: Use HTTPGotConn.ProtoReflect.Descriptor instead.

func (*HTTPGotConn) GetIdleDurationNs

func (x *HTTPGotConn) GetIdleDurationNs() int64

func (*HTTPGotConn) GetReused

func (x *HTTPGotConn) GetReused() bool

func (*HTTPGotConn) GetWasIdle

func (x *HTTPGotConn) GetWasIdle() bool

func (*HTTPGotConn) ProtoMessage

func (*HTTPGotConn) ProtoMessage()

func (*HTTPGotConn) ProtoReflect

func (x *HTTPGotConn) ProtoReflect() protoreflect.Message

func (*HTTPGotConn) Reset

func (x *HTTPGotConn) Reset()

func (*HTTPGotConn) String

func (x *HTTPGotConn) String() string

type HTTPGotFirstResponseByte

type HTTPGotFirstResponseByte struct {
	// contains filtered or unexported fields
}

func (*HTTPGotFirstResponseByte) Descriptor deprecated

func (*HTTPGotFirstResponseByte) Descriptor() ([]byte, []int)

Deprecated: Use HTTPGotFirstResponseByte.ProtoReflect.Descriptor instead.

func (*HTTPGotFirstResponseByte) ProtoMessage

func (*HTTPGotFirstResponseByte) ProtoMessage()

func (*HTTPGotFirstResponseByte) ProtoReflect

func (x *HTTPGotFirstResponseByte) ProtoReflect() protoreflect.Message

func (*HTTPGotFirstResponseByte) Reset

func (x *HTTPGotFirstResponseByte) Reset()

func (*HTTPGotFirstResponseByte) String

func (x *HTTPGotFirstResponseByte) String() string

type HTTPTLSHandshakeDone

type HTTPTLSHandshakeDone struct {
	Err                []byte `protobuf:"bytes,1,opt,name=err,proto3,oneof" 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 (*HTTPTLSHandshakeDone) Descriptor deprecated

func (*HTTPTLSHandshakeDone) Descriptor() ([]byte, []int)

Deprecated: Use HTTPTLSHandshakeDone.ProtoReflect.Descriptor instead.

func (*HTTPTLSHandshakeDone) GetCipherSuite

func (x *HTTPTLSHandshakeDone) GetCipherSuite() uint32

func (*HTTPTLSHandshakeDone) GetErr

func (x *HTTPTLSHandshakeDone) GetErr() []byte

func (*HTTPTLSHandshakeDone) GetNegotiatedProtocol

func (x *HTTPTLSHandshakeDone) GetNegotiatedProtocol() string

func (*HTTPTLSHandshakeDone) GetServerName

func (x *HTTPTLSHandshakeDone) GetServerName() string

func (*HTTPTLSHandshakeDone) GetTlsVersion

func (x *HTTPTLSHandshakeDone) GetTlsVersion() uint32

func (*HTTPTLSHandshakeDone) ProtoMessage

func (*HTTPTLSHandshakeDone) ProtoMessage()

func (*HTTPTLSHandshakeDone) ProtoReflect

func (x *HTTPTLSHandshakeDone) ProtoReflect() protoreflect.Message

func (*HTTPTLSHandshakeDone) Reset

func (x *HTTPTLSHandshakeDone) Reset()

func (*HTTPTLSHandshakeDone) String

func (x *HTTPTLSHandshakeDone) String() string

type HTTPTLSHandshakeStart

type HTTPTLSHandshakeStart struct {
	// contains filtered or unexported fields
}

func (*HTTPTLSHandshakeStart) Descriptor deprecated

func (*HTTPTLSHandshakeStart) Descriptor() ([]byte, []int)

Deprecated: Use HTTPTLSHandshakeStart.ProtoReflect.Descriptor instead.

func (*HTTPTLSHandshakeStart) ProtoMessage

func (*HTTPTLSHandshakeStart) ProtoMessage()

func (*HTTPTLSHandshakeStart) ProtoReflect

func (x *HTTPTLSHandshakeStart) ProtoReflect() protoreflect.Message

func (*HTTPTLSHandshakeStart) Reset

func (x *HTTPTLSHandshakeStart) Reset()

func (*HTTPTLSHandshakeStart) String

func (x *HTTPTLSHandshakeStart) String() string

type HTTPTraceEvent

type HTTPTraceEvent struct {
	Nanotime int64 `protobuf:"varint,1,opt,name=nanotime,proto3" json:"nanotime,omitempty"`
	// Types that are assignable to Data:
	//
	//	*HTTPTraceEvent_GetConn
	//	*HTTPTraceEvent_GotConn
	//	*HTTPTraceEvent_GotFirstResponseByte
	//	*HTTPTraceEvent_Got_1XxResponse
	//	*HTTPTraceEvent_DnsStart
	//	*HTTPTraceEvent_DnsDone
	//	*HTTPTraceEvent_ConnectStart
	//	*HTTPTraceEvent_ConnectDone
	//	*HTTPTraceEvent_TlsHandshakeStart
	//	*HTTPTraceEvent_TlsHandshakeDone
	//	*HTTPTraceEvent_WroteHeaders
	//	*HTTPTraceEvent_WroteRequest
	//	*HTTPTraceEvent_Wait_100Continue
	//	*HTTPTraceEvent_ClosedBody
	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) GetClosedBody

func (x *HTTPTraceEvent) GetClosedBody() *HTTPClosedBodyData

func (*HTTPTraceEvent) GetConnectDone

func (x *HTTPTraceEvent) GetConnectDone() *HTTPConnectDone

func (*HTTPTraceEvent) GetConnectStart

func (x *HTTPTraceEvent) GetConnectStart() *HTTPConnectStart

func (*HTTPTraceEvent) GetData

func (m *HTTPTraceEvent) GetData() isHTTPTraceEvent_Data

func (*HTTPTraceEvent) GetDnsDone

func (x *HTTPTraceEvent) GetDnsDone() *HTTPDNSDone

func (*HTTPTraceEvent) GetDnsStart

func (x *HTTPTraceEvent) GetDnsStart() *HTTPDNSStart

func (*HTTPTraceEvent) GetGetConn

func (x *HTTPTraceEvent) GetGetConn() *HTTPGetConn

func (*HTTPTraceEvent) GetGotConn

func (x *HTTPTraceEvent) GetGotConn() *HTTPGotConn

func (*HTTPTraceEvent) GetGotFirstResponseByte

func (x *HTTPTraceEvent) GetGotFirstResponseByte() *HTTPGotFirstResponseByte

func (*HTTPTraceEvent) GetGot_1XxResponse

func (x *HTTPTraceEvent) GetGot_1XxResponse() *HTTPGot1XxResponse

func (*HTTPTraceEvent) GetNanotime

func (x *HTTPTraceEvent) GetNanotime() int64

func (*HTTPTraceEvent) GetTlsHandshakeDone

func (x *HTTPTraceEvent) GetTlsHandshakeDone() *HTTPTLSHandshakeDone

func (*HTTPTraceEvent) GetTlsHandshakeStart

func (x *HTTPTraceEvent) GetTlsHandshakeStart() *HTTPTLSHandshakeStart

func (*HTTPTraceEvent) GetWait_100Continue

func (x *HTTPTraceEvent) GetWait_100Continue() *HTTPWait100Continue

func (*HTTPTraceEvent) GetWroteHeaders

func (x *HTTPTraceEvent) GetWroteHeaders() *HTTPWroteHeaders

func (*HTTPTraceEvent) GetWroteRequest

func (x *HTTPTraceEvent) GetWroteRequest() *HTTPWroteRequest

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
	HTTPTraceEventCode_CLOSED_BODY             HTTPTraceEventCode = 14
)

func (HTTPTraceEventCode) Descriptor

func (HTTPTraceEventCode) Enum

func (HTTPTraceEventCode) EnumDescriptor deprecated

func (HTTPTraceEventCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use HTTPTraceEventCode.Descriptor instead.

func (HTTPTraceEventCode) Number

func (HTTPTraceEventCode) String

func (x HTTPTraceEventCode) String() string

func (HTTPTraceEventCode) Type

type HTTPTraceEvent_ClosedBody

type HTTPTraceEvent_ClosedBody struct {
	ClosedBody *HTTPClosedBodyData `protobuf:"bytes,15,opt,name=closed_body,json=closedBody,proto3,oneof"`
}

type HTTPTraceEvent_ConnectDone

type HTTPTraceEvent_ConnectDone struct {
	ConnectDone *HTTPConnectDone `protobuf:"bytes,9,opt,name=connect_done,json=connectDone,proto3,oneof"`
}

type HTTPTraceEvent_ConnectStart

type HTTPTraceEvent_ConnectStart struct {
	ConnectStart *HTTPConnectStart `protobuf:"bytes,8,opt,name=connect_start,json=connectStart,proto3,oneof"`
}

type HTTPTraceEvent_DnsDone

type HTTPTraceEvent_DnsDone struct {
	DnsDone *HTTPDNSDone `protobuf:"bytes,7,opt,name=dns_done,json=dnsDone,proto3,oneof"`
}

type HTTPTraceEvent_DnsStart

type HTTPTraceEvent_DnsStart struct {
	DnsStart *HTTPDNSStart `protobuf:"bytes,6,opt,name=dns_start,json=dnsStart,proto3,oneof"`
}

type HTTPTraceEvent_GetConn

type HTTPTraceEvent_GetConn struct {
	GetConn *HTTPGetConn `protobuf:"bytes,2,opt,name=get_conn,json=getConn,proto3,oneof"`
}

type HTTPTraceEvent_GotConn

type HTTPTraceEvent_GotConn struct {
	GotConn *HTTPGotConn `protobuf:"bytes,3,opt,name=got_conn,json=gotConn,proto3,oneof"`
}

type HTTPTraceEvent_GotFirstResponseByte

type HTTPTraceEvent_GotFirstResponseByte struct {
	GotFirstResponseByte *HTTPGotFirstResponseByte `protobuf:"bytes,4,opt,name=got_first_response_byte,json=gotFirstResponseByte,proto3,oneof"`
}

type HTTPTraceEvent_Got_1XxResponse

type HTTPTraceEvent_Got_1XxResponse struct {
	Got_1XxResponse *HTTPGot1XxResponse `protobuf:"bytes,5,opt,name=got_1xx_response,json=got1xxResponse,proto3,oneof"`
}

type HTTPTraceEvent_TlsHandshakeDone

type HTTPTraceEvent_TlsHandshakeDone struct {
	TlsHandshakeDone *HTTPTLSHandshakeDone `protobuf:"bytes,11,opt,name=tls_handshake_done,json=tlsHandshakeDone,proto3,oneof"`
}

type HTTPTraceEvent_TlsHandshakeStart

type HTTPTraceEvent_TlsHandshakeStart struct {
	TlsHandshakeStart *HTTPTLSHandshakeStart `protobuf:"bytes,10,opt,name=tls_handshake_start,json=tlsHandshakeStart,proto3,oneof"`
}

type HTTPTraceEvent_Wait_100Continue

type HTTPTraceEvent_Wait_100Continue struct {
	Wait_100Continue *HTTPWait100Continue `protobuf:"bytes,14,opt,name=wait_100_continue,json=wait100Continue,proto3,oneof"`
}

type HTTPTraceEvent_WroteHeaders

type HTTPTraceEvent_WroteHeaders struct {
	WroteHeaders *HTTPWroteHeaders `protobuf:"bytes,12,opt,name=wrote_headers,json=wroteHeaders,proto3,oneof"`
}

type HTTPTraceEvent_WroteRequest

type HTTPTraceEvent_WroteRequest struct {
	WroteRequest *HTTPWroteRequest `protobuf:"bytes,13,opt,name=wrote_request,json=wroteRequest,proto3,oneof"`
}

type HTTPWait100Continue

type HTTPWait100Continue struct {
	// contains filtered or unexported fields
}

func (*HTTPWait100Continue) Descriptor deprecated

func (*HTTPWait100Continue) Descriptor() ([]byte, []int)

Deprecated: Use HTTPWait100Continue.ProtoReflect.Descriptor instead.

func (*HTTPWait100Continue) ProtoMessage

func (*HTTPWait100Continue) ProtoMessage()

func (*HTTPWait100Continue) ProtoReflect

func (x *HTTPWait100Continue) ProtoReflect() protoreflect.Message

func (*HTTPWait100Continue) Reset

func (x *HTTPWait100Continue) Reset()

func (*HTTPWait100Continue) String

func (x *HTTPWait100Continue) String() string

type HTTPWroteHeaders

type HTTPWroteHeaders struct {
	// contains filtered or unexported fields
}

func (*HTTPWroteHeaders) Descriptor deprecated

func (*HTTPWroteHeaders) Descriptor() ([]byte, []int)

Deprecated: Use HTTPWroteHeaders.ProtoReflect.Descriptor instead.

func (*HTTPWroteHeaders) ProtoMessage

func (*HTTPWroteHeaders) ProtoMessage()

func (*HTTPWroteHeaders) ProtoReflect

func (x *HTTPWroteHeaders) ProtoReflect() protoreflect.Message

func (*HTTPWroteHeaders) Reset

func (x *HTTPWroteHeaders) Reset()

func (*HTTPWroteHeaders) String

func (x *HTTPWroteHeaders) String() string

type HTTPWroteRequest

type HTTPWroteRequest struct {
	Err []byte `protobuf:"bytes,1,opt,name=err,proto3,oneof" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPWroteRequest) Descriptor deprecated

func (*HTTPWroteRequest) Descriptor() ([]byte, []int)

Deprecated: Use HTTPWroteRequest.ProtoReflect.Descriptor instead.

func (*HTTPWroteRequest) GetErr

func (x *HTTPWroteRequest) GetErr() []byte

func (*HTTPWroteRequest) ProtoMessage

func (*HTTPWroteRequest) ProtoMessage()

func (*HTTPWroteRequest) ProtoReflect

func (x *HTTPWroteRequest) ProtoReflect() protoreflect.Message

func (*HTTPWroteRequest) Reset

func (x *HTTPWroteRequest) Reset()

func (*HTTPWroteRequest) String

func (x *HTTPWroteRequest) String() string

type LogField

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

func (*LogField) Descriptor() ([]byte, []int)

Deprecated: Use LogField.ProtoReflect.Descriptor instead.

func (*LogField) GetBool

func (x *LogField) GetBool() bool

func (*LogField) GetDur

func (x *LogField) GetDur() int64

func (*LogField) GetError

func (x *LogField) GetError() *Error

func (*LogField) GetFloat32

func (x *LogField) GetFloat32() float32

func (*LogField) GetFloat64

func (x *LogField) GetFloat64() float64

func (*LogField) GetInt

func (x *LogField) GetInt() int64

func (*LogField) GetJson

func (x *LogField) GetJson() []byte

func (*LogField) GetKey

func (x *LogField) GetKey() string

func (*LogField) GetStr

func (x *LogField) GetStr() string

func (*LogField) GetTime

func (x *LogField) GetTime() *timestamppb.Timestamp

func (*LogField) GetUint

func (x *LogField) GetUint() uint64

func (*LogField) GetUuid

func (x *LogField) GetUuid() []byte

func (*LogField) GetValue

func (m *LogField) GetValue() isLogField_Value

func (*LogField) ProtoMessage

func (*LogField) ProtoMessage()

func (*LogField) ProtoReflect

func (x *LogField) ProtoReflect() protoreflect.Message

func (*LogField) Reset

func (x *LogField) Reset()

func (*LogField) String

func (x *LogField) String() string

type LogField_Bool

type LogField_Bool struct {
	Bool bool `protobuf:"varint,4,opt,name=bool,proto3,oneof"`
}

type LogField_Dur

type LogField_Dur struct {
	Dur int64 `protobuf:"varint,6,opt,name=dur,proto3,oneof"`
}

type LogField_Error

type LogField_Error struct {
	Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type LogField_Float32

type LogField_Float32 struct {
	Float32 float32 `protobuf:"fixed32,11,opt,name=float32,proto3,oneof"`
}

type LogField_Float64

type LogField_Float64 struct {
	Float64 float64 `protobuf:"fixed64,12,opt,name=float64,proto3,oneof"`
}

type LogField_Int

type LogField_Int struct {
	Int int64 `protobuf:"varint,9,opt,name=int,proto3,oneof"`
}

type LogField_Json

type LogField_Json struct {
	Json []byte `protobuf:"bytes,8,opt,name=json,proto3,oneof"`
}

type LogField_Str

type LogField_Str struct {
	Str string `protobuf:"bytes,3,opt,name=str,proto3,oneof"`
}

type LogField_Time

type LogField_Time struct {
	Time *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time,proto3,oneof"`
}

type LogField_Uint

type LogField_Uint struct {
	Uint uint64 `protobuf:"varint,10,opt,name=uint,proto3,oneof"`
}

type LogField_Uuid

type LogField_Uuid struct {
	Uuid []byte `protobuf:"bytes,7,opt,name=uuid,proto3,oneof"`
}

type LogMessage

type LogMessage struct {
	Level  LogMessage_Level `protobuf:"varint,1,opt,name=level,proto3,enum=encore.engine.trace2.LogMessage_Level" json:"level,omitempty"`
	Msg    string           `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Fields []*LogField      `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
	Stack  *StackTrace      `protobuf:"bytes,4,opt,name=stack,proto3" json:"stack,omitempty"`
	// contains filtered or unexported fields
}

func (*LogMessage) Descriptor deprecated

func (*LogMessage) Descriptor() ([]byte, []int)

Deprecated: Use LogMessage.ProtoReflect.Descriptor instead.

func (*LogMessage) GetFields

func (x *LogMessage) GetFields() []*LogField

func (*LogMessage) GetLevel

func (x *LogMessage) GetLevel() LogMessage_Level

func (*LogMessage) GetMsg

func (x *LogMessage) GetMsg() string

func (*LogMessage) GetStack

func (x *LogMessage) GetStack() *StackTrace

func (*LogMessage) ProtoMessage

func (*LogMessage) ProtoMessage()

func (*LogMessage) ProtoReflect

func (x *LogMessage) ProtoReflect() protoreflect.Message

func (*LogMessage) Reset

func (x *LogMessage) Reset()

func (*LogMessage) String

func (x *LogMessage) String() string

type LogMessage_Level

type LogMessage_Level int32

Note: These values don't match the values used by the binary trace protocol, as these values are stored in persisted traces and therefore must maintain backwards compatibility. The binary trace protocol is versioned and doesn't have the same limitations.

const (
	LogMessage_DEBUG LogMessage_Level = 0
	LogMessage_INFO  LogMessage_Level = 1
	LogMessage_ERROR LogMessage_Level = 2
	LogMessage_WARN  LogMessage_Level = 3
	LogMessage_TRACE LogMessage_Level = 4
)

func (LogMessage_Level) Descriptor

func (LogMessage_Level) Enum

func (LogMessage_Level) EnumDescriptor deprecated

func (LogMessage_Level) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogMessage_Level.Descriptor instead.

func (LogMessage_Level) Number

func (LogMessage_Level) String

func (x LogMessage_Level) String() string

func (LogMessage_Level) Type

type PubsubMessageSpanEnd

type PubsubMessageSpanEnd struct {

	// Repeat service/topic/subscription name here to make it possible
	// to consume end events without having to look up the start.
	ServiceName      string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	TopicName        string `protobuf:"bytes,2,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"`
	SubscriptionName string `protobuf:"bytes,3,opt,name=subscription_name,json=subscriptionName,proto3" json:"subscription_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PubsubMessageSpanEnd) Descriptor deprecated

func (*PubsubMessageSpanEnd) Descriptor() ([]byte, []int)

Deprecated: Use PubsubMessageSpanEnd.ProtoReflect.Descriptor instead.

func (*PubsubMessageSpanEnd) GetServiceName

func (x *PubsubMessageSpanEnd) GetServiceName() string

func (*PubsubMessageSpanEnd) GetSubscriptionName

func (x *PubsubMessageSpanEnd) GetSubscriptionName() string

func (*PubsubMessageSpanEnd) GetTopicName

func (x *PubsubMessageSpanEnd) GetTopicName() string

func (*PubsubMessageSpanEnd) ProtoMessage

func (*PubsubMessageSpanEnd) ProtoMessage()

func (*PubsubMessageSpanEnd) ProtoReflect

func (x *PubsubMessageSpanEnd) ProtoReflect() protoreflect.Message

func (*PubsubMessageSpanEnd) Reset

func (x *PubsubMessageSpanEnd) Reset()

func (*PubsubMessageSpanEnd) String

func (x *PubsubMessageSpanEnd) String() string

type PubsubMessageSpanStart

type PubsubMessageSpanStart struct {
	ServiceName      string                 `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	TopicName        string                 `protobuf:"bytes,2,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"`
	SubscriptionName string                 `protobuf:"bytes,3,opt,name=subscription_name,json=subscriptionName,proto3" json:"subscription_name,omitempty"`
	MessageId        string                 `protobuf:"bytes,4,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	Attempt          uint32                 `protobuf:"varint,5,opt,name=attempt,proto3" json:"attempt,omitempty"`
	PublishTime      *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
	MessagePayload   []byte                 `protobuf:"bytes,7,opt,name=message_payload,json=messagePayload,proto3,oneof" json:"message_payload,omitempty"`
	// contains filtered or unexported fields
}

func (*PubsubMessageSpanStart) Descriptor deprecated

func (*PubsubMessageSpanStart) Descriptor() ([]byte, []int)

Deprecated: Use PubsubMessageSpanStart.ProtoReflect.Descriptor instead.

func (*PubsubMessageSpanStart) GetAttempt

func (x *PubsubMessageSpanStart) GetAttempt() uint32

func (*PubsubMessageSpanStart) GetMessageId

func (x *PubsubMessageSpanStart) GetMessageId() string

func (*PubsubMessageSpanStart) GetMessagePayload

func (x *PubsubMessageSpanStart) GetMessagePayload() []byte

func (*PubsubMessageSpanStart) GetPublishTime

func (x *PubsubMessageSpanStart) GetPublishTime() *timestamppb.Timestamp

func (*PubsubMessageSpanStart) GetServiceName

func (x *PubsubMessageSpanStart) GetServiceName() string

func (*PubsubMessageSpanStart) GetSubscriptionName

func (x *PubsubMessageSpanStart) GetSubscriptionName() string

func (*PubsubMessageSpanStart) GetTopicName

func (x *PubsubMessageSpanStart) GetTopicName() string

func (*PubsubMessageSpanStart) ProtoMessage

func (*PubsubMessageSpanStart) ProtoMessage()

func (*PubsubMessageSpanStart) ProtoReflect

func (x *PubsubMessageSpanStart) ProtoReflect() protoreflect.Message

func (*PubsubMessageSpanStart) Reset

func (x *PubsubMessageSpanStart) Reset()

func (*PubsubMessageSpanStart) String

func (x *PubsubMessageSpanStart) String() string

type PubsubPublishEnd

type PubsubPublishEnd struct {
	MessageId *string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3,oneof" json:"message_id,omitempty"`
	Err       *Error  `protobuf:"bytes,2,opt,name=err,proto3,oneof" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*PubsubPublishEnd) Descriptor deprecated

func (*PubsubPublishEnd) Descriptor() ([]byte, []int)

Deprecated: Use PubsubPublishEnd.ProtoReflect.Descriptor instead.

func (*PubsubPublishEnd) GetErr

func (x *PubsubPublishEnd) GetErr() *Error

func (*PubsubPublishEnd) GetMessageId

func (x *PubsubPublishEnd) GetMessageId() string

func (*PubsubPublishEnd) ProtoMessage

func (*PubsubPublishEnd) ProtoMessage()

func (*PubsubPublishEnd) ProtoReflect

func (x *PubsubPublishEnd) ProtoReflect() protoreflect.Message

func (*PubsubPublishEnd) Reset

func (x *PubsubPublishEnd) Reset()

func (*PubsubPublishEnd) String

func (x *PubsubPublishEnd) String() string

type PubsubPublishStart

type PubsubPublishStart struct {
	Topic   string      `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	Message []byte      `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Stack   *StackTrace `protobuf:"bytes,3,opt,name=stack,proto3" json:"stack,omitempty"`
	// contains filtered or unexported fields
}

func (*PubsubPublishStart) Descriptor deprecated

func (*PubsubPublishStart) Descriptor() ([]byte, []int)

Deprecated: Use PubsubPublishStart.ProtoReflect.Descriptor instead.

func (*PubsubPublishStart) GetMessage

func (x *PubsubPublishStart) GetMessage() []byte

func (*PubsubPublishStart) GetStack

func (x *PubsubPublishStart) GetStack() *StackTrace

func (*PubsubPublishStart) GetTopic

func (x *PubsubPublishStart) GetTopic() string

func (*PubsubPublishStart) ProtoMessage

func (*PubsubPublishStart) ProtoMessage()

func (*PubsubPublishStart) ProtoReflect

func (x *PubsubPublishStart) ProtoReflect() protoreflect.Message

func (*PubsubPublishStart) Reset

func (x *PubsubPublishStart) Reset()

func (*PubsubPublishStart) String

func (x *PubsubPublishStart) String() string

type RPCCallEnd

type RPCCallEnd struct {
	Err *Error `protobuf:"bytes,1,opt,name=err,proto3,oneof" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*RPCCallEnd) Descriptor deprecated

func (*RPCCallEnd) Descriptor() ([]byte, []int)

Deprecated: Use RPCCallEnd.ProtoReflect.Descriptor instead.

func (*RPCCallEnd) GetErr

func (x *RPCCallEnd) GetErr() *Error

func (*RPCCallEnd) ProtoMessage

func (*RPCCallEnd) ProtoMessage()

func (*RPCCallEnd) ProtoReflect

func (x *RPCCallEnd) ProtoReflect() protoreflect.Message

func (*RPCCallEnd) Reset

func (x *RPCCallEnd) Reset()

func (*RPCCallEnd) String

func (x *RPCCallEnd) String() string

type RPCCallStart

type RPCCallStart struct {
	TargetServiceName  string      `protobuf:"bytes,1,opt,name=target_service_name,json=targetServiceName,proto3" json:"target_service_name,omitempty"`
	TargetEndpointName string      `protobuf:"bytes,2,opt,name=target_endpoint_name,json=targetEndpointName,proto3" json:"target_endpoint_name,omitempty"`
	Stack              *StackTrace `protobuf:"bytes,3,opt,name=stack,proto3" json:"stack,omitempty"`
	// contains filtered or unexported fields
}

func (*RPCCallStart) Descriptor deprecated

func (*RPCCallStart) Descriptor() ([]byte, []int)

Deprecated: Use RPCCallStart.ProtoReflect.Descriptor instead.

func (*RPCCallStart) GetStack

func (x *RPCCallStart) GetStack() *StackTrace

func (*RPCCallStart) GetTargetEndpointName

func (x *RPCCallStart) GetTargetEndpointName() string

func (*RPCCallStart) GetTargetServiceName

func (x *RPCCallStart) GetTargetServiceName() string

func (*RPCCallStart) ProtoMessage

func (*RPCCallStart) ProtoMessage()

func (*RPCCallStart) ProtoReflect

func (x *RPCCallStart) ProtoReflect() protoreflect.Message

func (*RPCCallStart) Reset

func (x *RPCCallStart) Reset()

func (*RPCCallStart) String

func (x *RPCCallStart) String() string

type RequestSpanEnd

type RequestSpanEnd struct {

	// Repeat service/endpoint name here to make it possible
	// to consume end events without having to look up the start.
	ServiceName     string            `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	EndpointName    string            `protobuf:"bytes,2,opt,name=endpoint_name,json=endpointName,proto3" json:"endpoint_name,omitempty"`
	HttpStatusCode  uint32            `protobuf:"varint,3,opt,name=http_status_code,json=httpStatusCode,proto3" json:"http_status_code,omitempty"`
	ResponseHeaders map[string]string `` /* 194-byte string literal not displayed */
	ResponsePayload []byte            `protobuf:"bytes,5,opt,name=response_payload,json=responsePayload,proto3,oneof" json:"response_payload,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestSpanEnd) Descriptor deprecated

func (*RequestSpanEnd) Descriptor() ([]byte, []int)

Deprecated: Use RequestSpanEnd.ProtoReflect.Descriptor instead.

func (*RequestSpanEnd) GetEndpointName

func (x *RequestSpanEnd) GetEndpointName() string

func (*RequestSpanEnd) GetHttpStatusCode

func (x *RequestSpanEnd) GetHttpStatusCode() uint32

func (*RequestSpanEnd) GetResponseHeaders

func (x *RequestSpanEnd) GetResponseHeaders() map[string]string

func (*RequestSpanEnd) GetResponsePayload

func (x *RequestSpanEnd) GetResponsePayload() []byte

func (*RequestSpanEnd) GetServiceName

func (x *RequestSpanEnd) GetServiceName() string

func (*RequestSpanEnd) ProtoMessage

func (*RequestSpanEnd) ProtoMessage()

func (*RequestSpanEnd) ProtoReflect

func (x *RequestSpanEnd) ProtoReflect() protoreflect.Message

func (*RequestSpanEnd) Reset

func (x *RequestSpanEnd) Reset()

func (*RequestSpanEnd) String

func (x *RequestSpanEnd) String() string

type RequestSpanStart

type RequestSpanStart struct {
	ServiceName      string            `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	EndpointName     string            `protobuf:"bytes,2,opt,name=endpoint_name,json=endpointName,proto3" json:"endpoint_name,omitempty"`
	HttpMethod       string            `protobuf:"bytes,3,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"`
	Path             string            `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	PathParams       []string          `protobuf:"bytes,5,rep,name=path_params,json=pathParams,proto3" json:"path_params,omitempty"`
	RequestHeaders   map[string]string `` /* 191-byte string literal not displayed */
	RequestPayload   []byte            `protobuf:"bytes,7,opt,name=request_payload,json=requestPayload,proto3,oneof" json:"request_payload,omitempty"`
	ExtCorrelationId *string           `protobuf:"bytes,8,opt,name=ext_correlation_id,json=extCorrelationId,proto3,oneof" json:"ext_correlation_id,omitempty"`
	Uid              *string           `protobuf:"bytes,9,opt,name=uid,proto3,oneof" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestSpanStart) Descriptor deprecated

func (*RequestSpanStart) Descriptor() ([]byte, []int)

Deprecated: Use RequestSpanStart.ProtoReflect.Descriptor instead.

func (*RequestSpanStart) GetEndpointName

func (x *RequestSpanStart) GetEndpointName() string

func (*RequestSpanStart) GetExtCorrelationId

func (x *RequestSpanStart) GetExtCorrelationId() string

func (*RequestSpanStart) GetHttpMethod

func (x *RequestSpanStart) GetHttpMethod() string

func (*RequestSpanStart) GetPath

func (x *RequestSpanStart) GetPath() string

func (*RequestSpanStart) GetPathParams

func (x *RequestSpanStart) GetPathParams() []string

func (*RequestSpanStart) GetRequestHeaders

func (x *RequestSpanStart) GetRequestHeaders() map[string]string

func (*RequestSpanStart) GetRequestPayload

func (x *RequestSpanStart) GetRequestPayload() []byte

func (*RequestSpanStart) GetServiceName

func (x *RequestSpanStart) GetServiceName() string

func (*RequestSpanStart) GetUid

func (x *RequestSpanStart) GetUid() string

func (*RequestSpanStart) ProtoMessage

func (*RequestSpanStart) ProtoMessage()

func (*RequestSpanStart) ProtoReflect

func (x *RequestSpanStart) ProtoReflect() protoreflect.Message

func (*RequestSpanStart) Reset

func (x *RequestSpanStart) Reset()

func (*RequestSpanStart) String

func (x *RequestSpanStart) String() string

type ServiceInitEnd

type ServiceInitEnd struct {
	Err *Error `protobuf:"bytes,1,opt,name=err,proto3,oneof" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceInitEnd) Descriptor deprecated

func (*ServiceInitEnd) Descriptor() ([]byte, []int)

Deprecated: Use ServiceInitEnd.ProtoReflect.Descriptor instead.

func (*ServiceInitEnd) GetErr

func (x *ServiceInitEnd) GetErr() *Error

func (*ServiceInitEnd) ProtoMessage

func (*ServiceInitEnd) ProtoMessage()

func (*ServiceInitEnd) ProtoReflect

func (x *ServiceInitEnd) ProtoReflect() protoreflect.Message

func (*ServiceInitEnd) Reset

func (x *ServiceInitEnd) Reset()

func (*ServiceInitEnd) String

func (x *ServiceInitEnd) String() string

type ServiceInitStart

type ServiceInitStart struct {
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceInitStart) Descriptor deprecated

func (*ServiceInitStart) Descriptor() ([]byte, []int)

Deprecated: Use ServiceInitStart.ProtoReflect.Descriptor instead.

func (*ServiceInitStart) GetService

func (x *ServiceInitStart) GetService() string

func (*ServiceInitStart) ProtoMessage

func (*ServiceInitStart) ProtoMessage()

func (*ServiceInitStart) ProtoReflect

func (x *ServiceInitStart) ProtoReflect() protoreflect.Message

func (*ServiceInitStart) Reset

func (x *ServiceInitStart) Reset()

func (*ServiceInitStart) String

func (x *ServiceInitStart) String() string

type SpanEnd

type SpanEnd struct {
	DurationNanos uint64 `protobuf:"varint,1,opt,name=duration_nanos,json=durationNanos,proto3" json:"duration_nanos,omitempty"`
	Error         *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// panic_stack is the stack trace if the span ended due to a panic
	PanicStack    *StackTrace `protobuf:"bytes,3,opt,name=panic_stack,json=panicStack,proto3,oneof" json:"panic_stack,omitempty"`
	ParentTraceId *TraceID    `protobuf:"bytes,4,opt,name=parent_trace_id,json=parentTraceId,proto3,oneof" json:"parent_trace_id,omitempty"`
	ParentSpanId  *uint64     `protobuf:"varint,5,opt,name=parent_span_id,json=parentSpanId,proto3,oneof" json:"parent_span_id,omitempty"`
	// Types that are assignable to Data:
	//
	//	*SpanEnd_Request
	//	*SpanEnd_Auth
	//	*SpanEnd_PubsubMessage
	Data isSpanEnd_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*SpanEnd) Descriptor deprecated

func (*SpanEnd) Descriptor() ([]byte, []int)

Deprecated: Use SpanEnd.ProtoReflect.Descriptor instead.

func (*SpanEnd) GetAuth

func (x *SpanEnd) GetAuth() *AuthSpanEnd

func (*SpanEnd) GetData

func (m *SpanEnd) GetData() isSpanEnd_Data

func (*SpanEnd) GetDurationNanos

func (x *SpanEnd) GetDurationNanos() uint64

func (*SpanEnd) GetError

func (x *SpanEnd) GetError() *Error

func (*SpanEnd) GetPanicStack added in v1.20.0

func (x *SpanEnd) GetPanicStack() *StackTrace

func (*SpanEnd) GetParentSpanId

func (x *SpanEnd) GetParentSpanId() uint64

func (*SpanEnd) GetParentTraceId

func (x *SpanEnd) GetParentTraceId() *TraceID

func (*SpanEnd) GetPubsubMessage

func (x *SpanEnd) GetPubsubMessage() *PubsubMessageSpanEnd

func (*SpanEnd) GetRequest

func (x *SpanEnd) GetRequest() *RequestSpanEnd

func (*SpanEnd) ProtoMessage

func (*SpanEnd) ProtoMessage()

func (*SpanEnd) ProtoReflect

func (x *SpanEnd) ProtoReflect() protoreflect.Message

func (*SpanEnd) Reset

func (x *SpanEnd) Reset()

func (*SpanEnd) String

func (x *SpanEnd) String() string

type SpanEnd_Auth

type SpanEnd_Auth struct {
	Auth *AuthSpanEnd `protobuf:"bytes,11,opt,name=auth,proto3,oneof"`
}

type SpanEnd_PubsubMessage

type SpanEnd_PubsubMessage struct {
	PubsubMessage *PubsubMessageSpanEnd `protobuf:"bytes,12,opt,name=pubsub_message,json=pubsubMessage,proto3,oneof"`
}

type SpanEnd_Request

type SpanEnd_Request struct {
	Request *RequestSpanEnd `protobuf:"bytes,10,opt,name=request,proto3,oneof"`
}

type SpanEvent

type SpanEvent struct {
	Goid   uint32  `protobuf:"varint,1,opt,name=goid,proto3" json:"goid,omitempty"`
	DefLoc *uint32 `protobuf:"varint,2,opt,name=def_loc,json=defLoc,proto3,oneof" json:"def_loc,omitempty"`
	// correlation_event_id is the other event
	// this event is correlated with.
	CorrelationEventId *uint64 `protobuf:"varint,3,opt,name=correlation_event_id,json=correlationEventId,proto3,oneof" json:"correlation_event_id,omitempty"`
	// Types that are assignable to Data:
	//
	//	*SpanEvent_LogMessage
	//	*SpanEvent_BodyStream
	//	*SpanEvent_RpcCallStart
	//	*SpanEvent_RpcCallEnd
	//	*SpanEvent_DbTransactionStart
	//	*SpanEvent_DbTransactionEnd
	//	*SpanEvent_DbQueryStart
	//	*SpanEvent_DbQueryEnd
	//	*SpanEvent_HttpCallStart
	//	*SpanEvent_HttpCallEnd
	//	*SpanEvent_PubsubPublishStart
	//	*SpanEvent_PubsubPublishEnd
	//	*SpanEvent_CacheCallStart
	//	*SpanEvent_CacheCallEnd
	//	*SpanEvent_ServiceInitStart
	//	*SpanEvent_ServiceInitEnd
	Data isSpanEvent_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*SpanEvent) Descriptor deprecated

func (*SpanEvent) Descriptor() ([]byte, []int)

Deprecated: Use SpanEvent.ProtoReflect.Descriptor instead.

func (*SpanEvent) GetBodyStream

func (x *SpanEvent) GetBodyStream() *BodyStream

func (*SpanEvent) GetCacheCallEnd

func (x *SpanEvent) GetCacheCallEnd() *CacheCallEnd

func (*SpanEvent) GetCacheCallStart

func (x *SpanEvent) GetCacheCallStart() *CacheCallStart

func (*SpanEvent) GetCorrelationEventId

func (x *SpanEvent) GetCorrelationEventId() uint64

func (*SpanEvent) GetData

func (m *SpanEvent) GetData() isSpanEvent_Data

func (*SpanEvent) GetDbQueryEnd

func (x *SpanEvent) GetDbQueryEnd() *DBQueryEnd

func (*SpanEvent) GetDbQueryStart

func (x *SpanEvent) GetDbQueryStart() *DBQueryStart

func (*SpanEvent) GetDbTransactionEnd

func (x *SpanEvent) GetDbTransactionEnd() *DBTransactionEnd

func (*SpanEvent) GetDbTransactionStart

func (x *SpanEvent) GetDbTransactionStart() *DBTransactionStart

func (*SpanEvent) GetDefLoc

func (x *SpanEvent) GetDefLoc() uint32

func (*SpanEvent) GetGoid

func (x *SpanEvent) GetGoid() uint32

func (*SpanEvent) GetHttpCallEnd

func (x *SpanEvent) GetHttpCallEnd() *HTTPCallEnd

func (*SpanEvent) GetHttpCallStart

func (x *SpanEvent) GetHttpCallStart() *HTTPCallStart

func (*SpanEvent) GetLogMessage

func (x *SpanEvent) GetLogMessage() *LogMessage

func (*SpanEvent) GetPubsubPublishEnd

func (x *SpanEvent) GetPubsubPublishEnd() *PubsubPublishEnd

func (*SpanEvent) GetPubsubPublishStart

func (x *SpanEvent) GetPubsubPublishStart() *PubsubPublishStart

func (*SpanEvent) GetRpcCallEnd

func (x *SpanEvent) GetRpcCallEnd() *RPCCallEnd

func (*SpanEvent) GetRpcCallStart

func (x *SpanEvent) GetRpcCallStart() *RPCCallStart

func (*SpanEvent) GetServiceInitEnd

func (x *SpanEvent) GetServiceInitEnd() *ServiceInitEnd

func (*SpanEvent) GetServiceInitStart

func (x *SpanEvent) GetServiceInitStart() *ServiceInitStart

func (*SpanEvent) ProtoMessage

func (*SpanEvent) ProtoMessage()

func (*SpanEvent) ProtoReflect

func (x *SpanEvent) ProtoReflect() protoreflect.Message

func (*SpanEvent) Reset

func (x *SpanEvent) Reset()

func (*SpanEvent) String

func (x *SpanEvent) String() string

type SpanEvent_BodyStream

type SpanEvent_BodyStream struct {
	BodyStream *BodyStream `protobuf:"bytes,11,opt,name=body_stream,json=bodyStream,proto3,oneof"`
}

type SpanEvent_CacheCallEnd

type SpanEvent_CacheCallEnd struct {
	CacheCallEnd *CacheCallEnd `protobuf:"bytes,23,opt,name=cache_call_end,json=cacheCallEnd,proto3,oneof"`
}

type SpanEvent_CacheCallStart

type SpanEvent_CacheCallStart struct {
	CacheCallStart *CacheCallStart `protobuf:"bytes,22,opt,name=cache_call_start,json=cacheCallStart,proto3,oneof"`
}

type SpanEvent_DbQueryEnd

type SpanEvent_DbQueryEnd struct {
	DbQueryEnd *DBQueryEnd `protobuf:"bytes,17,opt,name=db_query_end,json=dbQueryEnd,proto3,oneof"`
}

type SpanEvent_DbQueryStart

type SpanEvent_DbQueryStart struct {
	DbQueryStart *DBQueryStart `protobuf:"bytes,16,opt,name=db_query_start,json=dbQueryStart,proto3,oneof"`
}

type SpanEvent_DbTransactionEnd

type SpanEvent_DbTransactionEnd struct {
	DbTransactionEnd *DBTransactionEnd `protobuf:"bytes,15,opt,name=db_transaction_end,json=dbTransactionEnd,proto3,oneof"`
}

type SpanEvent_DbTransactionStart

type SpanEvent_DbTransactionStart struct {
	DbTransactionStart *DBTransactionStart `protobuf:"bytes,14,opt,name=db_transaction_start,json=dbTransactionStart,proto3,oneof"`
}

type SpanEvent_HttpCallEnd

type SpanEvent_HttpCallEnd struct {
	HttpCallEnd *HTTPCallEnd `protobuf:"bytes,19,opt,name=http_call_end,json=httpCallEnd,proto3,oneof"`
}

type SpanEvent_HttpCallStart

type SpanEvent_HttpCallStart struct {
	HttpCallStart *HTTPCallStart `protobuf:"bytes,18,opt,name=http_call_start,json=httpCallStart,proto3,oneof"`
}

type SpanEvent_LogMessage

type SpanEvent_LogMessage struct {
	LogMessage *LogMessage `protobuf:"bytes,10,opt,name=log_message,json=logMessage,proto3,oneof"`
}

type SpanEvent_PubsubPublishEnd

type SpanEvent_PubsubPublishEnd struct {
	PubsubPublishEnd *PubsubPublishEnd `protobuf:"bytes,21,opt,name=pubsub_publish_end,json=pubsubPublishEnd,proto3,oneof"`
}

type SpanEvent_PubsubPublishStart

type SpanEvent_PubsubPublishStart struct {
	PubsubPublishStart *PubsubPublishStart `protobuf:"bytes,20,opt,name=pubsub_publish_start,json=pubsubPublishStart,proto3,oneof"`
}

type SpanEvent_RpcCallEnd

type SpanEvent_RpcCallEnd struct {
	RpcCallEnd *RPCCallEnd `protobuf:"bytes,13,opt,name=rpc_call_end,json=rpcCallEnd,proto3,oneof"`
}

type SpanEvent_RpcCallStart

type SpanEvent_RpcCallStart struct {
	RpcCallStart *RPCCallStart `protobuf:"bytes,12,opt,name=rpc_call_start,json=rpcCallStart,proto3,oneof"`
}

type SpanEvent_ServiceInitEnd

type SpanEvent_ServiceInitEnd struct {
	ServiceInitEnd *ServiceInitEnd `protobuf:"bytes,25,opt,name=service_init_end,json=serviceInitEnd,proto3,oneof"`
}

type SpanEvent_ServiceInitStart

type SpanEvent_ServiceInitStart struct {
	ServiceInitStart *ServiceInitStart `protobuf:"bytes,24,opt,name=service_init_start,json=serviceInitStart,proto3,oneof"`
}

type SpanStart

type SpanStart struct {
	Goid                  uint32   `protobuf:"varint,1,opt,name=goid,proto3" json:"goid,omitempty"`
	ParentTraceId         *TraceID `protobuf:"bytes,2,opt,name=parent_trace_id,json=parentTraceId,proto3,oneof" json:"parent_trace_id,omitempty"`
	ParentSpanId          *uint64  `protobuf:"varint,3,opt,name=parent_span_id,json=parentSpanId,proto3,oneof" json:"parent_span_id,omitempty"`
	CallerEventId         *uint64  `protobuf:"varint,4,opt,name=caller_event_id,json=callerEventId,proto3,oneof" json:"caller_event_id,omitempty"`
	ExternalCorrelationId *string  `` /* 132-byte string literal not displayed */
	DefLoc                *uint32  `protobuf:"varint,6,opt,name=def_loc,json=defLoc,proto3,oneof" json:"def_loc,omitempty"`
	// Types that are assignable to Data:
	//
	//	*SpanStart_Request
	//	*SpanStart_Auth
	//	*SpanStart_PubsubMessage
	Data isSpanStart_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*SpanStart) Descriptor deprecated

func (*SpanStart) Descriptor() ([]byte, []int)

Deprecated: Use SpanStart.ProtoReflect.Descriptor instead.

func (*SpanStart) GetAuth

func (x *SpanStart) GetAuth() *AuthSpanStart

func (*SpanStart) GetCallerEventId

func (x *SpanStart) GetCallerEventId() uint64

func (*SpanStart) GetData

func (m *SpanStart) GetData() isSpanStart_Data

func (*SpanStart) GetDefLoc

func (x *SpanStart) GetDefLoc() uint32

func (*SpanStart) GetExternalCorrelationId

func (x *SpanStart) GetExternalCorrelationId() string

func (*SpanStart) GetGoid

func (x *SpanStart) GetGoid() uint32

func (*SpanStart) GetParentSpanId

func (x *SpanStart) GetParentSpanId() uint64

func (*SpanStart) GetParentTraceId

func (x *SpanStart) GetParentTraceId() *TraceID

func (*SpanStart) GetPubsubMessage

func (x *SpanStart) GetPubsubMessage() *PubsubMessageSpanStart

func (*SpanStart) GetRequest

func (x *SpanStart) GetRequest() *RequestSpanStart

func (*SpanStart) ProtoMessage

func (*SpanStart) ProtoMessage()

func (*SpanStart) ProtoReflect

func (x *SpanStart) ProtoReflect() protoreflect.Message

func (*SpanStart) Reset

func (x *SpanStart) Reset()

func (*SpanStart) String

func (x *SpanStart) String() string

type SpanStart_Auth

type SpanStart_Auth struct {
	Auth *AuthSpanStart `protobuf:"bytes,11,opt,name=auth,proto3,oneof"`
}

type SpanStart_PubsubMessage

type SpanStart_PubsubMessage struct {
	PubsubMessage *PubsubMessageSpanStart `protobuf:"bytes,12,opt,name=pubsub_message,json=pubsubMessage,proto3,oneof"`
}

type SpanStart_Request

type SpanStart_Request struct {
	Request *RequestSpanStart `protobuf:"bytes,10,opt,name=request,proto3,oneof"`
}

type SpanSummary

type SpanSummary struct {
	TraceId          string                 `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	SpanId           string                 `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
	Type             SpanSummary_SpanType   `protobuf:"varint,3,opt,name=type,proto3,enum=encore.engine.trace2.SpanSummary_SpanType" json:"type,omitempty"`
	IsRoot           bool                   `protobuf:"varint,4,opt,name=is_root,json=isRoot,proto3" json:"is_root,omitempty"`                        // whether it's a root request
	IsError          bool                   `protobuf:"varint,5,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`                     // whether the request failed
	DeployedCommit   string                 `protobuf:"bytes,6,opt,name=deployed_commit,json=deployedCommit,proto3" json:"deployed_commit,omitempty"` // the commit hash of the running service
	StartedAt        *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	DurationNanos    uint64                 `protobuf:"varint,8,opt,name=duration_nanos,json=durationNanos,proto3" json:"duration_nanos,omitempty"`
	ServiceName      string                 `protobuf:"bytes,9,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	EndpointName     *string                `protobuf:"bytes,10,opt,name=endpoint_name,json=endpointName,proto3,oneof" json:"endpoint_name,omitempty"`
	TopicName        *string                `protobuf:"bytes,11,opt,name=topic_name,json=topicName,proto3,oneof" json:"topic_name,omitempty"`
	SubscriptionName *string                `protobuf:"bytes,12,opt,name=subscription_name,json=subscriptionName,proto3,oneof" json:"subscription_name,omitempty"`
	MessageId        *string                `protobuf:"bytes,13,opt,name=message_id,json=messageId,proto3,oneof" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

SpanSummary summarizes a span for display purposes.

func (*SpanSummary) Descriptor deprecated

func (*SpanSummary) Descriptor() ([]byte, []int)

Deprecated: Use SpanSummary.ProtoReflect.Descriptor instead.

func (*SpanSummary) GetDeployedCommit

func (x *SpanSummary) GetDeployedCommit() string

func (*SpanSummary) GetDurationNanos

func (x *SpanSummary) GetDurationNanos() uint64

func (*SpanSummary) GetEndpointName

func (x *SpanSummary) GetEndpointName() string

func (*SpanSummary) GetIsError

func (x *SpanSummary) GetIsError() bool

func (*SpanSummary) GetIsRoot

func (x *SpanSummary) GetIsRoot() bool

func (*SpanSummary) GetMessageId

func (x *SpanSummary) GetMessageId() string

func (*SpanSummary) GetServiceName

func (x *SpanSummary) GetServiceName() string

func (*SpanSummary) GetSpanId

func (x *SpanSummary) GetSpanId() string

func (*SpanSummary) GetStartedAt

func (x *SpanSummary) GetStartedAt() *timestamppb.Timestamp

func (*SpanSummary) GetSubscriptionName

func (x *SpanSummary) GetSubscriptionName() string

func (*SpanSummary) GetTopicName

func (x *SpanSummary) GetTopicName() string

func (*SpanSummary) GetTraceId

func (x *SpanSummary) GetTraceId() string

func (*SpanSummary) GetType

func (x *SpanSummary) GetType() SpanSummary_SpanType

func (*SpanSummary) ProtoMessage

func (*SpanSummary) ProtoMessage()

func (*SpanSummary) ProtoReflect

func (x *SpanSummary) ProtoReflect() protoreflect.Message

func (*SpanSummary) Reset

func (x *SpanSummary) Reset()

func (*SpanSummary) String

func (x *SpanSummary) String() string

type SpanSummary_SpanType

type SpanSummary_SpanType int32
const (
	SpanSummary_UNKNOWN        SpanSummary_SpanType = 0
	SpanSummary_REQUEST        SpanSummary_SpanType = 1
	SpanSummary_AUTH           SpanSummary_SpanType = 2
	SpanSummary_PUBSUB_MESSAGE SpanSummary_SpanType = 3
)

func (SpanSummary_SpanType) Descriptor

func (SpanSummary_SpanType) Enum

func (SpanSummary_SpanType) EnumDescriptor deprecated

func (SpanSummary_SpanType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SpanSummary_SpanType.Descriptor instead.

func (SpanSummary_SpanType) Number

func (SpanSummary_SpanType) String

func (x SpanSummary_SpanType) String() string

func (SpanSummary_SpanType) Type

type StackFrame

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

func (*StackFrame) Descriptor() ([]byte, []int)

Deprecated: Use StackFrame.ProtoReflect.Descriptor instead.

func (*StackFrame) GetFilename

func (x *StackFrame) GetFilename() string

func (*StackFrame) GetFunc

func (x *StackFrame) GetFunc() string

func (*StackFrame) GetLine

func (x *StackFrame) GetLine() int32

func (*StackFrame) ProtoMessage

func (*StackFrame) ProtoMessage()

func (*StackFrame) ProtoReflect

func (x *StackFrame) ProtoReflect() protoreflect.Message

func (*StackFrame) Reset

func (x *StackFrame) Reset()

func (*StackFrame) String

func (x *StackFrame) String() string

type StackTrace

type StackTrace struct {
	Pcs    []int64       `protobuf:"varint,1,rep,packed,name=pcs,proto3" json:"pcs,omitempty"`
	Frames []*StackFrame `protobuf:"bytes,2,rep,name=frames,proto3" json:"frames,omitempty"`
	// contains filtered or unexported fields
}

func (*StackTrace) Descriptor deprecated

func (*StackTrace) Descriptor() ([]byte, []int)

Deprecated: Use StackTrace.ProtoReflect.Descriptor instead.

func (*StackTrace) GetFrames

func (x *StackTrace) GetFrames() []*StackFrame

func (*StackTrace) GetPcs

func (x *StackTrace) GetPcs() []int64

func (*StackTrace) ProtoMessage

func (*StackTrace) ProtoMessage()

func (*StackTrace) ProtoReflect

func (x *StackTrace) ProtoReflect() protoreflect.Message

func (*StackTrace) Reset

func (x *StackTrace) Reset()

func (*StackTrace) String

func (x *StackTrace) String() string

type TraceEvent

type TraceEvent 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"`
	EventId   uint64                 `protobuf:"varint,3,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	EventTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
	// Types that are assignable to Event:
	//
	//	*TraceEvent_SpanStart
	//	*TraceEvent_SpanEnd
	//	*TraceEvent_SpanEvent
	Event isTraceEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*TraceEvent) Descriptor deprecated

func (*TraceEvent) Descriptor() ([]byte, []int)

Deprecated: Use TraceEvent.ProtoReflect.Descriptor instead.

func (*TraceEvent) GetEvent

func (m *TraceEvent) GetEvent() isTraceEvent_Event

func (*TraceEvent) GetEventId

func (x *TraceEvent) GetEventId() uint64

func (*TraceEvent) GetEventTime

func (x *TraceEvent) GetEventTime() *timestamppb.Timestamp

func (*TraceEvent) GetSpanEnd

func (x *TraceEvent) GetSpanEnd() *SpanEnd

func (*TraceEvent) GetSpanEvent

func (x *TraceEvent) GetSpanEvent() *SpanEvent

func (*TraceEvent) GetSpanId

func (x *TraceEvent) GetSpanId() uint64

func (*TraceEvent) GetSpanStart

func (x *TraceEvent) GetSpanStart() *SpanStart

func (*TraceEvent) GetTraceId

func (x *TraceEvent) GetTraceId() *TraceID

func (*TraceEvent) ProtoMessage

func (*TraceEvent) ProtoMessage()

func (*TraceEvent) ProtoReflect

func (x *TraceEvent) ProtoReflect() protoreflect.Message

func (*TraceEvent) Reset

func (x *TraceEvent) Reset()

func (*TraceEvent) String

func (x *TraceEvent) String() string

type TraceEvent_SpanEnd

type TraceEvent_SpanEnd struct {
	SpanEnd *SpanEnd `protobuf:"bytes,11,opt,name=span_end,json=spanEnd,proto3,oneof"`
}

type TraceEvent_SpanEvent

type TraceEvent_SpanEvent struct {
	SpanEvent *SpanEvent `protobuf:"bytes,12,opt,name=span_event,json=spanEvent,proto3,oneof"`
}

type TraceEvent_SpanStart

type TraceEvent_SpanStart struct {
	SpanStart *SpanStart `protobuf:"bytes,10,opt,name=span_start,json=spanStart,proto3,oneof"`
}

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) Descriptor() ([]byte, []int)

Deprecated: Use TraceID.ProtoReflect.Descriptor instead.

func (*TraceID) GetHigh

func (x *TraceID) GetHigh() uint64

func (*TraceID) GetLow

func (x *TraceID) GetLow() uint64

func (*TraceID) IsZero

func (id *TraceID) IsZero() bool

func (*TraceID) ProtoMessage

func (*TraceID) ProtoMessage()

func (*TraceID) ProtoReflect

func (x *TraceID) ProtoReflect() protoreflect.Message

func (*TraceID) Reset

func (x *TraceID) Reset()

func (*TraceID) String

func (x *TraceID) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL