Azure函数-监视器-我可以找回旧视图吗? [英] Azure Functions - Monitor - can I get the old view back?

查看:71
本文介绍了Azure函数-监视器-我可以找回旧视图吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Azure功能中,Azure门户中的监视器"视图已更改为显示配置应用程序见解...".我该如何找回旧的简单视图?

In a Azure Functions the Monitor view in the Azure Portal has changed to show "Configure Application Insights...". How can I get the old simple view back?

推荐答案

第二次更新

2.x运行时不再将日志(由ILogger提供)发送到Azure WebJobs Dashboard使用的表.因此,我们不应再将旧视图用于v2函数.使用Application Insights或先前更新中提到的文件日志.

2.x runtime doesn't send logs(provided by ILogger) to the table consumed by Azure WebJobs Dashboard anymore. Hence we should no longer use the old view for v2 functions. Use Application Insights or the file logs mnetioned in the previous update.

在v2 GA之后更新

对于新创建的功能,由于默认设置,Azure WebJobs Dashboard也消失了.我们需要删除APPINSIGHTS_INSTRUMENTATIONKEY(如果有)并在AzureWebJobsDashboard ="nofollow noreferrer">应用程序设置以恢复旧的监视器.

For new created functions, Azure WebJobs Dashboard is gone as well due to default settings. We need to delete APPINSIGHTS_INSTRUMENTATIONKEY(if there is) and add AzureWebJobsDashboard in Application settings to get old monitor back.

Azure目前尚未删除此旧功能,但正如@nertim所提到的,建议应用洞察" 确实提供了更丰富的监控和轻松的查询体验.

Azure doesn't cut this old feature for now, but as @nertim mentioned, recommended Application Insights does offer richer monitoring and easy query experience.

如果不希望进行任何日志分析,请在创建Function应用程序时禁用Application Insights,我们仍然可以在门户中看到日志流(功能面板下的Logs或Platform功能中的Log streaming).对于文件日志,请转到kudu(https://<functionAppName>.scm.azurewebsites.net/DebugConsole)并导航到D:\home\LogFiles\Application\Functions\function\<functoinName>.

If expecting no log analysis, disable Application Insights when creating Function app, we can still see logs stream in portal(Logs under function panel or the Log streaming in Platform features). For file logs, turn to kudu(https://<functionAppName>.scm.azurewebsites.net/DebugConsole) and navigate to D:\home\LogFiles\Application\Functions\function\<functoinName>.

原始答案

简而言之,v2的经典监视器视图已消失.有关更多详细信息,请参见@nertim的回复.

Shortly speaking, classic monitor view for v2 has gone. More details, see @nertim's reply.

解决方法是访问Azure WebJobs Dashboard,其内容类似于监视器视图. https://{yourfunctionappname}.scm.azurewebsites.net/azurejobs/#/functions.

Workaround is to visit Azure WebJobs Dashboard, which has similar content like monitor view. https://{yourfunctionappname}.scm.azurewebsites.net/azurejobs/#/functions.

这篇关于Azure函数-监视器-我可以找回旧视图吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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