English 中文(简体)
如何分析外部服务的业绩?
原标题:How to analyze performance of external services?

我有一个 PHP 应用程序, 将每个 HTTP 请求的多个性能量度收集到日志文件中。 其中包括与外部服务器的连接、 数据库查询和长长的代码区块 。 现在我有一堆数据要分析如下 :

  • Identify the slowest parts
  • Graph the averaged aggregate data

我无法依赖 NewRelic 等外部服务。 我只能解析日志文件。 此时, 我将日志数据放入数据库, 以便查询并使用 RRDTool 来绘制汇总图。 但对我来说, 这似乎非常“ 低级别 ” 。 是否有其他软件可以创建混集统计和查询数据?

问题回答

You may find statsd & graphite to be a useful tool. Etsy uses this to track "low level" statistics like this:
http://codeascraft.etsy.com/2011/02/15/measure-anything-measure-everything/





相关问题
Best logging approach for composite app?

I am creating a Composite WPF (Prism) app with several different projects (Shell, modules, and so on). I am getting ready to implement logging, using Log4Net. It seems there are two ways to set up the ...

How to make logging.debug work on Appengine?

I m having a tough time getting the logging on Appengine working. the statement import logging is flagged as an unrecognized import in my PyDev Appengine project. I suspected that this was just an ...

How to validate Java logging properties files?

I have a basic facility for allowing users to remotely apply changes to the logging files in my application. Some logs are configured using java.util.logging properties files, and some are configured ...

Logging SAS scripts

I ve been developing a lot of Java, PHP and Python. All of which offer great logging packages (Log4J, Log or logging respectively). This is a great help when debugging applications. Especially if the ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

热门标签