|
|
|
@ -284,6 +284,12 @@ type GettableRuleGroupConfig struct { |
|
|
|
|
Interval model.Duration `yaml:"interval,omitempty" json:"interval,omitempty"` |
|
|
|
|
SourceTenants []string `yaml:"source_tenants,omitempty" json:"source_tenants,omitempty"` |
|
|
|
|
Rules []GettableExtendedRuleNode `yaml:"rules" json:"rules"` |
|
|
|
|
|
|
|
|
|
EvaluationDelay model.Duration `yaml:"evaluation_delay,omitempty" json:"evaluation_delay,omitempty"` |
|
|
|
|
QueryOffset model.Duration `yaml:"query_offset,omitempty" json:"query_offset,omitempty"` |
|
|
|
|
|
|
|
|
|
Limit int `yaml:"limit,omitempty" json:"limit,omitempty"` |
|
|
|
|
AlignEvaluationTimeOnInterval bool `yaml:"align_evaluation_time_on_interval,omitempty" json:"align_evaluation_time_on_interval,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (c *GettableRuleGroupConfig) UnmarshalJSON(b []byte) error { |
|
|
|
|