cordova - 我应该为 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 不提供端到端监控功能。
那么,在决定为我们的 Cordova 应用程序使用哪个监控系统时,我们应该基于以下问题做出决定吗?
在后端使用带有 AppInsights 的 Azure 服务?-> 为 Cordova 前端使用 Application Insights。
拥有独立应用程序或没有 Azure 后端 -> 使用 AppCenter 诊断。
是否还有其他需要考虑的因素?
AppCenter 诊断是否提供了我无法从 AppInsights 获得的任何其他好处?
PS:我知道将 AppCenter 诊断数据发送到 AppInsights 的可能性,但这只是数据导出,缺乏端到端功能。
解决方案
总的来说,我认为指导是“如果是移动应用程序,请使用 AppCenter”。
然后,您可以设置该 AppCenter 应用程序以导出到应用程序洞察:
https://blog.xamarin.com/appcenter-continuous-export-application-insights/
这样您就可以获得 appcenter 的设备支持/其他功能,并且您可以在相同的数据上获得应用程序洞察力的工具/功能/等。如果您已经将应用程序洞察力用于服务器端遥测,这将特别有用。
推荐阅读
- python - 从字母数字列 pandas 中提取数字
- javascript - Javascript 计数器与各种 setTimeout
- python - 按时间索引 通过调整年份输入数据
- kotlin - 单击 Sprite 只会检测到第一个 Sprite (LibGDX)
- php - 502 错误网关 Nginx Laravel 8
- python - 跨标签统一采样数据
- javascript - 从 Chrome 扩展上下文菜单打开新标签页
- webpack - 模块联合如何选择使用哪个依赖版本?
- javascript - 根据水平滚动检查元素是否在视口中
- powershell - Powershell 5.1 - 文件名或扩展名太长。如何将具有动态参数的 1 个命令拆分为更多顺序调用?