gpt4 book ai didi

azure - 为什么应用程序洞察不显示失败的请求、服务器响应时间、服务器请求和可用性?

转载 作者:行者123 更新时间:2023-12-03 06:58:23 26 4
gpt4 key购买 nike

我有两个项目 Web 应用程序和 Web API。我只需右键单击我的项目并选择选项配置应用程序洞察,即可将应用程序洞察集成到它们中。我可以看到我的实时指标工作正常,但在概述页面中我没有看到图表中有任何变化。我已附上不工作图的屏幕截图。

enter image description here

我刚刚注意到,当我如上所述正常集成应用程序时,它工作正常,但是当我尝试通过更改特定位置的应用程序洞察的 key 来更改应用程序洞察时,问题就产生了。谁能帮助我解释为什么仅通过更改应用程序 key 它的工作方式就不同?

最佳答案

一般来说,Instrumentation Key 是将您的应用程序绑定(bind)到 Application Insights 的桥梁,您可以通过它监控应用程序中发生的所有更改。

Instrumentation Key is the key integration point between your application and the Application Insights. If you create the Application Insights directly using Visual Studio; Visual Studio takes care of linking between your application and the key.

因此,从应用程序洞察中更改 Instrumentation 键可以使实时指标的工作方式有所不同,因为链接已损坏。如果您尝试添加其他资源,即应用程序洞察的检测 key (取决于您的业务需求),那么您可以看到指标已记录在该资源中。

引用文献: ABHIJIT JANA - Instrumentation key in application insights

关于azure - 为什么应用程序洞察不显示失败的请求、服务器响应时间、服务器请求和可用性?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72697904/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com