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: docs/infra/set-up-monitoring-alerts.md
+12-17Lines changed: 12 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,26 +4,21 @@
4
4
5
5
The monitoring module defines metric-based alerting policies that provide awareness into issues with the cloud application. The module supports integration with external incident management tools like Splunk-On-Call or Pagerduty. It also supports email alerts.
6
6
7
-
### Set up email alerts.
8
-
9
-
1. Add the `email_alerts_subscription_list` variable to the monitoring module call in the service layer
The monitoring module supports a simple email-based alerting system that does not rely on an external incident management service.
10
+
11
+
1. Update the `email_alert_recipients` variable in `app-config/env-config/monitoring.tf`
12
+
19
13
2. Run `make infra-update-app-service APP_NAME=<APP_NAME> ENVIRONMENT=<ENVIRONMENT>` to apply the changes to each environment.
20
-
When any of the alerts described by the module are triggered notification will be sent to all emails specified in the `email_alerts_subscription_list`
21
14
22
-
### Set up External incident management service integration.
15
+
### Integrate with an incident management service
23
16
24
17
1. Set setting `has_incident_management_service = true` in app-config/main.tf
25
18
2. Get the integration URL for the incident management service and store it in AWS SSM Parameter Store by running the following command for each environment:
26
-
```
27
-
make infra-configure-monitoring-secrets APP_NAME=<APP_NAME> ENVIRONMENT=<ENVIRONMENT> URL=<WEBHOOK_URL>
28
-
```
19
+
20
+
```bash
21
+
make infra-configure-monitoring-secrets APP_NAME=<APP_NAME> ENVIRONMENT=<ENVIRONMENT> URL=<WEBHOOK_URL>
22
+
```
23
+
29
24
3. Run `make infra-update-app-service APP_NAME=<APP_NAME> ENVIRONMENT=<ENVIRONMENT>` to apply the changes to each environment.
0 commit comments