[
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 and 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 command:
{code}
--cache statistics enable|disable|status regexPattern
{code}
or
{code}
--cache metrics enable|disable|status regexPattern
{code}
In case of empty regexp, control script should finish execution with error. If
no matching caches found, control script should print message about matching
caches absence.
was:
Currently, enabling or disabling of cache statistics is available only via
ignitevisorcmd and JMX. Because it seems that ignitevisorcmd is no longer being
developed, it would be helpful to add a cache statistics switch into control
script, moreover we already have classes for this purpose:
{code}
VisorCacheToggleStatisticsTask
VisorCacheToggleStatisticsTaskArg
{code}
Suggested syntax for command:
{code}
--cache statistics enable|disable [cacheName1,...,cacheNameN]
{code}
> 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 and 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 command:
> {code}
> --cache statistics enable|disable|status regexPattern
> {code}
> or
> {code}
> --cache metrics enable|disable|status regexPattern
> {code}
> In case of empty regexp, control script should finish execution with error.
> If no matching caches found, control script should print message about
> matching caches absence.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)