Versions in this module Expand all Collapse all v0 v0.1.0 Sep 18, 2021 Changes in this version + func GetExprs(groups []*rulefmt.RuleGroups) []string + func GetPromqls(boards []sdk.Board) []string + type AnalyzePromqlOutput struct + Exprs Counter + Metrics Counter + NoMetricNames Counter + Selectors Counter + func AnalyzePromql(exprs []string) (AnalyzePromqlOutput, error) + type Counter map[string]int + func CountExprs(exprs []string) Counter + func CountMetricNames(exprs []string) (names, undefined Counter, err error) + func CountSelectors(exprs []string) (Counter, error) + func (c Counter) Add(s string) + func (c Counter) MarshalJSON() ([]byte, error) + type Output struct + Count int + Name string