Is it possible to get metrics of SQS or SNS message attributes?

Viewed 23

I have an SQS queue that receives filtered messages of an SNS and need to gather statistics about messages based on message attributes.

Example: suppose queue Q listening events on S, S sends messages with some message attribute attribute that belongs {A, B, C}. Q only filters only messages with attribute equals to A or B. That works like a charm, but now we want to know how many messages with attribute equals A, and how many with attribute equal B are incoming.

Is there a simple way to do it? Changing the architecture is not desired.

Thanks in advance

0 Answers
Related