Documentation ¶
Index ¶
- Variables
- type Field
- func (*Field) Descriptor() ([]byte, []int)
- func (m *Field) GetKey() string
- func (m *Field) GetValue() []byte
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) String() string
- func (m *Field) XXX_DiscardUnknown()
- func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Field) XXX_Merge(src proto.Message)
- func (m *Field) XXX_Size() int
- func (m *Field) XXX_Unmarshal(b []byte) error
- type Log
- func (*Log) Descriptor() ([]byte, []int)
- func (m *Log) GetFields() []*Field
- func (m *Log) GetKey() string
- func (m *Log) GetKind() Log_Kind
- func (m *Log) GetTimestamp() int64
- func (m *Log) GetValue() []byte
- func (*Log) ProtoMessage()
- func (m *Log) Reset()
- func (m *Log) String() string
- func (m *Log) XXX_DiscardUnknown()
- func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Log) XXX_Merge(src proto.Message)
- func (m *Log) XXX_Size() int
- func (m *Log) XXX_Unmarshal(b []byte) error
- type Log_Kind
- type Span
- func (*Span) Descriptor() ([]byte, []int)
- func (m *Span) GetCaller() string
- func (m *Span) GetDuration() *duration.Duration
- func (m *Span) GetEnv() string
- func (m *Span) GetFinishAt() int64
- func (m *Span) GetLevel() int32
- func (m *Span) GetLogs() []*Log
- func (m *Span) GetOperationName() string
- func (m *Span) GetParentId() uint64
- func (m *Span) GetReferences() []*SpanRef
- func (m *Span) GetSamplingProbability() float32
- func (m *Span) GetServiceName() string
- func (m *Span) GetSpanId() uint64
- func (m *Span) GetStartAt() int64
- func (m *Span) GetStartTime() *timestamp.Timestamp
- func (m *Span) GetTags() []*Tag
- func (m *Span) GetTraceId() uint64
- func (m *Span) GetVersion() int32
- func (*Span) ProtoMessage()
- func (m *Span) Reset()
- func (m *Span) String() string
- 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 SpanRef
- func (*SpanRef) Descriptor() ([]byte, []int)
- func (m *SpanRef) GetRefType() SpanRef_RefType
- func (m *SpanRef) GetSpanId() uint64
- func (m *SpanRef) GetTraceId() uint64
- func (*SpanRef) ProtoMessage()
- func (m *SpanRef) Reset()
- func (m *SpanRef) String() string
- func (m *SpanRef) XXX_DiscardUnknown()
- func (m *SpanRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SpanRef) XXX_Merge(src proto.Message)
- func (m *SpanRef) XXX_Size() int
- func (m *SpanRef) XXX_Unmarshal(b []byte) error
- type SpanRef_RefType
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)
- func (m *Tag) GetKey() string
- func (m *Tag) GetKind() Tag_Kind
- func (m *Tag) GetValue() []byte
- func (*Tag) ProtoMessage()
- func (m *Tag) Reset()
- func (m *Tag) String() string
- func (m *Tag) XXX_DiscardUnknown()
- func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Tag) XXX_Merge(src proto.Message)
- func (m *Tag) XXX_Size() int
- func (m *Tag) XXX_Unmarshal(b []byte) error
- type Tag_Kind
Constants ¶
This section is empty.
Variables ¶
View Source
var Log_Kind_name = map[int32]string{
0: "STRING",
1: "INT",
2: "BOOL",
3: "FLOAT",
}
View Source
var Log_Kind_value = map[string]int32{
"STRING": 0,
"INT": 1,
"BOOL": 2,
"FLOAT": 3,
}
View Source
var SpanRef_RefType_name = map[int32]string{
0: "CHILD_OF",
1: "FOLLOWS_FROM",
}
View Source
var SpanRef_RefType_value = map[string]int32{
"CHILD_OF": 0,
"FOLLOWS_FROM": 1,
}
View Source
var Tag_Kind_name = map[int32]string{
0: "STRING",
1: "INT",
2: "BOOL",
3: "FLOAT",
}
View Source
var Tag_Kind_value = map[string]int32{
"STRING": 0,
"INT": 1,
"BOOL": 2,
"FLOAT": 3,
}
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Field) Descriptor ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) XXX_DiscardUnknown ¶
func (m *Field) XXX_DiscardUnknown()
func (*Field) XXX_Marshal ¶
func (*Field) XXX_Unmarshal ¶
type Log ¶
type Log struct { Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Kind Log_Kind `protobuf:"varint,2,opt,name=kind,enum=dapper.trace.Log_Kind" json:"kind,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Timestamp int64 `protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty"` Fields []*Field `protobuf:"bytes,5,rep,name=fields" json:"fields,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Log) Descriptor ¶
func (*Log) GetTimestamp ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) XXX_DiscardUnknown ¶
func (m *Log) XXX_DiscardUnknown()
func (*Log) XXX_Unmarshal ¶
type Span ¶
type Span struct { Version int32 `protobuf:"varint,99,opt,name=version" json:"version,omitempty"` ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName" json:"service_name,omitempty"` OperationName string `protobuf:"bytes,2,opt,name=operation_name,json=operationName" json:"operation_name,omitempty"` // Deprecated: caller no long required Caller string `protobuf:"bytes,3,opt,name=caller" json:"caller,omitempty"` TraceId uint64 `protobuf:"varint,4,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"` SpanId uint64 `protobuf:"varint,5,opt,name=span_id,json=spanId" json:"span_id,omitempty"` ParentId uint64 `protobuf:"varint,6,opt,name=parent_id,json=parentId" json:"parent_id,omitempty"` // Deprecated: level no long required Level int32 `protobuf:"varint,7,opt,name=level" json:"level,omitempty"` // Deprecated: use start_time instead instead of start_at StartAt int64 `protobuf:"varint,8,opt,name=start_at,json=startAt" json:"start_at,omitempty"` // Deprecated: use duration instead instead of finish_at FinishAt int64 `protobuf:"varint,9,opt,name=finish_at,json=finishAt" json:"finish_at,omitempty"` SamplingProbability float32 `protobuf:"fixed32,10,opt,name=sampling_probability,json=samplingProbability" json:"sampling_probability,omitempty"` Env string `protobuf:"bytes,19,opt,name=env" json:"env,omitempty"` StartTime *timestamp.Timestamp `protobuf:"bytes,20,opt,name=start_time,json=startTime" json:"start_time,omitempty"` Duration *duration.Duration `protobuf:"bytes,21,opt,name=duration" json:"duration,omitempty"` References []*SpanRef `protobuf:"bytes,22,rep,name=references" json:"references,omitempty"` Tags []*Tag `protobuf:"bytes,11,rep,name=tags" json:"tags,omitempty"` Logs []*Log `protobuf:"bytes,12,rep,name=logs" json:"logs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Span represents a named unit of work performed by a service.
func (*Span) Descriptor ¶
func (*Span) GetDuration ¶
func (*Span) GetFinishAt ¶
func (*Span) GetOperationName ¶
func (*Span) GetParentId ¶
func (*Span) GetReferences ¶
func (*Span) GetSamplingProbability ¶
func (*Span) GetServiceName ¶
func (*Span) GetStartAt ¶
func (*Span) GetStartTime ¶
func (*Span) GetTraceId ¶
func (*Span) GetVersion ¶
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) XXX_DiscardUnknown ¶
func (m *Span) XXX_DiscardUnknown()
func (*Span) XXX_Unmarshal ¶
type SpanRef ¶
type SpanRef struct { RefType SpanRef_RefType `protobuf:"varint,1,opt,name=ref_type,json=refType,enum=dapper.trace.SpanRef_RefType" json:"ref_type,omitempty"` TraceId uint64 `protobuf:"varint,2,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"` SpanId uint64 `protobuf:"varint,3,opt,name=span_id,json=spanId" json:"span_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SpanRef describes causal relationship of the current span to another span (e.g. 'child-of')
func (*SpanRef) Descriptor ¶
func (*SpanRef) GetRefType ¶
func (m *SpanRef) GetRefType() SpanRef_RefType
func (*SpanRef) GetTraceId ¶
func (*SpanRef) ProtoMessage ¶
func (*SpanRef) ProtoMessage()
func (*SpanRef) XXX_DiscardUnknown ¶
func (m *SpanRef) XXX_DiscardUnknown()
func (*SpanRef) XXX_Marshal ¶
func (*SpanRef) XXX_Unmarshal ¶
type SpanRef_RefType ¶
type SpanRef_RefType int32
const ( SpanRef_CHILD_OF SpanRef_RefType = 0 SpanRef_FOLLOWS_FROM SpanRef_RefType = 1 )
func (SpanRef_RefType) EnumDescriptor ¶
func (SpanRef_RefType) EnumDescriptor() ([]byte, []int)
func (SpanRef_RefType) String ¶
func (x SpanRef_RefType) String() string
type Tag ¶
type Tag struct { Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Kind Tag_Kind `protobuf:"varint,2,opt,name=kind,enum=dapper.trace.Tag_Kind" json:"kind,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tag) Descriptor ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) XXX_DiscardUnknown ¶
func (m *Tag) XXX_DiscardUnknown()
func (*Tag) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.