Ad Widget

Collapse

Java Code Performance Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • khalil
    Junior Member
    • Jan 2013
    • 2

    #1

    Java Code Performance Monitoring

    Using Zabbix, is there a means to instrument/measure the performance of a Java application component ? For instance, I would like to:
    1. Measure the response time of some Java classes.methods
    2. Report the gathered metrics to Zabbix server
    3. Visualize them in dashboards
    Many thanks in advance for your support.
  • rrupp
    Junior Member
    • Jul 2012
    • 21

    #2
    Can you make modifications the application code? If so, I would suggest looking at libraries such as Yammer Metrics or Netflix Servo. Personally I use Yammer Metrics and you can simply create a new timer, time a section of code, and the metric will be available via JMX. Then in Zabbix just collect this information via JMX, put the collected items for a particular timer into its own Zabbix graph. For instance at my company we collect the Yammer Metrics timer percentiles every 5 minutes which allows for us to see changing trends in execution times (this uses a biased histogram for timings which you can read about in the Metrics documentation) - then you can also collect the standard aggregate information such as min/max/avg etc.

    Comment

    • khalil
      Junior Member
      • Jan 2013
      • 2

      #3
      Many thanks for the provided links. Unfortunately, the application code is a black box for me and I can't modify the source code. I would prefer another alternative to source code modification using dynamic Java byte code instrumentation/injection techniques or tools providing this functionality and that could be integrated within Zabbix.

      Thank you for your reply and support.
      Khalil
      Last edited by khalil; 04-02-2013, 10:47.

      Comment

      Working...