Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExprs ¶
func GetExprs(groups []*rulefmt.RuleGroups) []string
func GetPromqls ¶
Types ¶
type AnalyzePromqlOutput ¶
type AnalyzePromqlOutput struct { Exprs Counter `json:"exprs,omitempty"` Selectors Counter `json:"selectors,omitempty"` Metrics Counter `json:"metrics,omitempty"` NoMetricNames Counter `json:"no_metric_names,omitempty"` }
func AnalyzePromql ¶
func AnalyzePromql(exprs []string) (AnalyzePromqlOutput, error)
type Counter ¶
func CountExprs ¶
func CountMetricNames ¶
func CountSelectors ¶
func (Counter) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.