首页 > 解决方案 > 如何做移动应用监控?

问题描述

我希望能够监控来自移动应用程序的问题,例如来自后端微服务的问题。我不知道任何对外部移动应用程序的实时监控。

我认为它可以真正帮助监控移动应用程序并从应用程序报告错误,而不仅仅是后端服务。有时应用程序连接到多个服务并具有自己的逻辑,因此它似乎是一个可以捕获所有错误和错误行为的地方。

  1. 外面有什么工具吗?
  2. 例如,如果我将使用 mParticle/Segment 作为 Hub 来报告事件,我可以以某种方式将它连接到基于推送的监控的 Graphite 吗?也许通过 SQS / AWS Lambda? https://www.mparticle.com/integrations

标签: mobilemonitoringgraphitehealth-monitoring

解决方案


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).


推荐阅读