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

Function WithSkipOptimization

pkg/traceql/options.go:26–30  ·  view source on GitHub ↗

WithSkipOptimization adds name to the list of AST transformations to skip during parsing. Use [TransformationAll] to skip all transformations.

(name string)

Source from the content-addressed store, hash-verified

24// WithSkipOptimization adds name to the list of AST transformations to skip during parsing.
25// Use [TransformationAll] to skip all transformations.
26func WithSkipOptimization(name string) CompileOption {
27 return func(o *compileOptions) {
28 o.skipTransformations = append(o.skipTransformations, name)
29 }
30}
31
32// WithUnsafeHints controls whether the unsafe query hint [HintSkipASTTransformations]
33// is honored during parsing. This does not affect other unsafe hints, which are read

Callers 4

SearchMethod · 0.92
QueryRangeMethod · 0.92
SearchBlockMethod · 0.92
queryBlockMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected