Liberty profile: Web application monitoring

You can use a servlet MXBean for web application monitoring of the Liberty profile.

Performance data is available for each Servlet in the Web Application. Each servlet has its own MXBean.

The ObjectName for identifying each servlet MXBean is:
WebSphere:type=ServletStats,name=<AppName>.<ServletName>
For example:
WebSphere:type=ServletStats,name=snoop.Alpine Snoop Servlet
WebSphere:type=ServletStats,name=MyApp.MyServlet
This MXBean is responsible for reporting ServletStats for each servlet. Following key data is available for ServletStats MXBean:
  • Request Count
  • Response Time
  • Servlet Name
  • Application Name
Counter definitions (Attributes to MXBean)
  • AppName: Name of the application.
  • ServletName: Name of the servlet.
  • RequestCount: Number of hits to this servlet.
  • ResponseTime: Average response time (nano-seconds).
  • Description: Description of counter.
  • RequestCountDetails: RequestCount details including last time stamp.
  • ResponseTimeDetails: ResponseTime details including number of snapshot taken, min, max values and so on.
.
Fix Pack 8501 Management Interface
Fix Pack 8501 The management interface of web application monitoring is com.ibm.websphere.webcontainer.ServletStatsMXBean. Fix Pack 8501 You can use the management interface to obtain a proxy object. See Liberty profile: Examples of accessing MBean attributes and operations.
Fix Pack 8501 For more information about the management interface, see the Java API document for the Liberty profile. The Java API documentation for each Liberty profile API is detailed in the Programming Interfaces (APIs) section of the information center, and is also available as a separate .zip file in one of the javadoc subdirectories of the ${wlp.install.dir}/dev directory.

Icon that indicates the type of topic Reference topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Monday, 21 April 2014
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=rwlp_mon_webapp
File name: rwlp_mon_webapp.html