Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { // Lists the thumbnail previews of all traces. List( ctx context.Context, query *spanstore.TraceQueryParameters, ) ([]*TraceThumbnail, error) // Gets the full tree of a trace based on the identifier returned from a previous call to List. // // traceId is the fake trace ID that should be presented to the user. // // startTime and endTime are only for optimization hint. // The implementation is allowed to return spans beyond the range. Get( ctx context.Context, identifier json.RawMessage, traceId model.TraceID, startTime, endTime time.Time, ) (*model.Trace, error) }
type TraceThumbnail ¶
type TraceThumbnail struct { // Identifier is a serializable object that identifies the trace in GetTrace calls. Identifier any Spans *tftree.SpanTree }
func (*TraceThumbnail) FromThumbnail ¶
func (tt *TraceThumbnail) FromThumbnail(src *TraceThumbnail)
func (*TraceThumbnail) GetMetadata ¶
func (tt *TraceThumbnail) GetMetadata() any
func (*TraceThumbnail) GetSpans ¶
func (tt *TraceThumbnail) GetSpans() *tftree.SpanTree
Click to show internal directories.
Click to hide internal directories.