How to check Ignite dataRegion metrics through JMX port and MBean

How to check Ignite dataRegion metrics through JMX port and MBean

book

Article ID: KB0070363

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 6.2 and above

Description

This article gives the steps to consult and enable Ignite dataRegion metrics for BE app.
  1. To check metrics from Cache data region you can connect by JMX port and use some tool like JConsole.
Opening JConsole to connect to the BE app.
  1. In JConsole (or the chooses tool) go to MBeans tab, select "org.apache" directory, and the name of your node, under this one, you'll find Ignite metrics.
Ignite metrics.
  1. Go to DataRegionMetrics.
DataRegionMetrics directory.
  1. Select the metric you need and click on Operations to see the available methods for the metric. By default the metric is disabled, in the next step you'll enable it.
DataRegionMetrics Operations.
  1. Click on method enableMetrics() to enable.
Enabling DataRegionMetric.
  1. A message informing the metric is enabled will appear, click Ok to close it.
Metric enabled.
  1. Go to Attributes option and click Refresh button at the bottom of the screen to see the updated data.
Refreshing metrics.
  1. To disable the metric, go again to Operations and invoke the disableMetrics() method.
Disabling metric.
  1. A successful message will appear, click Ok to close it. If you refresh the metric it will show the default values.
Successful message.
 

Issue/Introduction

This article gives the steps to consult and enable Ignite dataRegion metrics.

Environment

All

Additional Information

https://ignite.apache.org/docs/latest/monitoring-metrics/metrics
https://ignite.apache.org/docs/latest/monitoring-metrics/new-metrics-system