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

Function WithSpanOnlyFetch

pkg/traceql/options.go:43–47  ·  view source on GitHub ↗

WithSpanOnlyFetch sets whether to use the span-only fetch path. When not set the default is used, and this may be overridden by the query hint.

(v bool)

Source from the content-addressed store, hash-verified

41// WithSpanOnlyFetch sets whether to use the span-only fetch path. When not set the default is used, and
42// this may be overridden by the query hint.
43func WithSpanOnlyFetch(v bool) CompileOption {
44 return func(o *compileOptions) {
45 o.spanOnlyFetch = &v
46 }
47}
48
49// WithTimeOverlapCutoff sets the overlap threshold (0 to 1) for trace-level timestamp filtering. When not
50// set the default value is used.

Callers 3

TestTempoDBQueryRangeFunction · 0.92
QueryRangeMethod · 0.92
queryBlockMethod · 0.92

Calls

no outgoing calls

Tested by 1

TestTempoDBQueryRangeFunction · 0.74