Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrTraceNotFound is returned by Reader's GetTrace if no data is found for given trace ID. ErrTraceNotFound = errors.New("trace not found") )
Functions ¶
This section is empty.
Types ¶
type CompositeWriter ¶ added in v1.3.0
type CompositeWriter struct {
// contains filtered or unexported fields
}
CompositeWriter is a span Writer that tries to save spans into several underlying span Writers
func NewCompositeWriter ¶ added in v1.3.0
func NewCompositeWriter(spanWriters ...Writer) *CompositeWriter
NewCompositeWriter creates a CompositeWriter
type Reader ¶
type Reader interface { GetTrace(traceID model.TraceID) (*model.Trace, error) GetServices() ([]string, error) GetOperations(service string) ([]string, error) FindTraces(query *TraceQueryParameters) ([]*model.Trace, error) }
Reader finds and loads traces and other data from storage.
Click to show internal directories.
Click to hide internal directories.