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

Function applyCompileOptions

pkg/traceql/options.go:16–22  ·  view source on GitHub ↗
(opts ...CompileOption)

Source from the content-addressed store, hash-verified

14}
15
16func applyCompileOptions(opts ...CompileOption) compileOptions {
17 var cfg compileOptions
18 for _, opt := range opts {
19 opt(&cfg)
20 }
21 return cfg
22}
23
24// WithSkipOptimization adds name to the list of AST transformations to skip during parsing.
25// Use [TransformationAll] to skip all transformations.

Callers 3

ExecuteSearchMethod · 0.85
ParseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected