You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Konstantinov (JIRA)" <ji...@apache.org> on 2018/09/12 07:48:00 UTC

[jira] [Comment Edited] (IGNITE-336) We need to add dynamic turn on/off cache statistics for Visor.

    [ https://issues.apache.org/jira/browse/IGNITE-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16611709#comment-16611709 ] 

Pavel Konstantinov edited comment on IGNITE-336 at 9/12/18 7:47 AM:
--------------------------------------------------------------------

# Please fix error message
{code}
visor> cache -statistics=on2222 -c=cache1
[WARN ] Goal state for collection of cache statistics is not specified.
[WARN ] Use -enable or -disable flags to toggle collection of cache statistics.
{code}

# Print error in case if the value is missed
{code}
visor> cache -statistics -c=cache1
Time of the snapshot: 2018-09-12 14:46:12
+===============================================================================================================================+
|   Name(@)   |    Mode     | Nodes |    Entries (Heap / Off-heap)    |    Hits     |   Misses    |    Reads     |    Writes    |
+===============================================================================================================================+
| cache1(@c0) | PARTITIONED | 2     | min: 10117 (0 / 10117)          | min: 174    | min: 0      | min: 174     | min: 1901    |
|             |             |       | avg: 10167.50 (0.00 / 10167.50) | avg: 351.50 | avg: 727.00 | avg: 1078.50 | avg: 4465.50 |
|             |             |       | max: 10218 (0 / 10218)          | max: 529    | max: 1454   | max: 1983    | max: 7030    |
+-------------------------------------------------------------------------------------------------------------------------------+
{code}


was (Author: pkonstantinov):
Please fix error message
{code}
visor> cache -statistics=on2222 -c=cache1
[WARN ] Goal state for collection of cache statistics is not specified.
[WARN ] Use -enable or -disable flags to toggle collection of cache statistics.
{code}

> We need to add dynamic turn on/off cache statistics for Visor.
> --------------------------------------------------------------
>
>                 Key: IGNITE-336
>                 URL: https://issues.apache.org/jira/browse/IGNITE-336
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-2
>            Reporter: Vasiliy Sisko
>            Assignee: Pavel Konstantinov
>            Priority: Major
>
> We need create task to turn on/off of cache statistics collecting.
> Create Visor command for toggling.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)