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

Method Fetch

tempodb/tempodb.go:94–94  ·  view source on GitHub ↗

TODO(suraj): use common.MetricsCallback in Fetch and remove the Bytes callback from traceql.FetchSpansResponse

(ctx context.Context, meta *backend.BlockMeta, req traceql.FetchSpansRequest, opts common.SearchOptions)

Source from the content-addressed store, hash-verified

92
93 // TODO(suraj): use common.MetricsCallback in Fetch and remove the Bytes callback from traceql.FetchSpansResponse
94 Fetch(ctx context.Context, meta *backend.BlockMeta, req traceql.FetchSpansRequest, opts common.SearchOptions) (traceql.FetchSpansResponse, error)
95 FetchSpans(ctx context.Context, meta *backend.BlockMeta, req traceql.FetchSpansRequest, opts common.SearchOptions) (traceql.FetchSpansOnlyResponse, error)
96 FetchTagValues(ctx context.Context, meta *backend.BlockMeta, req traceql.FetchTagValuesRequest, cb traceql.FetchTagValuesCallback, mcb common.MetricsCallback, opts common.SearchOptions) error
97 FetchTagNames(ctx context.Context, meta *backend.BlockMeta, req traceql.FetchTagsRequest, cb traceql.FetchTagsCallback, mcb common.MetricsCallback, opts common.SearchOptions) error

Callers 11

FetchMethod · 0.65
traceQLRunnerFunction · 0.65
advancedTraceQLRunnerFunction · 0.65
groupTraceQLRunnerFunction · 0.65
traceQLStructuralFunction · 0.65
nestedSetFunction · 0.65
traceQLExistenceFunction · 0.65
traceQLDurationFunction · 0.65
TestSearchByShortTraceIDFunction · 0.65
TestTempoDBQueryRangeFunction · 0.65

Calls

no outgoing calls

Tested by 10

traceQLRunnerFunction · 0.52
advancedTraceQLRunnerFunction · 0.52
groupTraceQLRunnerFunction · 0.52
traceQLStructuralFunction · 0.52
nestedSetFunction · 0.52
traceQLExistenceFunction · 0.52
traceQLDurationFunction · 0.52
TestSearchByShortTraceIDFunction · 0.52
TestTempoDBQueryRangeFunction · 0.52