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.
The monitoring module supports a simple email-based alerting system that does not rely on an external incident management service.
-
Update the
email_alert_recipientsvariable inapp-config/env-config/monitoring.tf -
Run
make infra-update-app-service APP_NAME=<APP_NAME> ENVIRONMENT=<ENVIRONMENT>to apply the changes to each environment.
-
Set setting
has_incident_management_service = truein app-config/main.tf -
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:
make infra-configure-monitoring-secrets APP_NAME=<APP_NAME> ENVIRONMENT=<ENVIRONMENT> URL=<WEBHOOK_URL>
-
Run
make infra-update-app-service APP_NAME=<APP_NAME> ENVIRONMENT=<ENVIRONMENT>to apply the changes to each environment.