Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxDurationRank = "max_duration" MinDurationRank = "min_duration" AvgDurationRank = "avg_duration" ErrorsRank = "errors" )
RankType
View Source
const ( RefTypeChildOf int8 = iota RefTypeFollowsFrom )
RefType Kind
View Source
const ( TagString int8 = iota TagInt TagBool TagFloat )
TagKind
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MeanOperationNameValue ¶
MeanOperationNameValue .
type SamplePoint ¶
SamplePoint SamplePoint
type Span ¶
type Span struct { ServiceName string OperationName string TraceID uint64 SpanID uint64 ParentID uint64 Env string StartTime time.Time Duration time.Duration References []SpanRef Tags map[string]interface{} Logs []Log }
Span represents a named unit of work performed by a service.
func FromProtoSpan ¶
FromProtoSpan convert protogen.Span to model.Span
func (*Span) ParentIDStr ¶
ParentIDStr return hex format parent_id
type SpanListRef ¶
SpanListRef .
func (SpanListRef) TraceIDStr ¶
func (s SpanListRef) TraceIDStr() string
TraceIDStr hex format traceid
type SpanPoint ¶
type SpanPoint struct { Timestamp int64 ServiceName string OperationName string PeerService string SpanKind string AvgDuration SamplePoint // random sample point MaxDuration SamplePoint MinDuration SamplePoint Errors []SamplePoint }
SpanPoint contains time series
Source Files ¶
Click to show internal directories.
Click to hide internal directories.