[ https://issues.apache.org/jira/browse/IGNITE-14913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Shishkov updated IGNITE-14913: ----------------------------------- Description: Currently, enabling or disabling of cache statistics is available only via IgniteVisorCmd or JMX. Because it seems that IgniteVisorCmd is no longer being developed, it would be helpful to add a cache statistics switch into control script. Suggested syntax for a command: {code:java} --cache statistics enable|disable|status regexPattern {code} * regexPattern - regular expression for filtering caches (not cache groups) by their names. Caches with satisfying to the regular exppression names will be affected by the command. In case of empty regexp, control script should finish execution with an error. If no matching caches found, control script should print message about matching caches absence. * enable - enables statistics for all satisfying to the 'regexPattern' caches. * disable - disables statistics for all satisfying to the 'regexPattern' caches. * status - prints statistics status (enabled/disabled) for all satisfying to the 'regexPattern' caches. was: Currently, enabling or disabling of cache statistics is available only via IgniteVisorCmd or JMX. Because it seems that IgniteVisorCmd is no longer being developed, it would be helpful to add a cache statistics switch into control script. Suggested syntax for a command: {code:java} --cache statistics enable|disable|status regexPattern {code} * regexPattern - regular expression for filtering caches (not cache groups) by their names. Caches with satisfying to the regular exppression names will be affected by the command. * enable - enables statistics for all satisfying to the 'regexPattern' caches. * disable - disables statistics for all satisfying to the 'regexPattern' caches. * status - prints statistics status (enabled/disabled) for all satisfying to the 'regexPattern' caches. In case of empty regexp, control script should finish execution with an error. If no matching caches found, control script should print message about matching caches absence. > Add cache statistics switch to control script > --------------------------------------------- > > Key: IGNITE-14913 > URL: https://issues.apache.org/jira/browse/IGNITE-14913 > Project: Ignite > Issue Type: New Feature > Components: control.sh > Reporter: Ilya Shishkov > Priority: Minor > > Currently, enabling or disabling of cache statistics is available only via > IgniteVisorCmd or JMX. Because it seems that IgniteVisorCmd is no longer > being developed, it would be helpful to add a cache statistics switch into > control script. > Suggested syntax for a command: > {code:java} > --cache statistics enable|disable|status regexPattern > {code} > * regexPattern - regular expression for filtering caches (not cache groups) > by their names. Caches with satisfying to the regular exppression names will > be affected by the command. In case of empty regexp, control script should > finish execution with an error. If no matching caches found, control script > should print message about matching caches absence. > * enable - enables statistics for all satisfying to the 'regexPattern' caches. > * disable - disables statistics for all satisfying to the 'regexPattern' > caches. > * status - prints statistics status (enabled/disabled) for all satisfying to > the 'regexPattern' caches. -- This message was sent by Atlassian Jira (v8.3.4#803005)