Documentation ¶
Index ¶
- Variables
- type Batch
- type DependencyLink
- func (*DependencyLink) Descriptor() ([]byte, []int)deprecated
- func (x *DependencyLink) GetCallCount() uint64
- func (x *DependencyLink) GetChild() string
- func (x *DependencyLink) GetParent() string
- func (x *DependencyLink) GetSource() string
- func (*DependencyLink) ProtoMessage()
- func (x *DependencyLink) ProtoReflect() protoreflect.Message
- func (x *DependencyLink) Reset()
- func (x *DependencyLink) String() string
- type KeyValue
- func (*KeyValue) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValue) GetKey() string
- func (x *KeyValue) GetVBinary() []byte
- func (x *KeyValue) GetVBool() bool
- func (x *KeyValue) GetVFloat64() float64
- func (x *KeyValue) GetVInt64() int64
- func (x *KeyValue) GetVStr() string
- func (x *KeyValue) GetVType() ValueType
- func (*KeyValue) ProtoMessage()
- func (x *KeyValue) ProtoReflect() protoreflect.Message
- func (x *KeyValue) Reset()
- func (x *KeyValue) String() string
- type Log
- type Process
- type Span
- func (*Span) Descriptor() ([]byte, []int)deprecated
- func (x *Span) GetDuration() *durationpb.Duration
- func (x *Span) GetFlags() uint32
- func (x *Span) GetLogs() []*Log
- func (x *Span) GetOperationName() string
- func (x *Span) GetProcess() *Process
- func (x *Span) GetProcessId() string
- func (x *Span) GetReferences() []*SpanRef
- func (x *Span) GetSpanId() []byte
- func (x *Span) GetStartTime() *timestamppb.Timestamp
- func (x *Span) GetTags() []*KeyValue
- func (x *Span) GetTraceId() []byte
- func (x *Span) GetWarnings() []string
- func (*Span) ProtoMessage()
- func (x *Span) ProtoReflect() protoreflect.Message
- func (x *Span) Reset()
- func (x *Span) String() string
- type SpanRef
- func (*SpanRef) Descriptor() ([]byte, []int)deprecated
- func (x *SpanRef) GetRefType() SpanRefType
- func (x *SpanRef) GetSpanId() []byte
- func (x *SpanRef) GetTraceId() []byte
- func (*SpanRef) ProtoMessage()
- func (x *SpanRef) ProtoReflect() protoreflect.Message
- func (x *SpanRef) Reset()
- func (x *SpanRef) String() string
- type SpanRefType
- func (SpanRefType) Descriptor() protoreflect.EnumDescriptor
- func (x SpanRefType) Enum() *SpanRefType
- func (SpanRefType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SpanRefType) Number() protoreflect.EnumNumber
- func (x SpanRefType) String() string
- func (SpanRefType) Type() protoreflect.EnumType
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)deprecated
- func (x *Trace) GetProcessMap() []*Trace_ProcessMapping
- func (x *Trace) GetSpans() []*Span
- func (x *Trace) GetWarnings() []string
- func (*Trace) ProtoMessage()
- func (x *Trace) ProtoReflect() protoreflect.Message
- func (x *Trace) Reset()
- func (x *Trace) String() string
- type Trace_ProcessMapping
- func (*Trace_ProcessMapping) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_ProcessMapping) GetProcess() *Process
- func (x *Trace_ProcessMapping) GetProcessId() string
- func (*Trace_ProcessMapping) ProtoMessage()
- func (x *Trace_ProcessMapping) ProtoReflect() protoreflect.Message
- func (x *Trace_ProcessMapping) Reset()
- func (x *Trace_ProcessMapping) String() string
- type ValueType
Constants ¶
This section is empty.
Variables ¶
var ( ValueType_name = map[int32]string{ 0: "STRING", 1: "BOOL", 2: "INT64", 3: "FLOAT64", 4: "BINARY", } ValueType_value = map[string]int32{ "STRING": 0, "BOOL": 1, "INT64": 2, "FLOAT64": 3, "BINARY": 4, } )
Enum value maps for ValueType.
var ( SpanRefType_name = map[int32]string{ 0: "CHILD_OF", 1: "FOLLOWS_FROM", } SpanRefType_value = map[string]int32{ "CHILD_OF": 0, "FOLLOWS_FROM": 1, } )
Enum value maps for SpanRefType.
var File_jaeger_model_model_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct { Spans []*Span `protobuf:"bytes,1,rep,name=spans,proto3" json:"spans,omitempty"` Process *Process `protobuf:"bytes,2,opt,name=process,proto3" json:"process,omitempty"` // contains filtered or unexported fields }
Note that both Span and Batch may contain a Process. This is different from the Thrift model which was only used for transport, because Proto model is also used by the backend as the domain model, where once a batch is received it is split into individual spans which are all processed independently, and therefore they all need a Process. As far as on-the-wire semantics, both Batch and Spans in the same message may contain their own instances of Process, with span.Process taking priority over batch.Process.
func (*Batch) Descriptor
deprecated
func (*Batch) GetProcess ¶
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) ProtoReflect ¶
func (x *Batch) ProtoReflect() protoreflect.Message
type DependencyLink ¶
type DependencyLink struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Child string `protobuf:"bytes,2,opt,name=child,proto3" json:"child,omitempty"` CallCount uint64 `protobuf:"varint,3,opt,name=call_count,json=callCount,proto3" json:"call_count,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*DependencyLink) Descriptor
deprecated
func (*DependencyLink) Descriptor() ([]byte, []int)
Deprecated: Use DependencyLink.ProtoReflect.Descriptor instead.
func (*DependencyLink) GetCallCount ¶
func (x *DependencyLink) GetCallCount() uint64
func (*DependencyLink) GetChild ¶
func (x *DependencyLink) GetChild() string
func (*DependencyLink) GetParent ¶
func (x *DependencyLink) GetParent() string
func (*DependencyLink) GetSource ¶
func (x *DependencyLink) GetSource() string
func (*DependencyLink) ProtoMessage ¶
func (*DependencyLink) ProtoMessage()
func (*DependencyLink) ProtoReflect ¶
func (x *DependencyLink) ProtoReflect() protoreflect.Message
func (*DependencyLink) Reset ¶
func (x *DependencyLink) Reset()
func (*DependencyLink) String ¶
func (x *DependencyLink) String() string
type KeyValue ¶
type KeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` VType ValueType `protobuf:"varint,2,opt,name=v_type,json=vType,proto3,enum=jaeger.api_v2.ValueType" json:"v_type,omitempty"` VStr string `protobuf:"bytes,3,opt,name=v_str,json=vStr,proto3" json:"v_str,omitempty"` VBool bool `protobuf:"varint,4,opt,name=v_bool,json=vBool,proto3" json:"v_bool,omitempty"` VInt64 int64 `protobuf:"varint,5,opt,name=v_int64,json=vInt64,proto3" json:"v_int64,omitempty"` VFloat64 float64 `protobuf:"fixed64,6,opt,name=v_float64,json=vFloat64,proto3" json:"v_float64,omitempty"` VBinary []byte `protobuf:"bytes,7,opt,name=v_binary,json=vBinary,proto3" json:"v_binary,omitempty"` // contains filtered or unexported fields }
func (*KeyValue) Descriptor
deprecated
func (*KeyValue) GetVBinary ¶
func (*KeyValue) GetVFloat64 ¶
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) ProtoReflect ¶
func (x *KeyValue) ProtoReflect() protoreflect.Message
type Log ¶
type Log struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Fields []*KeyValue `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) GetTimestamp ¶
func (x *Log) GetTimestamp() *timestamppb.Timestamp
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type Process ¶
type Process struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Tags []*KeyValue `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Process) Descriptor
deprecated
func (*Process) GetServiceName ¶
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
func (*Process) ProtoReflect ¶
func (x *Process) ProtoReflect() protoreflect.Message
type Span ¶
type Span struct { TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` OperationName string `protobuf:"bytes,3,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` References []*SpanRef `protobuf:"bytes,4,rep,name=references,proto3" json:"references,omitempty"` Flags uint32 `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"` StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty"` Tags []*KeyValue `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` Logs []*Log `protobuf:"bytes,9,rep,name=logs,proto3" json:"logs,omitempty"` Process *Process `protobuf:"bytes,10,opt,name=process,proto3" json:"process,omitempty"` ProcessId string `protobuf:"bytes,11,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"` Warnings []string `protobuf:"bytes,12,rep,name=warnings,proto3" json:"warnings,omitempty"` // contains filtered or unexported fields }
func (*Span) Descriptor
deprecated
func (*Span) GetDuration ¶
func (x *Span) GetDuration() *durationpb.Duration
func (*Span) GetOperationName ¶
func (*Span) GetProcess ¶
func (*Span) GetProcessId ¶
func (*Span) GetReferences ¶
func (*Span) GetStartTime ¶
func (x *Span) GetStartTime() *timestamppb.Timestamp
func (*Span) GetTraceId ¶
func (*Span) GetWarnings ¶
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) ProtoReflect ¶
func (x *Span) ProtoReflect() protoreflect.Message
type SpanRef ¶
type SpanRef struct { TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` RefType SpanRefType `protobuf:"varint,3,opt,name=ref_type,json=refType,proto3,enum=jaeger.api_v2.SpanRefType" json:"ref_type,omitempty"` // contains filtered or unexported fields }
func (*SpanRef) Descriptor
deprecated
func (*SpanRef) GetRefType ¶
func (x *SpanRef) GetRefType() SpanRefType
func (*SpanRef) GetTraceId ¶
func (*SpanRef) ProtoMessage ¶
func (*SpanRef) ProtoMessage()
func (*SpanRef) ProtoReflect ¶
func (x *SpanRef) ProtoReflect() protoreflect.Message
type SpanRefType ¶
type SpanRefType int32
const ( SpanRefType_CHILD_OF SpanRefType = 0 SpanRefType_FOLLOWS_FROM SpanRefType = 1 )
func (SpanRefType) Descriptor ¶
func (SpanRefType) Descriptor() protoreflect.EnumDescriptor
func (SpanRefType) Enum ¶
func (x SpanRefType) Enum() *SpanRefType
func (SpanRefType) EnumDescriptor
deprecated
func (SpanRefType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SpanRefType.Descriptor instead.
func (SpanRefType) Number ¶
func (x SpanRefType) Number() protoreflect.EnumNumber
func (SpanRefType) String ¶
func (x SpanRefType) String() string
func (SpanRefType) Type ¶
func (SpanRefType) Type() protoreflect.EnumType
type Trace ¶
type Trace struct { Spans []*Span `protobuf:"bytes,1,rep,name=spans,proto3" json:"spans,omitempty"` ProcessMap []*Trace_ProcessMapping `protobuf:"bytes,2,rep,name=process_map,json=processMap,proto3" json:"process_map,omitempty"` Warnings []string `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"` // contains filtered or unexported fields }
func (*Trace) Descriptor
deprecated
func (*Trace) GetProcessMap ¶
func (x *Trace) GetProcessMap() []*Trace_ProcessMapping
func (*Trace) GetWarnings ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) ProtoReflect ¶
func (x *Trace) ProtoReflect() protoreflect.Message
type Trace_ProcessMapping ¶
type Trace_ProcessMapping struct { ProcessId string `protobuf:"bytes,1,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"` Process *Process `protobuf:"bytes,2,opt,name=process,proto3" json:"process,omitempty"` // contains filtered or unexported fields }
func (*Trace_ProcessMapping) Descriptor
deprecated
func (*Trace_ProcessMapping) Descriptor() ([]byte, []int)
Deprecated: Use Trace_ProcessMapping.ProtoReflect.Descriptor instead.
func (*Trace_ProcessMapping) GetProcess ¶
func (x *Trace_ProcessMapping) GetProcess() *Process
func (*Trace_ProcessMapping) GetProcessId ¶
func (x *Trace_ProcessMapping) GetProcessId() string
func (*Trace_ProcessMapping) ProtoMessage ¶
func (*Trace_ProcessMapping) ProtoMessage()
func (*Trace_ProcessMapping) ProtoReflect ¶
func (x *Trace_ProcessMapping) ProtoReflect() protoreflect.Message
func (*Trace_ProcessMapping) Reset ¶
func (x *Trace_ProcessMapping) Reset()
func (*Trace_ProcessMapping) String ¶
func (x *Trace_ProcessMapping) String() string
type ValueType ¶
type ValueType int32
func (ValueType) Descriptor ¶
func (ValueType) Descriptor() protoreflect.EnumDescriptor
func (ValueType) EnumDescriptor
deprecated
func (ValueType) Number ¶
func (x ValueType) Number() protoreflect.EnumNumber
func (ValueType) Type ¶
func (ValueType) Type() protoreflect.EnumType