package
1.25.5
Repository: https://github.com/adolli/prometheus.git
Documentation: pkg.go.dev

# Functions

Parse parses and validates a set of rules.
ParseFile reads and parses rules from a file.

# Structs

Error represents semantic errors on parsing rule groups.
Rule describes an alerting or recording rule.
RuleGroup is a list of sequentially evaluated recording and alerting rules.
RuleGroups is a set of rule groups that are typically exposed in a file.
RuleNode adds yaml.v3 layer to support line and column outputs for invalid rules.
WrappedError wraps error with the yaml node which can be used to represent the line and column numbers of the error.