Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPreservedLabels ¶
ExtractPreservedLabels analyzes which labels are preserved through the expression
func IsConstantExpression ¶
IsConstantExpression checks if an expression is a constant (like vector(1))
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) GetRulesByName ¶
func (p *Parser) GetRulesByName(name string) []*models.RecordingRule
GetRulesByName returns all rules with the given metric name
func (*Parser) ParseDirectory ¶
Click to show internal directories.
Click to hide internal directories.