---
title: JVMs page (Java): View app server metrics from JMX
source: https://docs.newrelic.com/docs/apm/agents/java-agent/features/jvms-page-java-view-app-server-metrics-jmx
---

You can use New Relic's Java agent to collect and view additional metrics provided by the most common application servers via JMX. The collected metrics vary by app server and include measurements of thread pools, HTTP sessions, and transactions.

## View JVM metrics [#dashboard]

Application servers collect and report different metrics, which appear on APM's **JVMs** page. (For applications using New Relic via Heroku, the **JVMs** page is named **[Instances](https://docs.newrelic.com/docs/accounts-partnerships/partnerships/heroku-new-relic/heroku-instances-dashboard)**.)

At a minimum, each app server collects and reports metric data on memory. For instructions on enabling JMX metrics, refer to your app server's documentation.

To view JVM metrics:

1.  Go to **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > APM & services > (select an app) > Monitoring > JVMs > (select a JVM)**.
2.  From the selected JVM's **Memory** page, use any of New Relic's standard [user interface functions](https://docs.newrelic.com/docs/accounts-partnerships/education/getting-started-new-relic/standard-dashboard-features) to drill down into detailed information.
3.  To view other metrics, select any [available tab](#dashboard-tabs).
4.  Optional: To use the [thread profiler](https://docs.newrelic.com/docs/applications-menu/thread-profiler) to look for bottlenecks in data on executing threads, select **Profile this JVM**.

![APM Java JVMs page](https://docs.newrelic.com/images/apm_screenshot-crop_jvms.webp "APM Java JVMs page")

**[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > APM & services > (select an app) > Monitoring > JVMs**: Depending on the metrics your app server is reporting, one or more tabs appear on your JVM page.

## Tabs available by app server [#dashboard-tabs]

This table lists which tabs appear on the JVM page for app servers. If your app server does not report a particular type of metric data, the tab does not appear on your JVM page.

| App server            | Memory | Thread pools | HTTP sessions | App server transactions | Data sources |
| --------------------- | ------ | ------------ | ------------- | ----------------------- | ------------ |
| Glassfish             | ✓      | ✓            | ✓             | ✓                       |              |
| JBoss 5AS             | ✓      | ✓            | ✓             |                         | ✓            |
| JBoss 6AS             | ✓      | ✓            | ✓             |                         | ✓            |
| JBoss 6EAP            | ✓      |              |               | ✓                       | ✓            |
| JBoss 7EAP            | ✓      |              |               |                         |              |
| JBoss 7AS             | ✓      |              |               | ✓                       | ✓            |
| Jetty                 | ✓      | ✓            |               |                         |              |
| Resin 3               | ✓      | ✓            | ✓             |                         | ✓            |
| Resin 4               | ✓      | ✓            | ✓             | ✓                       | ✓            |
| Tomcat                | ✓      | ✓            | ✓             |                         | ✓            |
| TomEE                 | ✓      | ✓            | ✓             |                         |              |
| WebLogic              | ✓      | ✓            |               |                         | ✓            |
| Websphere Liberty     | ✓      | ✓            | ✓             |                         | ✓            |
| Websphere Traditional | ✓      | ✓            | ✓             |                         |              |
| WildFly               | ✓      | ✓            |               | ✓                       |              |

## Metrics available by tab [#tab-metrics]

Here is a summary of the metrics available from the JVM page. If the app server does not support a particular metric, that tab does not appear on your JVM page.

| JMX                     | Metric charts                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Memory                  | - **Heap memory usage:** Each chart shows the used and committed heap space in MB for a given heap. - **Non-heap memory pool usage for the JVM:** The used code cache and used CMS Perm Gen in MB. - **Garbage collection:** The garbage collection CPU time. - **Class count:** The loaded and unloaded class count for the JVM.                                                                                                                                        |
| Threads                 | - **Thread count:** The current number of active threads in the JVM. - **Thread pool:** The active and idle thread count for the pool. On supported app servers, a chart shows each thread pool present in the app server, as well as the ratio of active to maximum thread count for each thread pool.                                                                                                                                                                  |
| HTTP sessions           | - **Session:** The active, invalidated by timeout, and invalidated HTTP session counts for the application. On supported app servers, a chart shows each application present in the app server.                                                                                                                                                                                                                                                                          |
| App server transactions | - **Active transaction:** The number of active transactions within the app server's transaction manager. - **Created transaction:** The change in the total number of created transactions per app server. Some app servers separate top level transactions and nested transactions. - **Finished transaction:** The change in the total number of finished transactions per app server. Some app servers separate them by aborted and committed completed transactions. |
| Data sources            | The metrics for the data source tab vary by app server. For more details, see [Data source metrics by app server](#metrics-by-app-server). For details on WebLogic's data source metrics, see [WebLogic JMX metrics](#weblogic-jmx).                                                                                                                                                                                                                                     |

## Data source metrics by app server [#metrics-by-app-server]

For supported app servers, the agent collects JMX data source metrics. You can view these metrics at **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > APM & services > (select an app) > Monitoring > JVMs > Data sources**. To see these metrics, ensure that your data source has been properly configured for JMX monitoring for your app server.

| App server        | Metrics                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Tomcat            | - **Max connections:** The maximum connections available for a data source. This is generally a configurable parameter. - **Active connections:** The current number of active connections in a data source. - **Idle connections:** The current number of idle connections in a data source.                                                                                                                                                                 |
| WebSphere Liberty | - **Max connections:** The maximum connections available for a data source. This is generally a configurable parameter. - **Active connections:** The current number of active connections in a data source. - **Idle connections:** The current number of idle connections in a data source. - **Wait time:** The average amount of time a connections needs to wait before being handled. - **Destroyed connections:** The number of destroyed connections. |
| Resin             | - **Max connections:** The maximum connections available for a data source. This is generally a configurable parameter. - **Active connections:** The current number of active connections in a data source. - **Idle connections:** The current number of idle connections in a data source. - **Created connections:** The number of created connections.                                                                                                   |

## Enable for Spring Boot 2.2 and higher with Tomcat

To enable New Relic to access Tomcat JMX metrics when running with Spring Boot 2.2 and higher, the system property `server.tomcat.mbeanregistry.enabled` must be set to `true`. See the [Spring Boot 2.2 release notes](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2-Release-Notes#tomcats-mbean-registry).

## Enable WebSphere PMI metrics [#default-pmi]

To enable New Relic to access WebSphere PMI metrics, you will need to configure WebSphere to monitor the necessary statistic sets.

**Enable all statistic sets (recommended)**

The simplest approach is to enable the collection of all statistic sets:

1.  If you are using Java 2 Security, ensure you have [granted New Relic proper permissions](https://docs.newrelic.com/docs/agents/java-agent/installation/install-java-agent-java-2-security).
2.  From the WebSphere admin console, select **Monitoring and Tuning > Performance Monitoring Infrastructure (PMI) > (your server name)**.
3.  Select the **Enable Performance Monitoring Infrastructure (PMI)** checkbox.
4.  In the **Currently monitored statistic set** section, select **All**, then save your changes.

**Enable custom statistic sets (advanced)**

You can also collect only the PMI metrics that New Relic monitors by default. To collect only some PMI metrics:

1.  If you are using Java 2 Security, ensure you have [granted New Relic proper permissions](https://docs.newrelic.com/docs/agents/java-agent/installation/install-java-agent-java-2-security).
2.  From the WebSphere admin console, select **Monitoring and Tuning > Performance Monitoring Infrastructure (PMI) > (selected app server)**.
3.  Select the **Enable Performance Monitoring Infrastructure (PMI)** checkbox.
4.  Select **Custom**. From the custom statistic set list, enable the following metrics:
    -   In the **ThreadPool** category, select the **ActiveCount** and **PoolSize** checkboxes.
    -   In the **Servlet Session Manager** category, select the **ActiveCount** and **LiveCount** checkboxes.
    -   In the **Transaction Manager** category, select the **CommittedCount**, **RolledbackCount**, and **GlobalTimeoutCount** checkboxes.
5.  From the **Messages** panel, select **Save directly to the master configuration**.

## Collected WebSphere PMI metrics [#collected-pmi]

When enabled, New Relic collects the following WebSphere PMI metrics. If you want other PMI metrics besides these to be collected and displayed in New Relic custom dashboards, use [JMX instrumentation](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml).

**stats.ActiveCount**

| **WebSphere PMI metrics**                                                                                                      | **Details**                                                                   |
| ------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------- |
| Attribute                                                                                                                      | stats.ActiveCount                                                             |
| Object name pattern                                                                                                            | ```` WebSphere:type=ThreadPool,name=*,process=*,platform=*,node=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/ThreadPool/WebContainer/Active ```  ````                      |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                        |

**maximumSize**

| **WebSphere PMI metrics**                                                                                                      | **Details**                                                                   |
| ------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------- |
| Attribute                                                                                                                      | maximumSize                                                                   |
| Object name pattern                                                                                                            | ```` WebSphere:type=ThreadPool,name=*,process=*,platform=*,node=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/ThreadPool/WebContainer/Max ```  ````                         |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                        |

**stats.CommittedCount**

| **WebSphere PMI metrics**                                                                                                      | **Details**                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | stats.CommittedCount                                                                                       |
| Object name pattern                                                                                                            | ```` WebSphere:j2eeType=JTAResource,type=TransactionService,name=*,process=*,platform=*,node=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/JTA/TransactionService/Committed ```  ````                                                 |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                                                     |

**stats.RolledbackCount**

| **WebSphere PMI metrics**                                                                                                      | **Details**                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | stats.RolledbackCount                                                                                      |
| Object name pattern                                                                                                            | ```` WebSphere:j2eeType=JTAResource,type=TransactionService,name=*,process=*,platform=*,node=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/JTA/TransactionService/Rolled Back ```  ````                                               |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                                                     |

**stats.GlobalTimeoutCount**

| **WebSphere PMI metrics**                                                                                                      | **Details**                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | stats.GlobalTimeoutCount                                                                                   |
| Object name pattern                                                                                                            | ```` WebSphere:j2eeType=JTAResource,type=TransactionService,name=*,process=*,platform=*,node=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/JTA/TransactionService/Timed Out ```  ````                                                 |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                                                     |

**stats.LiveCount**

| **WebSphere PMI metrics**                                                                                                      | **Details**                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | stats.LiveCount                                                                       |
| Object name pattern                                                                                                            | ```` WebSphere:type=SessionManager,name=*,process=*,platform=*,node=*,* ```  ````     |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/Session/DefaultApplication#DefaultWebApplication.war/Active ```  ```` |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                                |

## WebLogic JMX metrics [#weblogic-jmx]

In WebLogic, JMX is enabled by default. New Relic collects the following **mbeans** metrics.

> #### 💡 TIP
>
> To collect additional JMX metrics, use a [custom YAML file](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml).

**ThreadCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                    |
| ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------- |
| Attribute                                                                                                                      | ThreadCount                                    |
| Object name pattern                                                                                                            | ```` java.lang:type=Threading ```  ````        |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/Threads/Thread Count ```  ```` |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                         |

**TotalStartedThreadCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                         |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------- |
| Attribute                                                                                                                      | TotalStartedThreadCount                             |
| Object name pattern                                                                                                            | ```` java.lang:type=Threading ```  ````             |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/Threads/TotalStartedCount ```  ```` |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                              |

**LoadedClassCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------ |
| Attribute                                                                                                                      | LoadedClassCount                           |
| Object name pattern                                                                                                            | ```` java.lang:type=ClassLoading ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/Classes/Loaded ```  ````   |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                     |

**UnloadedClassCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------ |
| Attribute                                                                                                                      | UnloadedClassCount                         |
| Object name pattern                                                                                                            | ```` java.lang:type=ClassLoading ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/Classes/Unloaded ```  ```` |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                     |

**HoggingThreadCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| Attribute                                                                                                                      | HoggingThreadCount                                                                   |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=ThreadPoolRuntime,Type=ThreadPoolRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/ThreadPool/{Name}/Active ```  ````                                   |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                               |

**ExecuteThreadIdleCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| Attribute                                                                                                                      | ExecuteThreadIdleCount                                                               |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=ThreadPoolRuntime,Type=ThreadPoolRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/ThreadPool/{Name}/Idle ```  ````                                     |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                               |

**StandbyThreadCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| Attribute                                                                                                                      | StandbyThreadCount                                                                   |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=ThreadPoolRuntime,Type=ThreadPoolRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/ThreadPool/{Name}/Standby ```  ````                                  |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                               |

**TransactionTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                            |
| ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------- |
| Attribute                                                                                                                      | TransactionTotalCount                                                  |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=JTARuntime,Type=JTARuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/JTA/{Name}/Count ```  ````                             |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                              |

**TransactionCommittedTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                            |
| ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------- |
| Attribute                                                                                                                      | TransactionCommittedTotalCount                                         |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=JTARuntime,Type=JTARuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/JTA/{Name}/Committed ```  ````                         |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                              |

**TransactionRolledBackTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                            |
| ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------- |
| Attribute                                                                                                                      | TransactionRolledBackTotalCount                                        |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=JTARuntime,Type=JTARuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/JTA/{Name}/Rolled Back ```  ````                       |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                              |

**TransactionAbandonedTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                            |
| ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------- |
| Attribute                                                                                                                      | TransactionAbandonedTotalCount                                         |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=JTARuntime,Type=JTARuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/JTA/{Name}/Abandoned ```  ````                         |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                              |

**NumAvailable**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                              |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| Attribute                                                                                                                      | NumAvailable                                                             |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,Type=JDBCDataSourceRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/DataSources/{Name}/Connections/Available ```  ````       |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                   |

**CurrCapacity**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                              |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| Attribute                                                                                                                      | CurrCapacity                                                             |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,Type=JDBCDataSourceRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/DataSources/{Name}/Connections/PoolSize ```  ````        |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                   |

**ConnectionsTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                              |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| Attribute                                                                                                                      | ConnectionsTotalCount                                                    |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,Type=JDBCDataSourceRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/DataSources/{Name}/Connections/Created ```  ````         |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                |

**ActiveConnectionsCurrentCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                              |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| Attribute                                                                                                                      | ActiveConnectionsCurrentCount                                            |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,Type=JDBCDataSourceRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/DataSources/{Name}/Connections/Active ```  ````          |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                   |

**LeakedConnectionCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                              |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| Attribute                                                                                                                      | LeakedConnectionCount                                                    |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,Type=JDBCDataSourceRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/DataSources/{Name}/Connections/Leaked ```  ````          |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                |

**PrepStmtCacheCurrentSize**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                              |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| Attribute                                                                                                                      | PrepStmtCacheCurrentSize                                                 |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,Type=JDBCDataSourceRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/DataSources/{Name}/Statement Cache/Size ```  ````        |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                   |

**WaitingForConnectionCurrentCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                              |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| Attribute                                                                                                                      | WaitingForConnectionCurrentCount                                         |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,Type=JDBCDataSourceRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/DataSources/{Name}/Requests/Currently Waiting ```  ````  |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                   |

**WaitingForConnectionTotal**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                              |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| Attribute                                                                                                                      | WaitingForConnectionTotal                                                |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,Type=JDBCDataSourceRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/DataSources/{Name}/Requests/Count ```  ````              |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                |

**WaitingForConnectionSuccessTotal**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                              |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| Attribute                                                                                                                      | WaitingForConnectionSuccessTotal                                         |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,Type=JDBCDataSourceRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/DataSources/{Name}/Requests/Successful ```  ````         |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                |

**WaitingForConnectionFailureTotal**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                              |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| Attribute                                                                                                                      | WaitingForConnectionFailureTotal                                         |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,Type=JDBCDataSourceRuntime ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/DataSources/{Name}/Requests/Failed ```  ````             |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                |

**AccessTotalCount - MissTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | AccessTotalCount - MissTotalCount                                                                              |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,ApplicationRuntime=*,Type=EJBPoolRuntime,EJBComponentRuntime=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/EJB/Pool/Bean/{ApplicationRuntime}/{EJBComponentRuntime}/{Name}/Attempts/Successful ```  ````  |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                                                      |

**MissTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | MissTotalCount                                                                                                 |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,ApplicationRuntime=*,Type=EJBPoolRuntime,EJBComponentRuntime=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/EJB/Pool/Bean/{ApplicationRuntime}/{EJBComponentRuntime}/{Name}/Attempts/Failed ```  ````      |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                                                      |

**WaiterCurrentCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | WaiterCurrentCount                                                                                              |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,ApplicationRuntime=*,Type=EJBPoolRuntime,EJBComponentRuntime=*,*> ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/EJB/Pool/Bean/{ApplicationRuntime}/{EJBComponentRuntime}/{Name}/Threads/Waiting ```  ````       |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                                                          |

**DestroyedTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | DestroyedTotalCount                                                                                            |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,ApplicationRuntime=*,Type=EJBPoolRuntime,EJBComponentRuntime=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/EJB/Pool/Bean/{ApplicationRuntime}/{EJBComponentRuntime}/{Name}/Beans/Destroyed ```  ````      |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                                                      |

**BeansInUseCurrentCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | BeansInUseCurrentCount                                                                                         |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,ApplicationRuntime=*,Type=EJBPoolRuntime,EJBComponentRuntime=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/EJB/Pool/Bean/{ApplicationRuntime}/{EJBComponentRuntime}/{Name}/Beans/Active ```  ````         |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                                                         |

**PooledBeansCurrentCount**

| **WebLogic JMX metrics**                                                                                                           | **Details**                                                                                                    |
| ---------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                          | PooledBeansCurrentCount                                                                                        |
| Object name pattern                                                                                                                | ```` com.bea:ServerRuntime=*,Name=*,ApplicationRuntime=*,Type=EJBPoolRuntime,EJBComponentRuntime=*,* ```  ```` |
| **New Relic metric**                                                                                                               | ```` JmxBuiltIn/EJB/Pool/Bean/{ApplicationRuntime}/{EJBComponentRuntime}/{Name}/Beans/Available ```  ````      |
| [**Type**](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Simple                                                                                                         |

**TransactionsCommittedTotalCount +TransactionsRolledBackTotalCount +TransactionsTimedOutTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | TransactionsCommittedTotalCount +TransactionsRolledBackTotalCount +TransactionsTimedOutTotalCount                     |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,ApplicationRuntime=*,Type=EJBTransactionRuntime,EJBComponentRuntime=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/EJB/Transactions/Application/{ApplicationRuntime}/Count ```  ````                                     |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                                                             |

**TransactionsCommittedTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | TransactionsCommittedTotalCount                                                                                       |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,ApplicationRuntime=*,Type=EJBTransactionRuntime,EJBComponentRuntime=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/EJB/Transactions/Application/{ApplicationRuntime}/Committed ```  ````                                 |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                                                             |

**TransactionsRolledBackTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | TransactionsRolledBackTotalCount                                                                                      |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,ApplicationRuntime=*,Type=EJBTransactionRuntime,EJBComponentRuntime=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/EJB/Transactions/Application/{ApplicationRuntime}/Rolled Back ```  ````                               |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                                                             |

**TransactionsTimedOutTotalCount**

| **WebLogic JMX metrics**                                                                                                       | **Details**                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------- |
| Attribute                                                                                                                      | TransactionsTimedOutTotalCount                                                                                        |
| Object name pattern                                                                                                            | ```` com.bea:ServerRuntime=*,Name=*,ApplicationRuntime=*,Type=EJBTransactionRuntime,EJBComponentRuntime=*,* ```  ```` |
| New Relic metric                                                                                                               | ```` JmxBuiltIn/EJB/Transactions/Application/{ApplicationRuntime}/Timed Out ```  ````                                 |
| [Type](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-jmx-instrumentation-yaml#attribute-type) | Monotonic                                                                                                             |
