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

Method Fetch

modules/livestore/local_block.go:85–89  ·  view source on GitHub ↗
(ctx context.Context, req traceql.FetchSpansRequest, opts common.SearchOptions)

Source from the content-addressed store, hash-verified

83}
84
85func (c *LocalBlock) Fetch(ctx context.Context, req traceql.FetchSpansRequest, opts common.SearchOptions) (traceql.FetchSpansResponse, error) {
86 ctx, span := tracer.Start(ctx, "LocalBlock.Fetch")
87 defer span.End()
88 return c.BackendBlock.Fetch(ctx, req, opts)
89}
90
91func (c *LocalBlock) FetchSpans(ctx context.Context, req traceql.FetchSpansRequest, opts common.SearchOptions) (traceql.FetchSpansOnlyResponse, error) {
92 ctx, span := tracer.Start(ctx, "LocalBlock.FetchSpans")

Callers

nothing calls this directly

Calls 2

StartMethod · 0.65
FetchMethod · 0.65

Tested by

no test coverage detected