问题描述
如何查看Web应用程序队列中有多少个请求? 我有与此相关的性能问题,但是我看不到其中有多少个请求.
How can I see how many requests are in the queue for an Web App? I have performance issues related to that, but I cannot see how many requests are in there.
我具有与应用程序关联的应用程序见解,但是在度量标准应用程序队列中的Http请求"中,我总是得到0.
I have application insight connected to app, but in the metric "Http Requests in Application Queue" I always get 0.
我知道队列中有请求,因为如果在HttpQueueLength > 1
时设置AutoScale,它将扩展以添加更多实例.
I know there are requests in the queue because if I set AutoScale when HttpQueueLength > 1
it will scale adding more instances.
推荐答案
HTTP队列长度是vm级别的指标,因此您必须在App Service Plan级别进行检查.
HTTP queue length is a vm level metric, so you will have to check this at the App Service Plan level.
您还可以转到Azure监视器:
You can also go to Azure Monitor:
这篇关于如何查看Azure Web App的Http请求队列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!