mobile - 如何做移动应用监控?
问题描述
我希望能够监控来自移动应用程序的问题,例如来自后端微服务的问题。我不知道任何对外部移动应用程序的实时监控。
我认为它可以真正帮助监控移动应用程序并从应用程序报告错误,而不仅仅是后端服务。有时应用程序连接到多个服务并具有自己的逻辑,因此它似乎是一个可以捕获所有错误和错误行为的地方。
- 外面有什么工具吗?
- 例如,如果我将使用 mParticle/Segment 作为 Hub 来报告事件,我可以以某种方式将它连接到基于推送的监控的 Graphite 吗?也许通过 SQS / AWS Lambda? https://www.mparticle.com/integrations
解决方案
In theory, yes it's possible to send data to Graphite using a combination of SQS + Lambda. I've tested this by writing some metric data to SQS and used a node js lambda function to read and forward that data to our carbon endpoint at https://hostedgraphite.com via UDP per our language guide here
Having said that, there are some further considerations that we must take in order to ensure this works: the main one being data format. Graphite/Carbon require data in a specific format, something that mParticle might not support directly. As such, you will need an AWS Lambda that formats the messages and then forwards to Graphite (or optionally, to another SQS queue where another Lambda reads and forwards that data to Graphite).
推荐阅读
- reactjs - 导入 AntDesign 组件的 Typescript 警告“找不到模块”
- php - 无法在 Windows 上使用 SQLSRV 驱动程序连接,但可以在 Linux 上使用 DBLIB - PHP & SQL Server 2012 Standard
- pandas - 在作为值子集的 pandas 数据框中计算新列会返回未找到列错误
- python - 使用 Python 求解几个微分方程
- c# - 如何将数字转换为 DateTime 以在 Entity Framework LINQ 查询中进行比较?
- python-3.x - 操作数不能一起广播
- excel - 连续日期公式
- c# - 此日历不支持指定时间(ASP 样板)
- php - 在非对象错误上调用成员函数 getTimestamp()
- javascript - Microsoft Edge 不接受匿名跨域?