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不提供端到端监视功能。
PS:我知道将AppCenter诊断数据发送到AppInsights的可能性,但这只是一个数据导出,缺乏端到端功能。
一般来说,我认为指导是“如果它是移动应用程序,请使用AppCenter”。 然后,您可以设置该AppCenter应用程序以导出到应用程序洞察:
https://blog.xamarin.com/appcenter-continuous-export-application-insights/
这样您就可以获得appcenter的设备支持/其他功能,并且您可以获得相同数据的应用程序洞察工具/功能/等。如果您已经在服务器端遥测中使用应用程序洞察,这将特别有用。