gpt4 book ai didi

azure - AppInsight 日志错误未显示问题

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

我已将 Azure 应用程序洞察配置到我的 Web 应用程序。我添加了如下代码。

  catch (Exception serverEx)
{
_logger.LogError("hello world");
return StatusCode(StatusCodes.Status202Accepted, serverEx.Message);
}

这在痕迹中可见。

enter image description here

这是一个异常,所以我需要在异常中加载它。这是我的查询。

let start=datetime("2022-02-24T14:23:00.000Z");
let end=datetime("2022-02-25T14:23:00.000Z");
let timeGrain=5m;
let dataset=exceptions
| where timestamp > start and timestamp < end
| where client_Type == "Browser"
;
dataset

此查询未得到任何结果。即使我输入 Exceptions 也没有得到任何结果。

enter image description here

最佳答案

我自己找到了解决方案。如果这是不正确的,请纠正我。

痕迹|其中严重级别 == 3

enter image description here

关于azure - AppInsight 日志错误未显示问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71321544/

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