首页 > 解决方案 > 我应该为 Cordova 应用程序使用 Application Insights 还是 AppCenter 诊断程序

问题描述

Application Insights 和 AppCenter 诊断都允许通过以下链接监控 Cordova 应用程序:

https://github.com/Microsoft/cordova-plugin-ms-appinsights

https://docs.microsoft.com/de-de/appcenter/sdk/getting-started/cordova

鉴于 GitHub Repo 有点过时,我想 AppCenter 现在是监控应用程序的建议方法。但是,在后端使用 Azure 服务时,AppCenter 不提供端到端监控功能。

PS:我知道将 AppCenter 诊断数据发送到 AppInsights 的可能性,但这只是数据导出,缺乏端到端功能。

标签: cordovaazure-application-insightsvisual-studio-app-center

解决方案


总的来说,我认为指导是“如果是移动应用程序,请使用 AppCenter”。
然后,您可以设置该 AppCenter 应用程序以导出到应用程序洞察:

https://blog.xamarin.com/appcenter-continuous-export-application-insights/

这样您就可以获得 appcenter 的设备支持/其他功能,并且您可以在相同的数据上获得应用程序洞察力的工具/功能/等。如果您已经将应用程序洞察力用于服务器端遥测,这将特别有用。


推荐阅读