Skip to content

Commit 9b50718

Browse files
authored
Merge pull request #1606 from cortexproject/fix-ruler-alerts
Use v1 endpoint for Ruler to talk to Alertmanager, for compatibility
2 parents c57c0b1 + 06c894a commit 9b50718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ruler/notifier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func buildNotifierConfig(rulerConfig *Config) (*config.Config, error) {
117117
}
118118
}
119119
amConfig := &config.AlertmanagerConfig{
120-
APIVersion: config.AlertmanagerAPIVersionV2,
120+
APIVersion: config.AlertmanagerAPIVersionV1,
121121
Scheme: u.Scheme,
122122
PathPrefix: u.Path,
123123
Timeout: model.Duration(rulerConfig.NotificationTimeout),

0 commit comments

Comments
 (0)