# Functions
NewAlertingRule constructs a new AlertingRule.
NewGroup makes a new Group with the given name, options, and rules.
NewManager returns an implementation of Manager, ready to be started by calling the Run method.
NewRecordingRule returns a new recording rule.
# Constants
StateFiring is the state of an alert that has been active for longer than the configured threshold duration.
StateInactive is the state of an alert that is neither firing nor pending.
StatePending is the state of an alert that has been active for less than the configured threshold duration.
# Structs
Alert is the user-level representation of a single instance of an alerting rule.
An AlertingRule generates alerts from its vector expression.
Group is a set of rules that have a logical relation.
The Manager manages recording and alerting rules.
ManagerOptions bundles options for the Manager.
A RecordingRule records its vector expression into new timeseries.
# Interfaces
A Rule encapsulates a vector expression which is evaluated at a specified interval and acted upon (currently either recorded or used for alerting).
# Type aliases
AlertState denotes the state of an active alert.