How to resolve Sprinto check for monitoring AWS SQS message visibility
About
Sprinto Check: AWS SQS messages visibility should be monitored
Upon integrating your AWS account with Sprinto, the platform fetches the list of services from your AWS account. Suppose you use the AWS SQS service and have not created a monitoring alert for the metric ApproximateNumberOfMessagesVisible. In that case, Sprinto activates the above check for all queues under your SQS service account.
Note: At this time, our platform does not support AWS CloudWatch Composite Alarms or Math-Based Alarms.
This means you cannot create alarms that:
Combine multiple alarms using logical conditions (e.g., ALARM1 AND ALARM2
)
Use metric math expressions (e.g., calculating averages or deltas across metrics)
Purpose
Monitoring SQS message visibility serves the crucial purpose of ensuring the timely processing of messages from the queue. If the message visibility limit surpasses the defined threshold, Sprinto sends notifications to relevant stakeholders through the preferred medium per your configuration.
How to Resolve
To address this check, follow the steps below to create an AWS CloudWatch alert for monitoring the AWS SQS message visibility parameter.
Before you Begin
Ensure you have "Admin" access to the AWS account to create alerts.
Confirm that you already have an SQS queue already created on your AWS account for which you will create the alert.
Log in to Sprinto as an administrator.
Create Monitoring Alert
Log in to your AWS console using your credentials.
Navigate to the CloudWatch web service.
Go to Alarms > In alarm, and click Create alarm.
Click Select metric.
On the Select metric page, choose the AWS/SQS namespace and select the metric ApproximateNumberOfMessagesVisible.
Specify the metric and conditions to define the alert trigger point, then click Next.
On the configure action page:
Create a new topic:
Enter the topic name and email address for alert notifications.
Add notification:
Select the created SNS topic and click Add notification.
Enter a name and description for the created alert, then click Next.
Preview your created alarm and edit any required parameters, then click Create alarm.
Once the monitoring alert is created on CloudWatch for AWS SQS service, Sprinto retrieves the changes, and the Sprinto check status is set to "Passing."
If you need any assistance with the Sprinto check, please get in touch with Sprinto support. We're here to help!