Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support alerts out to multi alertmanagers #24

Merged
merged 2 commits into from
Feb 21, 2022

Conversation

junotx
Copy link
Collaborator

@junotx junotx commented Feb 18, 2022

For #21, add support to ruler component to send event alert messages to multiple alertmanagers.

Signed-off-by: junot <junotxiang@kubesphere.io>
@junotx junotx requested a review from benjaminhuo February 18, 2022 09:07
doc/api.md Outdated
@@ -127,7 +127,8 @@ RulerSinks defines a set of sinks for Events Ruler

| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| alertmanager | Alertmanager is an alertmanager sink to which only alerts can sink. | *[RulerAlertmanagerSink](#ruleralertmanagersink) | false |
| alertmanagers | Alertmanagers are alertmanager sinks to which alerts can sink. | []*[RulerAlertmanagerSink](#ruleralertmanagersink) | false |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alertmanagers are alertmanager sinks to which alerts can sink
=>
Alertmanager sinks to which events alerts will be sent

doc/api.md Outdated
@@ -127,7 +127,8 @@ RulerSinks defines a set of sinks for Events Ruler

| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| alertmanager | Alertmanager is an alertmanager sink to which only alerts can sink. | *[RulerAlertmanagerSink](#ruleralertmanagersink) | false |
| alertmanagers | Alertmanagers are alertmanager sinks to which alerts can sink. | []*[RulerAlertmanagerSink](#ruleralertmanagersink) | false |
| alertmanager | Alertmanager is an alertmanager sink to which only alerts can sink. Will be deprecated, please use alertmanagers instead. | *[RulerAlertmanagerSink](#ruleralertmanagersink) | false |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alertmanager is an alertmanager sink to which only alerts can sink. Will be deprecated, please use alertmanagers instead.
=>
An alertmanager sink to which events alerts will be sent. Deprecated, please use alertmanagers instead.

Signed-off-by: junot <junotxiang@kubesphere.io>
@benjaminhuo benjaminhuo merged commit 429deee into kubesphere:master Feb 21, 2022
@junotx junotx deleted the multiam branch February 28, 2022 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants