Viewing Metrics in JConsole

Every MBean provides metrics as JMX attributes

Viewing Simple Metrics

Process and peer (host) MBeans use a single primitive double value for each metric. Only the last-reported value is provided and not an average for the last minute or so. The attribute value does not include schema information if the metric is a gauge or a counter. Following is an excerpt of process attributes. The highlighted value shows the last reported gauge for transaction commits for this process (TE):

Viewing Aggregate Metrics

Aggregate metrics are stored as JMX composite attributes. Each attribute shows the sum, average and number of entities that produce the average. The following example shows the aggregate transaction Commits gauge for a database MBean. It shows the aggregation of 2 processes as you can see by the value for num: