model

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SpanRefType_name = map[int32]string{
	0: "CHILD_OF",
	1: "FOLLOWS_FROM",
}
View Source
var SpanRefType_value = map[string]int32{
	"CHILD_OF":     0,
	"FOLLOWS_FROM": 1,
}
View Source
var ValueType_name = map[int32]string{
	0: "STRING",
	1: "BOOL",
	2: "INT64",
	3: "FLOAT64",
	4: "BINARY",
}
View Source
var ValueType_value = map[string]int32{
	"STRING":  0,
	"BOOL":    1,
	"INT64":   2,
	"FLOAT64": 3,
	"BINARY":  4,
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Batch) Descriptor

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

func (*Batch) GetProcess

func (m *Batch) GetProcess() *Process

func (*Batch) GetSpans

func (m *Batch) GetSpans() []*Span

func (*Batch) ProtoMessage

func (*Batch) ProtoMessage()

func (*Batch) Reset

func (m *Batch) Reset()

func (*Batch) String

func (m *Batch) String() string

func (*Batch) XXX_DiscardUnknown

func (m *Batch) XXX_DiscardUnknown()

func (*Batch) XXX_Marshal

func (m *Batch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Batch) XXX_Merge

func (m *Batch) XXX_Merge(src proto.Message)

func (*Batch) XXX_Size

func (m *Batch) XXX_Size() int

func (*Batch) XXX_Unmarshal

func (m *Batch) XXX_Unmarshal(b []byte) error
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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DependencyLink) Descriptor

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

func (*DependencyLink) GetCallCount

func (m *DependencyLink) GetCallCount() uint64

func (*DependencyLink) GetChild

func (m *DependencyLink) GetChild() string

func (*DependencyLink) GetParent

func (m *DependencyLink) GetParent() string

func (*DependencyLink) GetSource

func (m *DependencyLink) GetSource() string

func (*DependencyLink) ProtoMessage

func (*DependencyLink) ProtoMessage()

func (*DependencyLink) Reset

func (m *DependencyLink) Reset()

func (*DependencyLink) String

func (m *DependencyLink) String() string

func (*DependencyLink) XXX_DiscardUnknown

func (m *DependencyLink) XXX_DiscardUnknown()

func (*DependencyLink) XXX_Marshal

func (m *DependencyLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DependencyLink) XXX_Merge

func (m *DependencyLink) XXX_Merge(src proto.Message)

func (*DependencyLink) XXX_Size

func (m *DependencyLink) XXX_Size() int

func (*DependencyLink) XXX_Unmarshal

func (m *DependencyLink) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*KeyValue) Descriptor

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

func (*KeyValue) GetKey

func (m *KeyValue) GetKey() string

func (*KeyValue) GetVBinary

func (m *KeyValue) GetVBinary() []byte

func (*KeyValue) GetVBool

func (m *KeyValue) GetVBool() bool

func (*KeyValue) GetVFloat64

func (m *KeyValue) GetVFloat64() float64

func (*KeyValue) GetVInt64

func (m *KeyValue) GetVInt64() int64

func (*KeyValue) GetVStr

func (m *KeyValue) GetVStr() string

func (*KeyValue) GetVType

func (m *KeyValue) GetVType() ValueType

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) Reset

func (m *KeyValue) Reset()

func (*KeyValue) String

func (m *KeyValue) String() string

func (*KeyValue) XXX_DiscardUnknown

func (m *KeyValue) XXX_DiscardUnknown()

func (*KeyValue) XXX_Marshal

func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyValue) XXX_Merge

func (m *KeyValue) XXX_Merge(src proto.Message)

func (*KeyValue) XXX_Size

func (m *KeyValue) XXX_Size() int

func (*KeyValue) XXX_Unmarshal

func (m *KeyValue) XXX_Unmarshal(b []byte) error

type Log

