如何在Azure WebApp应用程序中跟踪请求和异常 [英] How to track requests and exceptions within the Azure WebApp application

查看:64
本文介绍了如何在Azure WebApp应用程序中跟踪请求和异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Azure WebApp 解决方案

您可以 使用Application Insights在Web应用程序中捕获异常和相关诊断数据: https://docs.microsoft.com/zh-CN/azure/application-insights/app-insights-asp-net-exceptions#exceptions .

https://docs.microsoft.com/en-us/azure/app- service/web-sites-monitor .

https://docs.microsoft.com/zh-CN/azure/application-insights/app-insights-azure-web-apps .

https://blogs.msdn.microsoft.com/benjaminperkins/2016/07/01/how-to-view-the-event-logs-of-your-azure-app-service/.    

如果此答案有帮助,请单击标记为答案"或投票.为了在您的论坛上提供其他反馈 体验,请单击 We are using Application Insights SDK for our Azure WebApp application with Azure SQL Database and Azure Storage. Which Azure Service we can use to track time specific code requests and exceptions within the application?

You can capture exceptions and related diagnostic data in your web app with Application Insights: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-asp-net-exceptions#exceptions.

You could track requests by metrics, which provide information about the app, or App Service plan's behavior: https://docs.microsoft.com/en-us/azure/app-service/web-sites-monitor.

You could monitor Azure Web App performance by Application Insight: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-azure-web-apps.

Also, you can check event logs to view the events which are happening on your Azure App Service: https://blogs.msdn.microsoft.com/benjaminperkins/2016/07/01/how-to-view-the-event-logs-of-your-azure-app-service/.   

------------------------------------------------------------------------------------------------------

If this answer was helpful, click "Mark as Answer" or Up-Vote. To provide additional feedback on your forum experience, click here


这篇关于如何在Azure WebApp应用程序中跟踪请求和异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