简体   繁体   English

如何继续和监视Azure应用服务

[英]How to proceed and monitor Azure app service

Hello my application is running on Azure (app service). 您好,我的应用程序正在Azure上运行(应用程序服务)。 It is dot net platform application. 它是点网平台的应用程序。 It is consuming database as a service (Azure SQL) Now my app service plan is small standard 1 它正在消耗数据库即服务(Azure SQL)现在我的应用程序服务计划是小型标准1 在此处输入图片说明

Also kindly let me know how to check below things: 还请让我知道如何检查以下内容:

  1. The time when load is high 负载高的时间
  2. The time when load is less 负载少的时间
  3. Pages visited most 访问最多的页面
  4. Pages which are slow 页面速度慢
  5. traffic report 交通报告
  6. Is it scaled automatically without any configuration? 是否无需任何配置即可自动缩放? Or do I need to put some configuration? 还是我需要进行一些配置? (Autoscale upto 10 instances) (最多可自动缩放10个实例)

I saw monitor option in Azure app service for my app 我在我的应用程序的Azure应用程序服务中看到了监视器选项

Help will be appreciated. 帮助将不胜感激。

Regards Kunal 问候库纳尔

According to your description, I suggest you could try to use Application Insights for your web apps. 根据您的描述,建议您尝试对Web应用程序使用Application Insights It could help you monitor your web app. 它可以帮助您监视Web应用程序。

The time when load is high The time when load is less Pages which are slow Pages visited most 负载高的时间负载少的时间慢的页面访问量最大的页面

You could use AI to monitor web app's performance. 您可以使用AI监视Web应用程序的性能。 More details, you could refer to this . 更多详细信息,您可以参考

You could also use its Usage analysis for web applications feature(page views).More details, you could refer to this article . 您还可以将其使用情况分析用于Web应用程序功能(页面浏览量)。更多详细信息,请参阅本文

All in all, it provides multiple way to monitor your web app. 总而言之,它提供了多种监视Web应用程序的方法。

Some image example as below: 一些图像示例如下:

Each page performance: 每页表现:

在此处输入图片说明

在此处输入图片说明

Server performance: 服务器性能:

在此处输入图片说明

Is it scaled automatically without any configuration? 是否无需任何配置即可自动缩放? Or do I need to put some configuration? 还是我需要进行一些配置? (Autoscale upto 10 instances) (最多可自动缩放10个实例)

If you want to use auto scale in azure web app, you could set it in the azure portal. 如果要在Azure Web应用程序中使用自动缩放,可以在Azure门户中进行设置。

More details about how to set it, you could refer to this article . 有关如何设置它的更多详细信息,可以参考本文

You can check few details through Azure portal. 您可以通过Azure门户检查一些详细信息。 Click on Azure Web App overview blade to see CPU usage, requests etc. You can also check Diagnose and solve problems tab to find out the metrics. 单击“ Azure Web App概述”刀片以查看CPU使用率,请求等。您还可以选中“诊断并解决问题”选项卡以找出指标。

Also, As Brando Zhang suggested, you can configure Application Insights for your web site. 另外,正如Brando Zhang所建议的那样,您可以为网站配置Application Insights。 For more details, refer to Monitor Azure web app performance . 有关更多详细信息,请参阅Monitor Azure Web应用性能

Auto scale option is not set by default, you need to enable it to configure this feature. 默认情况下未设置自动缩放选项,您需要启用它来配置此功能。

In Azure portal -> Click on Web App -> Settings -> Scale out -> then configure Auto scale 在Azure门户中->单击Web应用->设置->向外扩展->然后配置自动扩展

For more details, refer to the documentation Scale instance count manually or automatically . 有关更多详细信息,请参考文档Scale实例计数,手动或自动

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

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