Hi, Your proposal is consistent with the current interface of DataStorageConfiguration class, so I', okay with the proposed change.
Alternatively, DataStorageConfiguration#systemDataRegionConfiguration field could be introduced which could be DataRegionConfiguration type or special SystemDataRegionConfiguration type in case if we want to limit access to the system data region parameters. On Tue, Nov 2, 2021 at 2:42 PM Eduard Rakhmankulov <erixon...@gmail.com> wrote: > > 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.