Cortana 频道 user/bot 消息未出现在应用洞察和分析中

Cortana channel user/bot messages doesn't appear in App insights and analytics

我注意到一个奇怪的问题,当从 Cortana 频道进行对话时,消息没有记录在应用程序洞察中。记录了其他频道。

该机器人是使用 C# 构建的并且可以正常工作,只是在使用 cortanaActivity 事件没有记录在 App insights 中,因此没有也显示在 Analytics 中。我在 cortana 频道进行了很多对话。

None 在应用程序洞察分析中也是如此。

the Activity events are not getting logged in App insights while using from cortana

我启用了网络聊天、直线和 Cortana 频道,并进行了测试。我可以重现这个问题,Activity 事件可以记录在 Application insights for webchat 和 Direct Line 频道中,但它似乎没有记录来自 Cortana 频道的 Activity 事件。

查询结果: (在Channel ID字段中,我们can find activity from directline channel 已记录,但未记录来自 Cortana 频道的 activity)

如果可以的话,您可以在“Azure Bot Service Customer Feedback site” or github issues上反馈举报。

此外,如果你想跟踪从 Cortana 频道发生的对话,你可以尝试从 dependencies 查询数据。