AWS SQS¶
Overview¶
Amazon Simple Queue Service (Amazon SQS) offers a secure, durable, and available hosted queue that lets you integrate and decouple distributed software systems and components.
Enable collection SQS logs and metrics in cloudaeye to monitor and analysis of the time-series data using state-of-the-art machine learning technologies for monitoring and anomaly detection in distributed cloud application.
Prerequisites¶
- User must setup a logs service for the same application.
- Logs service must be added to a service group.
Account Access¶
This step is optional. We strongly recommend that you allow us to retreive info about your services because it will greatly minimize the chances of making a mistake
Configuration for SQS Logs Collection¶
User must select AWS Services
field in application creation form and select SQS service from AWS Service
dropdown.
Provide the cloudwatch log group associated with the SQS
Configuration for SQS Metrics Collection¶
User must select AWS Services
field in application creation form and select SQS service from AWS Service
dropdown.
Provide required dimensions and metrics to be collected.
If you have allow us to retreive service details from your account, the dimensions will shown as a dropdown.
Detailed description of metrics and dimension can be viewed at SQS metrics and dimensions
Supported SQS Dimensions¶
SQS provides below dimensions on which metrics are collected.
Dimension | Description |
---|---|
QueueName | name of the queue |
Supported SQS Metrics¶
SQS provides below metrics to be collected.
Metrics | Description |
---|---|
ApproximateAgeOfOldestMessage | The approximate age of the oldest non-deleted message in the queue |
ApproximateNumberOfMessagesDelayed | The number of messages in the queue that are delayed and not available for reading immediately. This can happen when the queue is configured as a delay queue or when a message has been sent with a delay parameter |
ApproximateNumberOfMessagesNotVisible | The number of messages that are in flight. Messages are considered to be in flight if they have been sent to a client but have not yet been deleted or have not yet reached the end of their visibility window |
ApproximateNumberOfMessagesVisible | The number of messages available for retrieval from the queue. Reporting Criteria: A non-negative value is reported if the queue is active |
NumberOfEmptyReceives | The number of ReceiveMessage API calls that did not return a message. Reporting Criteria: A non-negative value is reported if the queue is active |
NumberOfMessagesDeleted | The number of messages deleted from the queue. Reporting Criteria: A non-negative value is reported if the queue is active |
NumberOfMessagesReceived | The number of messages returned by calls to the ReceiveMessage action. Reporting Criteria: A non-negative value is reported if the queue is active |
NumberOfMessagesSent | The number of messages added to a queue. Reporting Criteria: A non-negative value is reported if the queue is active |
SentMessageSize | The size of messages added to a queue. Reporting Criteria: A non-negative value is reported if the queue is active |