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
This guide demonstrates how to deploy a Scroll SDK on Amazon Web Services (AWS) using Elastic Kubernetes Service (EKS) and other managed services.
19
23
@@ -807,4 +811,63 @@ controller:
807
811
808
812
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
813
810
-
{/* TODO: Fix this comment once we add this documentation */}
814
+
{/* TODO: Fix this comment once we add this documentation */}
815
+
816
+
817
+
### Monitoring
818
+
You can monitor the cluster's running status through Grafana.
819
+
Additionally, you can send alerts via email and Slack using Alertmanager.
820
+
If you have configured a domain for Grafana in the previous steps, you can access it by opening http://grafana.yourdomain.xyz, where you will see two sets of dashboards.
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.
827
+
828
+
2. **Activate Incoming Webhooks**
829
+
830
+
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.
843
+
```
844
+
kube-prometheus-stack:
845
+
alertmanager:
846
+
config:
847
+
global:
848
+
resolve_timeout: 5m
849
+
slack_api_url: 'https://hooks.slack.com/services/xxxxxxxxxxx/xxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxx' # your webhook url
850
+
receivers:
851
+
- name: 'slack-alerts'
852
+
slack_configs:
853
+
- channel: '#scroll-webhook' #your channel name
854
+
send_resolved: true
855
+
text: '{{ .CommonAnnotations.description }}'
856
+
title: '{{ .CommonAnnotations.summary }}'
857
+
route:
858
+
group_by: ['alertname']
859
+
receiver: 'slack-alerts'
860
+
routes:
861
+
- matchers: []
862
+
receiver: 'slack-alerts'
863
+
```
864
+
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