Monitoring AWS End User Messaging SMS with Amazon CloudWatch
You can monitor AWS End User Messaging SMS using CloudWatch, which collects raw data and processes it into readable, near real-time metrics. These statistics are kept for 15 months, so that you can access historical information and gain a better perspective on how your web application or service is performing. You can also set alarms that watch for certain thresholds, and send notifications or take actions when those thresholds are met. For more information, see the Amazon CloudWatch User Guide.
CloudWatch metrics for AWS End User Messaging SMS
The following sections list the metrics and dimensions for AWS End User Messaging SMS.
Note
For some metrics, the result may be approximate due to the distributed nature of the service. In most cases, the count should be close to the actual number of messages processed.
For AWS End User Messaging SMS, you might want to watch for TextMessageMonthlySpend, MediaMessageMonthlySpend
and VoiceMessageMonthlySpend and trigger an alarm when greater
than, greater than or equal to, or equal to the threshold. The namespace for AWS End User Messaging SMS is
AWS/SMSVoice
.
Topics
Message spend metrics
Metric | Description | Unit |
Meaningful statistics |
---|---|---|---|
TextMessageMonthlySpend |
The amount of money (in US Dollars) that you have spent sending SMS messages this month. |
US Dollars | Maximum |
VoiceMessageMonthlySpend |
The amount of money (in US Dollars) that you have spent sending Voice messages this month. |
US Dollars | Maximum |
MediaMessageMonthlySpend |
The amount of money (in US Dollars) that you have spent sending MMS messages this month. |
US Dollars | Maximum |
Message delivery metrics
The AWS/SMSVoice
namespace includes the following message delivery
metrics.
Metric | Description | Unit | Meaningful statistics |
---|---|---|---|
NumberOfTextMessagePartsSent | Number of text message parts sent. Excludes messages that are blocked by Protect and service limits like message spend limits | Count |
|
NumberOfMediaMessagePartsSent |
Number of media message parts sent. Excludes messages that are blocked by Protect and service limits like message spend limits | Count |
|
NumberOfTextMessagePartsDelivered | Number of text message parts delivered to the recipient. | Count |
|
NumberOfMediaMessagePartsDelivered | Number of media message parts delivered to the recipient. | Count |
|
Message feedback metrics
The AWS/SMSVoice
namespace includes the following message feedback
metrics.
Metric | Description | Unit | Meaningful statistics |
---|---|---|---|
NumberOfTextMessagesExpectingFeedback | The total number of text messages for which feedback is tracked. NumberOfTextMessagesExpectingFeedback will have
a value of 1 for each |
Count |
|
NumberOfMediaMessagesExpectingFeedback | The total number of media messages for which feedback is tracked. NumberOfMediaMessagesExpectingFeedback will have a value of 1
for each |
Count |
|
NumberOfTextMessagesWithFeedback | The total number of text messages for which feedback was tracked and a feedback response was received. NumberOfTextMessagesWithFeedback will have a value of 1 for each
message that receives a feedback. Percentage of messages with feedback can be
determined by |
Count |
|
NumberOfMediaMessagesWithFeedback | The total number of media messages for which feedback was tracked and a feedback response was received. NumberOfMediaMessagesWithFeedback will have a value of 1 for
each message that receives a feedback. Percentage of messages with feedback can be
determined by |
Count |
|
Protect metrics in AWS End User Messaging SMS
The AWS/SMSVoice
namespace includes the following Protect metrics.
Metric name | Description | Unit | Meaningful Statistics |
---|---|---|---|
TextMessagesBlockedByProtect | Number of text messages blocked due to country mode block rules. TextMessagesBlockedByProtect will have a value of 1 if the message is blocked by protect and 0 if the message is not blocked. The percentage of SMS messages blocked by Protect can be determined by |
Count |
|
MediaMessagesBlockedByProtect | Number of media messages blocked due to country mode block rules. MediaMessagesBlockedByProtect will have a value of 1 if the message is blocked by protect and 0 if the message is not blocked. The percentage of MMS messages blocked by Protect can be determined by |
Count |
|
Dimensions
You can use the following dimensions to refine the metrics listed in the previous tables. These dimensions allow you to filter and group the metrics based on specific attributes of your SMS and voice messages.
Dimension | Description |
---|---|
None | Do not filter |
IsoCountryCode |
This dimension filters the data you request by ISO country code |
MessageFeedbackStatus | This dimension filters the data you request by the message feedback status of
RECEIVED or FAILED |
ProtectConfigurationId | This dimension filters the data you request by protect configuration |
[IsoCountryCode, MessageFeedbackStatus] | This dimension filters the data you request by ISO country code and message feedback status |
[ProtectConfigurationId, IsoCountryCode] | This dimension filters the data you request by protect configuration and ISO country code |