Monitor application usage statistics with Javamelody.


Javamelody is open source package. It measures various real time statistical data and computes them with respect to operations of a web application, depending on the usage of the application by users. It monitors application server, JVM, data usage, memory management and analyzes various issues in the developed application. It helps in finding delayed responses and optimizing it. It generates various charts for error in http-requests, sql-requests, JVM memory and user sessions. It also monitors CPU execution time on a request with which the developer can manipulate the performance. The package also gives an additional option in generating a scheduled email of the various statistics to the application admin.

HTTP Sessions:

Javamelody computes various HTTP sessions that a server handles for the web application in the given time period. It calculates average number of request per-minute and generates a report for the number of sessions with the session created time. Javamelody also generates the detail about various attributes that a session handles and its properties. It also handles a list of various HTTP errors in the application.


Sample chart of HTTP request graph
Javamelody has lot more details with respect to HTTP sessions. Below a sample that shows various requests at various times.


 

Statistics sql:

Javamelody calculates various SQL sessions that a database server handles for the web application in the given time period. It calculates average number of request per-minute for each query. Normally it generates a report with the number of sessions and session created time. Javamelody also generates the detail about various queries’ that a session handles and its properties. It also handles a list of various SQL errors in the application.

Sample graph for the list of SQL errors

Sample SQL Statistics graph


Javamelody calculates various SQL errors that occur in a session and generates a graph for the same. This data helps us to tune the performance of the application

Statistics JSP

Javamelody generates a list of various JSP page displayed in a given session. It calculates cumulative percentage time taken to load that particular page and develops a report with the number of JSP page hits per minute. Javamelody also generates the detail about various attributes that a session handles and its properties. It also handles a list of various JSP errors in the loading a JSP page


Sample JSP pages list.


Sample graph for % of JSP page errors in a day

Sample graph for JSP page hits/minute
Similar way the Javamelody generates report for CPU time, memory usage, currently active threads and open JDBC connection.
Sample graph for JVM memory usage



CPU Time for each execution

No comments:

Post a Comment

 

Contributors

Social Connect


View Sadagopan K V's profile on LinkedIn