Documentation ¶
Index ¶
- Variables
- type Span
- func (*Span) Descriptor() ([]byte, []int)
- func (m *Span) GetCallResource() string
- func (m *Span) GetCallService() string
- func (m *Span) GetCallServiceType() string
- func (m *Span) GetDurationMicroseconds() int64
- func (m *Span) GetEndTimeMillisecond() int64
- func (m *Span) GetOperationName() string
- func (m *Span) GetParamFloat() map[string]float64
- func (m *Span) GetParamInt() map[string]int64
- func (m *Span) GetParamString() map[string]string
- func (m *Span) GetParentSpanId() string
- func (m *Span) GetResource() string
- func (m *Span) GetSpanId() string
- func (m *Span) GetSpanType() SpanType
- func (m *Span) GetStartTimeMicrosecond() int64
- func (m *Span) GetStartTimeMillisecond() int64
- func (m *Span) GetStatus() int64
- func (m *Span) Marshal() (dAtA []byte, err error)
- func (m *Span) MarshalTo(dAtA []byte) (int, error)
- func (*Span) ProtoMessage()
- func (m *Span) Reset()
- func (m *Span) Size() (n int)
- func (m *Span) String() string
- func (m *Span) Unmarshal(dAtA []byte) error
- func (m *Span) XXX_DiscardUnknown()
- func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Span) XXX_Merge(src proto.Message)
- func (m *Span) XXX_Size() int
- func (m *Span) XXX_Unmarshal(b []byte) error
- type SpanType
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)
- func (m *Trace) GetContainerId() string
- func (m *Trace) GetEnv() string
- func (m *Trace) GetInstanceId() string
- func (m *Trace) GetPid() int64
- func (m *Trace) GetProcessStartTime() int64
- func (m *Trace) GetService() string
- func (m *Trace) GetServiceType() string
- func (m *Trace) GetSpans() []*Span
- func (m *Trace) GetTraceId() string
- func (m *Trace) Marshal() (dAtA []byte, err error)
- func (m *Trace) MarshalTo(dAtA []byte) (int, error)
- func (*Trace) ProtoMessage()
- func (m *Trace) Reset()
- func (m *Trace) Size() (n int)
- func (m *Trace) String() string
- func (m *Trace) Unmarshal(dAtA []byte) error
- func (m *Trace) XXX_DiscardUnknown()
- func (m *Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Trace) XXX_Merge(src proto.Message)
- func (m *Trace) XXX_Size() int
- func (m *Trace) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTrace = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTrace = fmt.Errorf("proto: integer overflow") )
View Source
var SpanType_name = map[int32]string{
0: "Common",
1: "Server",
2: "Client",
}
View Source
var SpanType_value = map[string]int32{
"Common": 0,
"Server": 1,
"Client": 2,
}
Functions ¶
This section is empty.
Types ¶
type Span ¶
type Span struct { SpanId string `protobuf:"bytes,1,req,name=span_id,json=spanId" json:"span_id"` ParentSpanId string `protobuf:"bytes,2,req,name=parent_span_id,json=parentSpanId" json:"parent_span_id"` OperationName string `protobuf:"bytes,3,req,name=operation_name,json=operationName" json:"operation_name"` StartTimeMillisecond int64 `protobuf:"varint,4,req,name=start_time_millisecond,json=startTimeMillisecond" json:"start_time_millisecond"` EndTimeMillisecond int64 `protobuf:"varint,5,req,name=end_time_millisecond,json=endTimeMillisecond" json:"end_time_millisecond"` DurationMicroseconds int64 `protobuf:"varint,6,req,name=duration_microseconds,json=durationMicroseconds" json:"duration_microseconds"` Status int64 `protobuf:"varint,7,req,name=status" json:"status"` SpanType SpanType `protobuf:"varint,8,req,name=span_type,json=spanType,enum=trace_models.SpanType" json:"span_type"` StartTimeMicrosecond int64 `protobuf:"varint,9,req,name=start_time_microsecond,json=startTimeMicrosecond" json:"start_time_microsecond"` ParamInt map[string]int64 `` /* 154-byte string literal not displayed */ ParamFloat map[string]float64 `` /* 161-byte string literal not displayed */ ParamString map[string]string `` /* 162-byte string literal not displayed */ Resource string `protobuf:"bytes,40,opt,name=resource" json:"resource"` CallServiceType string `protobuf:"bytes,60,opt,name=call_service_type,json=callServiceType" json:"call_service_type"` CallService string `protobuf:"bytes,61,opt,name=call_service,json=callService" json:"call_service"` CallResource string `protobuf:"bytes,62,opt,name=call_resource,json=callResource" json:"call_resource"` }
func (*Span) Descriptor ¶
func (*Span) GetCallResource ¶
func (*Span) GetCallService ¶
func (*Span) GetCallServiceType ¶
func (*Span) GetDurationMicroseconds ¶
func (*Span) GetEndTimeMillisecond ¶
func (*Span) GetOperationName ¶
func (*Span) GetParamFloat ¶
func (*Span) GetParamInt ¶
func (*Span) GetParamString ¶
func (*Span) GetParentSpanId ¶
func (*Span) GetResource ¶
func (*Span) GetSpanType ¶
func (*Span) GetStartTimeMicrosecond ¶
func (*Span) GetStartTimeMillisecond ¶
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) XXX_DiscardUnknown ¶
func (m *Span) XXX_DiscardUnknown()
func (*Span) XXX_Unmarshal ¶
type SpanType ¶
type SpanType int32
func (SpanType) EnumDescriptor ¶
func (*SpanType) UnmarshalJSON ¶
type Trace ¶
type Trace struct { ServiceType string `protobuf:"bytes,1,req,name=service_type,json=serviceType" json:"service_type"` Service string `protobuf:"bytes,2,req,name=service" json:"service"` TraceId string `protobuf:"bytes,3,req,name=trace_id,json=traceId" json:"trace_id"` Env string `protobuf:"bytes,4,req,name=env" json:"env"` Spans []*Span `protobuf:"bytes,5,rep,name=spans" json:"spans,omitempty"` ContainerId string `protobuf:"bytes,6,opt,name=container_id,json=containerId" json:"container_id"` Pid int64 `protobuf:"varint,7,opt,name=pid" json:"pid"` ProcessStartTime int64 `protobuf:"varint,8,opt,name=process_start_time,json=processStartTime" json:"process_start_time"` InstanceId string `protobuf:"bytes,9,opt,name=instance_id,json=instanceId" json:"instance_id"` }
func (*Trace) Descriptor ¶
func (*Trace) GetContainerId ¶
func (*Trace) GetInstanceId ¶
func (*Trace) GetProcessStartTime ¶
func (*Trace) GetService ¶
func (*Trace) GetServiceType ¶
func (*Trace) GetTraceId ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) XXX_DiscardUnknown ¶
func (m *Trace) XXX_DiscardUnknown()
func (*Trace) XXX_Marshal ¶
func (*Trace) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.