Revert "[v9.3.x] Alerting: Update Prometheus Alertmanager (#64447)" (#64505)

This reverts commit 42665ac87f.
This commit is contained in:
Armand Grillet
2023-03-09 14:34:41 +01:00
committed by GitHub
parent 42665ac87f
commit 4deceb0aa7
7 changed files with 87 additions and 170 deletions
@@ -696,7 +696,7 @@ func (c *GettableApiAlertingConfig) validate() error {
type Config struct {
Global *config.GlobalConfig `yaml:"global,omitempty" json:"global,omitempty"`
Route *Route `yaml:"route,omitempty" json:"route,omitempty"`
InhibitRules []config.InhibitRule `yaml:"inhibit_rules,omitempty" json:"inhibit_rules,omitempty"`
InhibitRules []*config.InhibitRule `yaml:"inhibit_rules,omitempty" json:"inhibit_rules,omitempty"`
MuteTimeIntervals []config.MuteTimeInterval `yaml:"mute_time_intervals,omitempty" json:"mute_time_intervals,omitempty"`
Templates []string `yaml:"templates" json:"templates"`
}