AWS SES
Collect AWS SES monitoring data covering email sending, delivery, bounces, complaints, and account reputation.
Configuration¶
Install Func¶
We recommend enabling hosted Func under TrueWatch Integrations - Extensions. All prerequisites are installed automatically; continue with the script installation.
To deploy Func yourself, see Deploy Func Yourself
Activate Script¶
Note: Prepare an AWS AK that meets the requirements. For simplicity, you can grant the global read-only permission
ReadOnlyAccessdirectly.
Activate the Hosted Script¶
- Log in to the TrueWatch console.
- Click 【Integrations】 and select 【Cloud Account Management】.
- Click 【Add Cloud Account】, select 【AWS】, and enter the required information. Skip this step if the cloud account has already been configured.
- Click 【Test】, then click 【Save】 if the test succeeds. If it fails, check the configuration and test again.
- Find the added cloud account in 【Cloud Account Management】 and click it to open its details page.
- Click 【Integrations】 on the cloud account details page, find
AWS SESunderNot Installed, and click 【Install】. Complete the installation in the dialog.
Activate the Script Manually¶
- Log in to the Func console, click 【Script Market】, open the TrueWatch script market, and search for
integration_aws_ses. - Click 【Install】 and enter AWS AK ID, AK Secret, and the account name.
- Click 【Deploy Startup Script】. The system automatically creates the
Startupscript set and configures the startup script. - After activation, find the automatic trigger configuration under 「Management / Automatic Trigger Configuration」. Click 【Execute】 to run it immediately without waiting for the schedule. After a short wait, review the task records and logs.
Verification¶
- Under 「Management / Automatic Trigger Configuration」, confirm that the task is configured and review its records and logs for permission or API errors.
- In TrueWatch 「Metrics」, open the
aws_sesmeasurement and confirm the monitoring data.
Metrics¶
The measurement is aws_ses.
| MetricName | MetricDescribe | Dimensions | Unit |
|---|---|---|---|
bounce_sum |
Permanent bounces or bounces after retries are exhausted | - | count |
complaint_sum |
Emails marked as spam by recipients | - | count |
delivery_sum |
Emails successfully delivered to recipient mail servers | - | count |
reputation_bounce_rate_average |
Account reputation bounce rate | - | Ratio (0–1) |
reputation_complaint_rate_average |
Account reputation complaint rate | - | Ratio (0–1) |
send_sum |
Sends successfully accepted by SES for attempted delivery | - | count |