本文介绍了如何查询自动收集的应用服务指标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 App Service禁用了Application Insights,但App Service刀片的Overview选项卡仍然显示了许多图表 - "平均响应时间", "HTTP 5xx"等等。App Service has Application Insights disabled, however the Overview tab of the App Service blade nevertheless shows a number of charts - "Average Response Time," "HTTP 5xx" etc.另外,我可以点击"诊断和解决问题"标签。并深入查看每个网址404的列表,其中包含每个网址已有404的计数。 具体而言,数据表标记为"HTTP状态代码的URI失败请求 - 404."Also, I can click through the tab "Diagnose and Solve Problems" and drill down to a listing of per-URL 404s with a count that each URL has 404'ed.  Specifically the data table is labeled "Failed Requests By URI for HTTP Status Code - 404." 这个数据存储在命名的Azure服务中?  In what named Azure service is this data stored?  我发现很难最初导航Azure监控和日志记录生态系统(虽然我理解单独使用Log Analytics本身,而不是好吧)它可能有助于我知道哪个系统存储了这个数据。 I am finding it difficult to initially navigate the Azure monitoring and logging ecosystem (although I understand using Log Analytics itself, alone, rather well) and it might help me to know which system in which this data is stored.我很乐意进行一些配置设置,比如将这些数据传输到Log Analytics工作区进行查询/报告/监控,但不知道这个源系统 是什么,甚至不是它的名字,我不能弄清楚如何做到这一点。I would be happy to make some configuration setting to, say, pipe this data into a Log Analytics workspace for querying/reporting/monitoring, but without knowing what this source systemis, not even its name, I cannot figure out how to do this. 谢谢 Thank you推荐答案 大卫,为了安心,你是对的: 未启用"应用洞察"。 新创建的App Service看起来像这样(示例如下所示是.NET Web应用程序):For a bit in the way of peace of mind, you are correct:  Application Insights is not enabled.  A freshly created App Service would look like this (example shown below is a .NET web app):    (你可以仔细检查一下A)单击Application Insights图标,系统将提示您启用Application Insights,B)查看您的资源组,并确认没有Application Insights资源)(You can double check this by A) clicking on the Application Insights icon where you will be prompted to enable Application Insights and B) looking at your resource group, and confirming that there is no Application Insights resource)为了进行比较,这是启用Application Insights时Web应用程序的样子:For comparison, this is what a web app looks like with Application Insights enabled:    在我们的 文档,它声明:"Azure App Service为Azure门户中的Web应用程序,移动后端和API应用程序提供内置监视功能。""Azure App Service provides built-in monitoring functionality for web apps, mobile back ends, and API apps in the Azure portal."  此遥测收集是内置的,没有与之相关的资源。This telemetry gathering is built-in, and has no resource associated with it.您可以在此处获取有关使用内置诊断启用日志的更多信息: You can get more information about enabling logs using the built-in diagnostics here: https://docs.microsoft .com / zh-CN / azure / app-service / troubleshoot-diagnostic-logs 您还可以使用Application Insights进行更多的遥测,我们将在详情请点击这里:You can also get significantly more telemetry by using Application Insights, which we go through in detail here: https: //docs.microsoft.com/en-us/azure/azure-monitor/learn/quick-monitor-portal 我希望有所帮助! 这篇关于如何查询自动收集的应用服务指标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-25 01:10