Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/netdata/netdata
/ Parse
Method
Parse
src/go/pkg/matcher/expr.go:12–12 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
type
(
11
Expr
interface
{
12
Parse() (Matcher, error)
13
}
14
15
// SimpleExpr is a simple expression to describe the condition:
Callers
15
initPrometheusClient
Method · 0.95
main
Function · 0.65
main
Function · 0.65
TestPromTextParser_parseToMetricFamiliesWithSelector
Function · 0.65
TestPromTextParser_parseToSeriesWithSelector
Function · 0.65
TestPrometheusPlainWithSelector
Function · 0.65
NewWithSelector
Function · 0.65
Parse
Method · 0.65
TestExpr_Parse
Function · 0.65
TestExprSelector_Matches
Function · 0.65
Parse
Function · 0.65
TestExprParseScenarios
Function · 0.65
Implementers
8
CSVParser
src/go/plugin/go.d/pkg/logs/csv.go
LTSVParser
src/go/plugin/go.d/pkg/logs/ltsv.go
JSONParser
src/go/plugin/go.d/pkg/logs/json.go
RegExpParser
src/go/plugin/go.d/pkg/logs/regexp.go
SimpleExpr
src/go/pkg/matcher/expr.go
Expr
src/go/pkg/prometheus/selector/expr.go
Expr
src/go/pkg/selectorcore/expr.go
Expr
src/go/pkg/metrix/selector/expr.go
Calls
no outgoing calls
Tested by
6
TestPromTextParser_parseToMetricFamiliesWithSelector
Function · 0.52
TestPromTextParser_parseToSeriesWithSelector
Function · 0.52
TestPrometheusPlainWithSelector
Function · 0.52
TestExpr_Parse
Function · 0.52
TestExprSelector_Matches
Function · 0.52
TestExprParseScenarios
Function · 0.52