Home / Companies / New Relic / Blog / Post Details
Content Deep Dive

SQS Monitoring Deep Dive: Advanced Techniques and Observability in Action

Blog post from New Relic

Post Details
Company
Date Published
Author
Jones Zachariah Noel N, Senior Developer Relations Engineer
Word Count
1,548
Language
English
Hacker News Points
-
Summary

Amazon Simple Queue Service (SQS) is an integral part of Event-Driven Architecture, providing a mechanism for message queuing that can be enhanced through observability tools like New Relic's NRQL (New Relic Query Language). The article explores how to monitor SQS metrics beyond basic queue health by using NRQL to build custom dashboards and alerts for message bottlenecks. It highlights key metrics such as ApproximateNumberOfMessagesVisible, NumberOfMessagesSent, NumberOfMessagesReceived, and NumberOfMessagesDeleted, and emphasizes monitoring Dead Letter Queues (DLQs) to identify unprocessed tasks. Additionally, it discusses the importance of managing message sizes to avoid performance bottlenecks and showcases how distributed tracing with New Relic can enhance the efficiency and reliability of Lambda functions interacting with SQS. Finally, it covers integrating New Relic's Lambda Layer for comprehensive telemetry data, enabling deeper insights into the performance and behavior of serverless applications.