简体   繁体   English

Azure服务总线统计/监控

[英]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. 我想创建一个显示Azure服务总线队列状态的仪表板,并显示“添加到队列中的消息”,“队列长度”和“已处理消息”等的历史记录。使用Azure管理门户,我可以看到大多数这些统计信息都是手动为每个队列

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. 有没有办法通过其中一个API访问管理门户中显示的数据,因为我想将我们使用的队列数量中的数据合并到一个接口中。 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. 目前使用REST API,我只能看到如何获取队列中当前消息的近似计数。

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) 有此一API现在(还没有回来,当OP创建线程): 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: 此外,我相信它应该可以通过Azure Insights API获得:

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

It is possible to fetch the Count of Messages in a Queue, Incoming Messages, Outgoing Messages with the help of the latest Azure Monitor Metrics , with which you can build you own Dashboard. 借助最新的Azure监视器度量标准 ,可以获取队列中的消息计数,传入消息,传出消息,您可以使用它来构建自己的仪表板。 Or you can make use of the Azure Monitor in Azure portal, which allows you to configure dashboards and alerts. 或者,您可以在Azure门户中使用Azure监视器 ,该门户允许您配置仪表板和警报。

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

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