【问题标题】:In Azure App Insight, how to get properties of events tracked from App Center?在 Azure App Insight 中,如何获取从 App Center 跟踪的事件的属性?
【发布时间】:2018-10-25 09:29:38
【问题描述】:

我将 App Center 与 Xamarin.Forms 移动应用程序一起使用。 我使用 App Center 的分析,尤其是事件来记录大量信息。

为了计算这些信息,我使用了 Azure App Insights。 我已经配置了从 App Center 到 App Insight 的导出,它运行良好。

我的问题是,在 App Insight 中,我可以看到事件,但看不到事件的属性。

例如,来自该文档https://docs.microsoft.com/en-us/appcenter/sdk/analytics/xamarin#custom-events 我可以看到“点击视频”事件,但看不到“类别”和“文件名”。 请问如何在 App Insight 中获取这些信息?

另外,是否有可能知道每个属性之间的关系?换句话说,按日期和时间对所有属性进行分组?

提前致谢:)

这里有两个打印屏幕来说明我的问题:

【问题讨论】:

  • 不确定它是否可以帮助您,但您可以使用 Application Insights Analytics 尝试一下。文件here。您可以使用 customEvents |其中时间戳 >ago(90d) |其中 name == "your custom event",查看是否可以在结果中获取属性。
  • 是的,它有效!非常感谢@IvanYang! :) 通过获取结果,我可以拥有每个事件的属性,这就是我所需要的
  • 我给它贴了一个答案,你能帮我把它标记为答案吗?

标签: azure azure-application-insights visual-studio-app-center


【解决方案1】:

您可以在 Application Insights Analytics 中使用此查询:

customEvents 
| where timestamp >ago(90d) 
| where name == "your custom event"

然后在结果中查看是否可以获取到属性。

【讨论】:

    猜你喜欢
    • 2019-12-26
    • 2012-03-02
    • 1970-01-01
    • 2019-10-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多