MCPcopy
hub / github.com/netdata/netdata / compileEngineSelector

Function compileEngineSelector

src/go/plugin/framework/chartengine/options.go:79–84  ·  view source on GitHub ↗
(expr metrixselector.Expr)

Source from the content-addressed store, hash-verified

77}
78
79func compileEngineSelector(expr metrixselector.Expr) (metrixselector.Selector, error) {
80 if expr.Empty() {
81 return nil, nil
82 }
83 return expr.Parse()
84}
85
86// WithEnginePolicy configures chartengine matching/materialization policy.
87func WithEnginePolicy(policy EnginePolicy) Option {

Callers 2

WithEnginePolicyFunction · 0.85
resolveEffectivePolicyFunction · 0.85

Calls 2

ParseMethod · 0.65
EmptyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…