我应该在Cordova应用程序中使用Application Insights或AppCenter Diagnostics吗?

问题描述 投票:1回答:1

Application Insights和AppCenter Diagnostics都可以通过以下链接监控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不提供端到端监视功能。

  • 因此,在做出决定时,我们的Cordova应用程序使用哪个监控系统,我们是否应根据以下问题做出决定? 在后端使用Azure服务和AppInsights? - >使用适用于Cordova前端的Application Insights。 拥有独立应用程序或没有Azure后端 - >使用AppCenter诊断程序。
  • 还有其他需要考虑的事项吗?
  • AppCenter Insostics是否提供AppInsights无法获得的任何其他好处?

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

cordova azure-application-insights visual-studio-app-center
1个回答
2
投票

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

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

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

© www.soinside.com 2019 - 2024. All rights reserved.