Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/netdata/netdata
/ Parse
Function
Parse
src/go/pkg/prometheus/selector/parse.go:9–15 ·
view source on GitHub ↗
(expr string)
Source
from the content-addressed store, hash-verified
7
)
8
9
func
Parse(expr string) (Selector, error) {
10
sel, err := selectorcore.Parse(expr)
11
if
err != nil {
12
return
nil, err
13
}
14
return
wrapCoreSelector(sel), nil
15
}
Callers
2
TestParse
Function · 0.70
TestParseEmptyExpressionReturnsNil
Function · 0.70
Calls
2
wrapCoreSelector
Function · 0.70
Parse
Method · 0.65
Tested by
2
TestParse
Function · 0.56
TestParseEmptyExpressionReturnsNil
Function · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…