如何使用 Application Insights 查找故障相关性

How to use Application Insights to find failure dependences

我们应用程序的最新版本在 Application Insights 中生成了许多 400/500 HTTP 故障。其中一些失败失败是因为它们依赖于先前失败的 API。

在下图中,我们可以看到失败的依赖关系,但是当我深入研究它们时,我终究无法找到 API 它们所依赖的东西。

如有任何帮助,我们将不胜感激。

您可以导航到 azure portal -> application insights -> Logs,然后编写查询(注意:select 在 运行 查询之前写一个适当的 "Time range")像

dependencies 
| where success == "False" 

详细信息如下图所示:

此外,您可以尝试单击应用程序洞察左侧窗格中的 "Application map" 菜单。