[ https://issues.apache.org/jira/browse/IGNITE-14913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17465754#comment-17465754 ]
Ignite TC Bot commented on IGNITE-14913: ---------------------------------------- {panel:title=Branch: [pull/9694/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel} {panel:title=Branch: [pull/9694/head] Base: [master] : New Tests (8)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1} {color:#00008b}Control Utility{color} [[tests 8|https://ci2.ignite.apache.org/viewLog.html?buildId=6249662]] * {color:#013220}IgniteControlUtilityTestSuite: CacheMetricsCommandTest.testNotFoundCacheEnableDisable - PASSED{color} * {color:#013220}IgniteControlUtilityTestSuite: CacheMetricsCommandTest.testNotFoundCacheStatus - PASSED{color} * {color:#013220}IgniteControlUtilityTestSuite: CacheMetricsCommandTest.testStatusAll - PASSED{color} * {color:#013220}IgniteControlUtilityTestSuite: CacheMetricsCommandTest.testEnableDisableAll - PASSED{color} * {color:#013220}IgniteControlUtilityTestSuite: CacheMetricsCommandTest.testEnableDisable - PASSED{color} * {color:#013220}IgniteControlUtilityTestSuite: CacheMetricsCommandTest.testEmptyResult - PASSED{color} * {color:#013220}IgniteControlUtilityTestSuite: CacheMetricsCommandTest.testStatus - PASSED{color} * {color:#013220}IgniteControlUtilityTestSuite: CacheMetricsCommandTest.testInvalidArguments - PASSED{color} {panel} [TeamCity *--> Run :: All* Results|https://ci2.ignite.apache.org/viewLog.html?buildId=6248679&buildTypeId=IgniteTests24Java8_RunAll] > 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 > Assignee: Ilya Shishkov > Priority: Minor > Labels: ise > Time Spent: 10m > Remaining Estimate: 0h > > Currently, enabling or disabling 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 > the control script. > Suggested syntax for a command: > {code:java} > --cache metrics enable|disable|status regexPattern > {code} > * regexPattern - regular expression for filtering caches (not cache groups) > by their names. Caches with names satisfying the regular expression will be > affected by the command. In case of an empty regex, the control script should > finish execution with an error. If no matching caches are found, the control > script should print a message about matching caches' absence. > * enable - enables statistics for caches satisfying the 'regexPattern'. > * disable - disables statistics for caches satisfying the 'regexPattern'. > * status - prints current statistics status (enabled/disabled) for caches > satisfying the 'regexPattern'. -- This message was sent by Atlassian Jira (v8.20.1#820001)