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

Method withHints

pkg/traceql/ast.go:112–115  ·  view source on GitHub ↗
(h *Hints)

Source from the content-addressed store, hash-verified

110}
111
112func (r *RootExpr) withHints(h *Hints) *RootExpr {
113 r.Hints = h
114 return r
115}
116
117// IsNoop detects trivial noop queries like {false} which never return
118// results and can be used to exit early.

Callers 4

TestHintsFunction · 0.80
TestMetricsSecondStageFunction · 0.80
TestMetricsFilterFunction · 0.80
ParseMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestHintsFunction · 0.64
TestMetricsSecondStageFunction · 0.64
TestMetricsFilterFunction · 0.64