应用程序洞察和AppCenter诊断都允许根据以下链接监视Cordova应用程序:
https://github.com/Microsoft/cordova-plugin-ms-appinsights
https://learn.microsoft.com/de-de/appcenter/sdk/getting-started/cordova
考虑到GitHub回购有点过时,我认为AppCenter现在是监控应用程序的推荐方法。然而,当在后端使用Azure服务时,AppCenter并不提供端到端的监视能力。
1. Using Azure Services with AppInsights in the Backend? -> Use Application Insights for the Cordova Frontend.
2. Having a Standalone App or no Azure Backend -> Use AppCenter Diagnostics.
PS:我知道将AppCenter诊断数据发送到AppInsights的可能性,但是这只是一个数据导出,缺乏端到端的能力。
发布于 2019-03-15 17:54:01
总的来说,我相信指南是“如果它是一个移动应用程序,使用AppCenter”。
然后,您可以设置该AppCenter应用程序以导出到应用程序洞察力:
https://blog.xamarin.com/appcenter-continuous-export-application-insights/
这样,您就可以获得appcenter的设备支持/其他功能,并在相同的数据上获得应用程序洞察力的工具/功能/等等。如果您已经将应用程序洞察力用于服务器端遥测,则这尤其有用。
发布于 2021-04-14 15:05:17
有一个JavaScript SDK Github官方链接https://github.com/microsoft/ApplicationInsights-JS
这可以帮助任何JS应用程序直接将洞察力记录到AppInsights。
https://stackoverflow.com/questions/55116511
复制相似问题