You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some services do not support this without additional configurations (for example, `l2-sequencer` and `l2-bootnode`). We are working on additional info on how to properly run multiple services for load balancing between or for having redundant backups available.
809
806
810
-
{/* TODO: Fix this comment once we add this documentation */}
807
+
{/* TODO: Fix this comment once we add this documentation */}
808
+
809
+
810
+
### Monitoring
811
+
You can monitor the cluster's running status through Grafana.
812
+
Additionally, you can send alerts via email and Slack using Alertmanager.
813
+
If you have configured a domain for Grafana in the previous steps, you can access it by opening http://grafana.yourdomain, where you will see two sets of dashboards. The defalt password of user `admin` is `scroll-sdk`.
Open [https://api.slack.com/apps](https://api.slack.com/apps) and click **`Create New App`** if you don't have one already. Select **`From scratch`**, enter a name, and select the workspace.
820
+
821
+
2. **Activate Incoming Webhooks**
822
+
823
+
Click the **`Incoming Webhooks`** label on the right side of the page, then turn on **`Activate Incoming Webhooks`**.
Edit `./values/alert-manager.yaml` to replace it with your webhook URL and your Slack channel name.
836
+
```
837
+
kube-prometheus-stack:
838
+
alertmanager:
839
+
config:
840
+
global:
841
+
resolve_timeout: 5m
842
+
slack_api_url: 'https://hooks.slack.com/services/xxxxxxxxxxx/xxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxx' # your webhook url
843
+
receivers:
844
+
- name: 'slack-alerts'
845
+
slack_configs:
846
+
- channel: '#scroll-webhook' #your channel name
847
+
send_resolved: true
848
+
text: '{{ .CommonAnnotations.description }}'
849
+
title: '{{ .CommonAnnotations.summary }}'
850
+
route:
851
+
group_by: ['alertname']
852
+
receiver: 'slack-alerts'
853
+
routes:
854
+
- matchers: []
855
+
receiver: 'slack-alerts'
856
+
```
857
+
This configuration file will send all alerts to your Slack channel. If you need more complex rules, refer to the [Prometheus Alerting Configuration Documentation](https://prometheus.io/docs/alerting/latest/configuration/).
This guide documents getting a Scroll SDK deployment working on Digital Ocean's Kubernetes and managed databases, using Cloudflare for DNS.
30
34
@@ -716,4 +720,62 @@ To quickly get started with Grafana, run the following command:
716
720
717
721
Now, visit the localhost URL in [your browser](http://localhost:3000/). The default password for the `admin` user is `prom-operator`.
718
722
719
-
Adding an ingress URL, changing the default password or adding LDAP login are all suggested if you use this stack in production. */}
723
+
Adding an ingress URL, changing the default password or adding LDAP login are all suggested if you use this stack in production. */}
724
+
725
+
726
+
### Monitoring
727
+
You can monitor the cluster's running status through Grafana.
728
+
Additionally, you can send alerts via email and Slack using Alertmanager.
729
+
If you have configured a domain for Grafana in the previous steps, you can access it by opening http://grafana.yourdomain, where you will see two sets of dashboards. The defalt password of user `admin` is `scroll-sdk`.
Open [https://api.slack.com/apps](https://api.slack.com/apps) and click **`Create New App`** if you don't have one already. Select **`From scratch`**, enter a name, and select the workspace.
736
+
737
+
2. **Activate Incoming Webhooks**
738
+
739
+
Click the **`Incoming Webhooks`** label on the right side of the page, then turn on **`Activate Incoming Webhooks`**.
Edit `./values/alert-manager.yaml` to replace it with your webhook URL and your Slack channel name.
752
+
```
753
+
kube-prometheus-stack:
754
+
alertmanager:
755
+
config:
756
+
global:
757
+
resolve_timeout: 5m
758
+
slack_api_url: 'https://hooks.slack.com/services/xxxxxxxxxxx/xxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxx' # your webhook url
759
+
receivers:
760
+
- name: 'slack-alerts'
761
+
slack_configs:
762
+
- channel: '#scroll-webhook' #your channel name
763
+
send_resolved: true
764
+
text: '{{ .CommonAnnotations.description }}'
765
+
title: '{{ .CommonAnnotations.summary }}'
766
+
route:
767
+
group_by: ['alertname']
768
+
receiver: 'slack-alerts'
769
+
routes:
770
+
- matchers: []
771
+
receiver: 'slack-alerts'
772
+
```
773
+
This configuration file will send all alerts to your Slack channel. If you need more complex rules, refer to the [Prometheus Alerting Configuration Documentation](https://prometheus.io/docs/alerting/latest/configuration/).
0 commit comments