简体   繁体   English

为什么我在CloudWatch中看不到所有SQS队列的指标

[英]Why I don't see metrics for all SQS queues in CloudWatch

I want to set up CloudWatch alarm on the size of specific queue, but I can only see metrics for one queue in the list. 我想针对特定队列的大小设置CloudWatch警报,但是我只能在列表中看到一个队列的指标。 How can I see metrics for all queues? 如何查看所有队列的指标?

SQS Only generates metrics for queues which are "active". SQS仅为“活动”队列生成度量。 Try making some requests against the queue (ReceiveMessage for example) and then see if you start getting cloudwatch metrics. 尝试对队列发出一些请求(例如,ReceiveMessage),然后查看是否开始获取cloudwatch指标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM