Thursday, February 17, 2011

Is there a convenient way to do analytics of a servlet?

Traditional logfile analytics tools (awstats, statcounter) or general web analytics (google analytics, yahoo web analytics) are not suitable for analyzing traffic on servlets. Is there a good alternative to log messages using a logging framework (log4j for example) and to write a custom analytics software for these?

From stackoverflow
  • I use dTrace, but I run on Solaris. If your on Linux they also have a similar tool SystemTap. They are great for analytics and especially if you don't want to change a single line of code of your application.

    Note: Both of these allow you to measure traffic with simple scripts

  • Perhaps you could write a servlet filter that reports analytics etc. via the platform independent JMX monitoring infrastructure?

    Ced : This sounds like a good idea.

0 comments:

Post a Comment