gpt4 book ai didi

azure - Microsoft Application Insights 不显示自定义属性

转载 作者:行者123 更新时间:2023-12-02 23:50:56 25 4
gpt4 key购买 nike

当我的应用程序中发生预期时,我试图记录附加信息。我有以下代码。

        var aiClient = new TelemetryClient();
var properties = new Dictionary<string, string> { { "FullDetails", logMessage + Environment.NewLine + GetDetails(ex)}};
aiClient.TrackException(ex, properties, null);

但我在 Azure 门户中看到的只是 Azure 门户的异常属性 Blade 中的标准内容。

最佳答案

您必须单击标准属性部分底部的小“...”。这将带您进入“完整”属性边栏选项卡,您应该在底部看到您的属性。

关于azure - Microsoft Application Insights 不显示自定义属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28283783/

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