Documentation
¶
Index ¶
Constants ¶
View Source
const ( EnginePromQL = "promql" EngineMetricsQL = "metricsql" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer interface {
Analyze(query string) (modelAPIV1.Set[string], modelAPIV1.Set[string], error)
}
Analyzer is the interface for parsing query expressions and extracting metric names
func NewAnalyzer ¶
NewAnalyzer returns a fresh analyzer implementation for the requested engine.
Click to show internal directories.
Click to hide internal directories.