type Log struct {
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Fields               []*KeyValue          `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Log) Descriptor

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

func (*Log) GetFields

func (m *Log) GetFields() []*KeyValue

func (*Log) GetTimestamp

func (m *Log) GetTimestamp() *timestamp.Timestamp

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) Reset

func (m *Log) Reset()

func (*Log) String

func (m *Log) String() string

func (*Log) XXX_DiscardUnknown

func (m *Log) XXX_DiscardUnknown()

func (*Log) XXX_Marshal

func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Log) XXX_Merge

func (m *Log) XXX_Merge(src proto.Message)

func (*Log) XXX_Size

func (m *Log) XXX_Size() int

func (*Log) XXX_Unmarshal

func (m *Log) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Process) Descriptor

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

func (*Process) GetServiceName

func (m *Process) GetServiceName() string

func (*Process) GetTags

func (m *Process) GetTags() []*KeyValue

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) Reset

func (m *Process) Reset()

func (*Process) String

func (m *Process) String() string

func (*Process) XXX_DiscardUnknown

func (m *Process) XXX_DiscardUnknown()

func (*Process) XXX_Marshal

func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Process) XXX_Merge

func (m *Process) XXX_Merge(src proto.Message)

func (*Process) XXX_Size

func (m *Process) XXX_Size() int

func (*Process) XXX_Unmarshal

func (m *Process) XXX_Unmarshal(b []byte) error

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            *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	Duration             *duration.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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Span) Descriptor

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

func (*Span) GetDuration

func (m *Span) GetDuration() *duration.Duration

func (*Span) GetFlags

func (m *Span) GetFlags() uint32

func (*Span) GetLogs

func (m *Span) GetLogs() []*Log

func (*Span) GetOperationName

func (m *Span) GetOperationName() string

func (*Span) GetProcess

func (m *Span) GetProcess() *Process

func (*Span) GetProcessId

func (m *Span) GetProcessId() string

func (*Span) GetReferences

func (m *Span) GetReferences() []*SpanRef

func (*Span) GetSpanId

func (m *Span) GetSpanId() []byte

func (*Span) GetStartTime

func (m *Span) GetStartTime() *timestamp.Timestamp

func (*Span) GetTags

func (m *Span) GetTags() []*KeyValue

func (*Span) GetTraceId

func (m *Span) GetTraceId() []byte

func (*Span) GetWarnings

func (m *Span) GetWarnings() []string

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) Reset

func (m *Span) Reset()

func (*Span) String

func (m *Span) String() string

func (*Span) XXX_DiscardUnknown

func (m *Span) XXX_DiscardUnknown()

func (*Span) XXX_Marshal

func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Span) XXX_Merge

func (m *Span) XXX_Merge(src proto.Message)

func (*Span) XXX_Size

func (m *Span) XXX_Size() int

func (*Span) XXX_Unmarshal

func (m *Span) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*SpanRef) Descriptor

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

func (*SpanRef) GetRefType

func (m *SpanRef) GetRefType() SpanRefType

func (*SpanRef) GetSpanId

func (m *SpanRef) GetSpanId() []byte

func (*SpanRef) GetTraceId

func (m *SpanRef) GetTraceId() []byte

func (*SpanRef) ProtoMessage

func (*SpanRef) ProtoMessage()

func (*SpanRef) Reset

func (m *SpanRef) Reset()

func (*SpanRef) String

func (m *SpanRef) String() string

func (*SpanRef) XXX_DiscardUnknown

func (m *SpanRef) XXX_DiscardUnknown()

func (*SpanRef) XXX_Marshal

func (m *SpanRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpanRef) XXX_Merge

func (m *SpanRef) XXX_Merge(src proto.Message)

func (*SpanRef) XXX_Size

func (m *SpanRef) XXX_Size() int

func (*SpanRef) XXX_Unmarshal

func (m *SpanRef) XXX_Unmarshal(b []byte) error

type SpanRefType

type SpanRefType int32
const (
	SpanRefType_CHILD_OF     SpanRefType = 0
	SpanRefType_FOLLOWS_FROM SpanRefType = 1
)

func (SpanRefType) EnumDescriptor

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

func (SpanRefType) String

func (x SpanRefType) String() string

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"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*Trace) Descriptor

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

func (*Trace) GetProcessMap

func (m *Trace) GetProcessMap() []*Trace_ProcessMapping

func (*Trace) GetSpans

func (m *Trace) GetSpans() []*Span

func (*Trace) GetWarnings

func (m *Trace) GetWarnings() []string

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) Reset

func (m *Trace) Reset()

func (*Trace) String

func (m *Trace) String() string

func (*Trace) XXX_DiscardUnknown

func (m *Trace) XXX_DiscardUnknown()

func (*Trace) XXX_Marshal

func (m *Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Trace) XXX_Merge

func (m *Trace) XXX_Merge(src proto.Message)

func (*Trace) XXX_Size

func (m *Trace) XXX_Size() int

func (*Trace) XXX_Unmarshal

func (m *Trace) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Trace_ProcessMapping) Descriptor

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

func (*Trace_ProcessMapping) GetProcess

func (m *Trace_ProcessMapping) GetProcess() *Process

func (*Trace_ProcessMapping) GetProcessId

func (m *Trace_ProcessMapping) GetProcessId() string

func (*Trace_ProcessMapping) ProtoMessage

func (*Trace_ProcessMapping) ProtoMessage()

func (*Trace_ProcessMapping) Reset

func (m *Trace_ProcessMapping) Reset()

func (*Trace_ProcessMapping) String

func (m *Trace_ProcessMapping) String() string

func (*Trace_ProcessMapping) XXX_DiscardUnknown

func (m *Trace_ProcessMapping) XXX_DiscardUnknown()

func (*Trace_ProcessMapping) XXX_Marshal

func (m *Trace_ProcessMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Trace_ProcessMapping) XXX_Merge

func (m *Trace_ProcessMapping) XXX_Merge(src proto.Message)

func (*Trace_ProcessMapping) XXX_Size

func (m *Trace_ProcessMapping) XXX_Size() int

func (*Trace_ProcessMapping) XXX_Unmarshal

func (m *Trace_ProcessMapping) XXX_Unmarshal(b []byte) error

type ValueType

type ValueType int32
const (
	ValueType_STRING  ValueType = 0
	ValueType_BOOL    ValueType = 1
	ValueType_INT64   ValueType = 2
	ValueType_FLOAT64 ValueType = 3
	ValueType_BINARY  ValueType = 4
)

func (ValueType) EnumDescriptor

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

func (ValueType) String

func (x ValueType) String() string

Jump to

Keyboard shortcuts

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