Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Service bus queue - Message proccessed vs active message proccessed

I have a webjob (App service) that acts on messages from a queue in Azure. I like to scale the webjob when I have a long queue. How do I do that?

From the criteria, I can see 2 options: - Messages processed/Instance (AVG) - Active Messages Processed/Instance (AVG)

However,I don't think they are relevant what so ever. Am I wrong?

enter image description here

like image 869
Ashkan S Avatar asked May 30 '26 01:05

Ashkan S


1 Answers

Azure Service Bus queue/subscription can contain messages with several statuses: Active, Deferred, and Scheduled. Active messages processed would be for the messages that were with an Active state. I.e. messages that were not deferred or scheduled. Messages Processed metric would include messages with any state. The documented metric names are not the same as the ones you see, though I get a feeling that's a UI discrepancy.

like image 153
Sean Feldman Avatar answered Jun 01 '26 22:06

Sean Feldman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!