Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For a long time, the only way to obtain the Service Bus entity(Queues, Topics) active Message count, or the size of the entity, you had to either rely on the old metrics pipeline or on the NamespaceManager library. We just added support for these two metrics, in our new Metrics pipeline. So far, you can only access these newly emitted metrics via code. We are working on showing them in the portal too, in the near future. Additionally the count and size is only available for Queues and Topics but not Subscriptions at the moment. The only currently supported way, is to observe the metrics in 1 minute intervals and observing the total aggregation. Other ways of observing these two metrics will likely give you wrong values.
Please find a sample on how to access the metrics here.
Even without portal representation this way of accessing the metrics should be valuable for auto receive or send side scaling scenarios.
Please find the main metrics blog and a few other interesting posts below:
https://blogs.msdn.microsoft.com/servicebus/2017/10/21/metrics-in-azure-monitor-preview-released/
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in