Documentation ¶
Overview ¶
Package jaeger provides some convenience data structures for integration testing. Disable some linting, as this is just a test class where readability is preferred to performance nolint:gocritic
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllMatches ¶
Types ¶
type Span ¶
type Span struct { TraceID string `json:"traceID"` SpanID string `json:"spanID"` OperationName string `json:"operationName"` References []Reference `json:"references"` StartTime int64 `json:"startTime"` Duration int64 `json:"duration"` Tags []Tag `json:"tags"` ProcessID string `json:"processID"` }
func (*Span) AllMatches ¶
type Trace ¶
type Trace struct { TraceID string `json:"traceID"` Spans []Span `json:"spans"` Processes map[string]Process `json:"processes"` }
func (*Trace) ChildrenOf ¶
func (*Trace) FindByOperationName ¶
type TracesQuery ¶
type TracesQuery struct {
Data []Trace `json:"data"`
}
func (*TracesQuery) FindBySpan ¶
func (tq *TracesQuery) FindBySpan(tags ...Tag) []Trace
Click to show internal directories.
Click to hide internal directories.