Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure service bus statistics/Monitoring

I want to make a dashboard which shows the status of our Azure services bus queues and displays the history for "messages added to queue", "length of queue" and "messages processed" etc. Using the Azure Management Portal, I can see that most of these statistics manually for each queue.

Is there any way to get access to the data that is displayed in the Management Portal through one of the APIs as I want to combine the data from number of queues that we use into a single interface. I have searched in vain but I don't want to log my own statistics as that seems like redoing a task that Microsoft already perform.

Currently with REST API all I can see is how to get the current approximate count of messages in the queue.

like image 730
Richard Mannion Avatar asked Oct 23 '13 13:10

Richard Mannion


People also ask

How do I Monitor my Azure Service Bus queue?

You can access alerts for Azure Service Bus by selecting Alerts from the Azure Monitor section on the home page for your Service Bus namespace. See Create, view, and manage metric alerts using Azure Monitor for details on creating alerts.

How do I check Service Bus logs?

Logs for windows service bus can be find in the application logs in the Windows Event Viewer application.

Which Azure service can provide performance metrics?

Azure Monitor collects metrics from the following sources. After these metrics are collected in the Azure Monitor metric database, they can be evaluated together regardless of their source: Azure resources: Platform metrics are created by Azure resources and give you visibility into their health and performance.

What can be monitored with Azure Monitor?

Monitors your Azure virtual machines (VM) and virtual machine scale sets at scale. It analyzes the performance and health of your Windows and Linux VMs, and monitors their processes and dependencies on other resources and external processes.


1 Answers

There is an API for this now (wasn't back when the OP created the thread): https://msdn.microsoft.com/en-gb/library/azure/dn163589.aspx (REST) https://msdn.microsoft.com/en-us/library/mt348562.aspx (.NET)

Also, I believe it should be available via Azure Insights API:

https://msdn.microsoft.com/en-us/library/microsoft.azure.insights.aspx

like image 82
itaysk Avatar answered Oct 17 '22 09:10

itaysk