Re: Enabling memory and persistence metrics

2017-07-11 Thread Sergey Chugunov
Denis, Indeed for default MemoryPolicy user has to create a MemoryPolicy explicitly. But I strongly dislike the idea of adding new global setting to MemoryConfiguration section. This section is already overloaded with a lot of non-obvious stuff; and adding one more will make it even worse. The b

Re: Enabling memory and persistence metrics

2017-07-10 Thread Denis Magda
Hi Pavel, thanks. However, how do I enable the metrics for the default memory region (policy)? I’m talking about the use case when there are no custom memory regions/policies defined. Is it supposed that the user need to recreate the default policy configuration from sratch just in order to en

Re: Enabling memory and persistence metrics

2017-07-10 Thread Pavel Tupitsyn
Hi Denis, See PersistentStoreConfiguration.metricsEnabled, MemoryPolicyConfiguration. metricsEnabled On Sat, Jul 8, 2017 at 2:55 AM, Denis Magda wrote: > Sergey, > > How do I enable MemoryMetrics and PersistenceMetrics metrics aggregation > if a have only the default region set and don’t wanna

Enabling memory and persistence metrics

2017-07-07 Thread Denis Magda
Sergey, How do I enable MemoryMetrics and PersistenceMetrics metrics aggregation if a have only the default region set and don’t wanna use the JMX beans available? Struggling to find any API method to do that. Hope we didn’t forget to support such an obvious thing. — Denis