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
Copy file name to clipboardExpand all lines: src/content/docs/en/sdk/guides/aws-deployment.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -810,7 +810,7 @@ Some services do not support this without additional configurations (for example
810
810
### Monitoring
811
811
You can monitor the cluster's running status through Grafana.
812
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.xyz, where you will see two sets of dashboards.
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`.
This guide documents getting a Scroll SDK deployment working on Digital Ocean's Kubernetes and managed databases, using Cloudflare for DNS.
30
34
@@ -536,4 +540,63 @@ To quickly get started with Grafana, run the following command:
536
540
537
541
Now, visit the localhost URL in [your browser](http://localhost:3000/). The default password for the `admin` user is `prom-operator`.
538
542
539
-
Adding an ingress URL, changing the default password or adding LDAP login are all suggested if you use this stack in production. */}
543
+
Adding an ingress URL, changing the default password or adding LDAP login are all suggested if you use this stack in production. */}
544
+
545
+
546
+
### Monitoring
547
+
You can monitor the cluster's running status through Grafana.
548
+
Additionally, you can send alerts via email and Slack using Alertmanager.
549
+
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.
556
+
557
+
2. **Activate Incoming Webhooks**
558
+
559
+
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.
572
+
```
573
+
kube-prometheus-stack:
574
+
alertmanager:
575
+
config:
576
+
global:
577
+
resolve_timeout: 5m
578
+
slack_api_url: 'https://hooks.slack.com/services/xxxxxxxxxxx/xxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxx' # your webhook url
579
+
receivers:
580
+
- name: 'slack-alerts'
581
+
slack_configs:
582
+
- channel: '#scroll-webhook' #your channel name
583
+
send_resolved: true
584
+
text: '{{ .CommonAnnotations.description }}'
585
+
title: '{{ .CommonAnnotations.summary }}'
586
+
route:
587
+
group_by: ['alertname']
588
+
receiver: 'slack-alerts'
589
+
routes:
590
+
- matchers: []
591
+
receiver: 'slack-alerts'
592
+
```
593
+
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