Skip to content

Commit 64befca

Browse files
authored
doc: Add note about the Alertmanager URL path (#4518)
I believe this can often be a source of confusion during initial configuration because even though the implicit HTTP API prefix set when using `--alertmanager.external-url` is documented, it is non obvious behavior. For example, in #3919. Signed-off-by: Jack Baldry <[email protected]>
1 parent 7817c2a commit 64befca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/ruler/ruler.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ type Config struct {
8383
RulePath string `yaml:"rule_path"`
8484

8585
// URL of the Alertmanager to send notifications to.
86+
// If your are configuring the ruler to send to a Cortex Alertmanager,
87+
// ensure this includes any path set in the Alertmanager external URL.
8688
AlertmanagerURL string `yaml:"alertmanager_url"`
8789
// Whether to use DNS SRV records to discover Alertmanager.
8890
AlertmanagerDiscovery bool `yaml:"enable_alertmanager_discovery"`

0 commit comments

Comments
 (0)