Hello, Igniters!

At the moment metrics on system region are disabled on node start.
User-defined regions can be tuned to have enabled metrics via region
configuration
(org.apache.ignite.configuration.DataRegionConfiguration#setMetricsEnabled)
To enable metrics on system region users should use non-public API or use
deprecated JMX bean
(org.apache.ignite.mxbean.DataRegionMetricsMXBean#enableMetrics) for it,
which doesn't solve problem because it needs human attention when node
restarts.

I want to add a new property to
*org.apache.ignite.configuration.DataStorageConfiguration* which enables or
disables collection of metrics on system region (aka sysMemPlc) on node
start.

API change
add new public methods:

   1.
   
*org.apache.ignite.configuration.DataStorageConfiguration#isSystemRegionMetricsEnabled()*
   2.
   
*org.apache.ignite.configuration.DataStorageConfiguration#setSystemRegionMetricsEnabled(boolean)*


WDYT?
-- 
Best regards, Eduard.

Reply via email to