cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

Exposing an MBean as a JMX Metric

Default JMX Metrics Example 

Some MBeans exposed by various supported application servers are preconfigued as JMX Metrics that can be viewed in the JMX Metrics Browser.

 

In this screen capture of the JMX Metrics Browser, under Web Container Runtime, you can see the two metrics "Error Count" and "Request Count".

 

WebContainerRuntime-metrics-in-MetricBrowser.png

 

Where did these come from? These metrics were configured from MBeans exposed by the Tomcat web container.  To see the configuration for these metrics, do the following:

 

1. Select Configure -> Instrumentation.

2. Select the application.

3. Select the JMX tab.

 

show-metric-config.png

 

In this "metric rule" named Tomcat_GlobalRequestProcessor", you can see where the Metric Path and the MBean matching criteria in the domain "Catalina" have been specified. This path in the metric browser was seen in the first screen capture.

 

The next screen capture shows the two attributes of this MBean.

metric-config-from-attributes-for-Catalina-GlobalRequestProcessor.png

Version history
Last update:
‎11-19-2018 07:37 AM
Updated by:
Labels (1)
Contributors
By replying you agree to the Terms and Conditions of the AppDynamics Community.