Open jiaqiluo opened 3 years ago
@gaktive as jack noted above this has been moved out of 2.5.8 in favor of a smaller one. This is the full long term solution, but the issue itself needs to be tweaked.
After https://github.com/rancher/dashboard/issues/5754 is merged, it should be possible to configure all the monitoring chart options in questions.yml, which could be better in the long run as the form could update along with the chart.
Note: As of 2.6.7, the alerting drivers Helm chart does not support project monitoring yet: https://github.com/rancher/rancher/issues/38260
NOTE: This issue is moved to v2.6, and its context will be updated. There is another UI issue for 2.5.8
Goal: We need to add a new tab to the existing rancher-monitoring installation UI to allow users to install
rancher-alerting-drivers
which will be a sub-chart under the main chartrancher-monitoring
. Here is the parent issue for this new feature.Requirements
Here is how the monitoring installing/editing page looks like today:
We expect to add one more tab to the left bar called
Alerting Driver
. the first checkbox on the page should beDeploy Alerting-driver
Deploy Alerting-driver
is checked, the page should show the following 2 checkboxes:Enable MS Teams
Enable SMS
If
Enable MS Teams
is checked:prom2teams.enabled
should be set totrue
andstring
<empty>
<empty>
or one of ("name", "description", "instance", "severity", "status", "summary", "fingerprint", "runbook_url")<empty>
string
string
If
Enable SMS
is checked:sachet.enabled
should be set totrue
aliyun
string
<empty>
string
<empty>
string
<empty>
string
<empty>
string
<empty>
string
<empty>
All providers are saved under
sachet.providers
as a dictionary example:string
<empty>
string
string
<empty>
string
<empty>
all receivers are saved under
sachet.receivers
as a list example:All the configuration will be saved under the
alerting-driver
section in monitoring'svalue.yaml
. The final version of this section will look like this