gpt4 book ai didi

Azure AppInsights - Http 结果代码故障

转载 作者:行者123 更新时间:2023-12-02 22:51:37 24 4
gpt4 key购买 nike

我们已经在 Azure 中配置了 APIM、WebApp,然后连接了 AppInsights Log 以在出现故障时获取详细信息。

我们正在 APIM 上进行负载测试。

有一次,我们开始收到 500 错误代码,这意味着应用程序级别存在问题。

当我们查看详细信息时,在某一时刻,我们得到的 http 结果代码为“故障”,并且我们在 API、服务器下没有收到任何错误。

所以我想知道“故障”是什么意思?

A

最佳答案

以下是 HttpCoreDiagnosticListener tracks exceptions 上的 ApplicationInsights-dotnet 存储库问题的解释

This issue is about DependencyCollection module tracking an Exception event along with a DependencyTelemetry in the event of client side errors like DNS. The exception is sent to user ikey, along with DependencyTelemetry.

If this exception is not tracked, then the only information DependencyCollector has is that call failed, and resultCode as "Faulted". We should modify the result code to be more useful, before removing the actual exception.

Btw, DependencyCollection for .NET Framework does not track this exception, so making netcore also behave same is good for consistency point.

关于Azure AppInsights - Http 结果代码故障,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60540667/

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