MCPcopy
hub / github.com/grafana/tempo / NewSpansetFetcherWrapper

Function NewSpansetFetcherWrapper

pkg/traceql/storage.go:336–338  ·  view source on GitHub ↗
(fetchSpanSetsFn func(ctx context.Context, req FetchSpansRequest) (FetchSpansResponse, error))

Source from the content-addressed store, hash-verified

334var _ SpansetFetcher = (*SpansetFetcherWrapper)(nil)
335
336func NewSpansetFetcherWrapper(fetchSpanSetsFn func(ctx context.Context, req FetchSpansRequest) (FetchSpansResponse, error)) SpansetFetcher {
337 return SpansetFetcherWrapper{fetchSpanSetsFn, nil}
338}
339
340func NewSpansetFetcherWrapperBoth(
341 fetchSpanSetsFn func(ctx context.Context, req FetchSpansRequest) (FetchSpansResponse, error),

Callers 15

traceQLRunnerFunction · 0.92
advancedTraceQLRunnerFunction · 0.92
groupTraceQLRunnerFunction · 0.92
traceQLStructuralFunction · 0.92
nestedSetFunction · 0.92
traceQLExistenceFunction · 0.92
traceQLDurationFunction · 0.92
TestSearchByShortTraceIDFunction · 0.92
TestSamplingErrorFunction · 0.92

Calls

no outgoing calls

Tested by 15

traceQLRunnerFunction · 0.74
advancedTraceQLRunnerFunction · 0.74
groupTraceQLRunnerFunction · 0.74
traceQLStructuralFunction · 0.74
nestedSetFunction · 0.74
traceQLExistenceFunction · 0.74
traceQLDurationFunction · 0.74
TestSearchByShortTraceIDFunction · 0.74
TestSamplingErrorFunction · 0.74