Alexey Kuznetsov created IGNITE-1932:
----------------------------------------

             Summary: Wrong value of BusyTimePercentage metric after 
ignite.cluster().resetMetrics()
                 Key: IGNITE-1932
                 URL: https://issues.apache.org/jira/browse/IGNITE-1932
             Project: Ignite
          Issue Type: Bug
          Components: compute
    Affects Versions: ignite-1.4
            Reporter: Alexey Kuznetsov
            Assignee: Alexey Kuznetsov
             Fix For: 1.5


I found that after call of
  ignite.cluster().resetMetrics()

BusyTimePercentage became 100% 

After some debug I found that BusyTimePercentage - calculated as:
1 - IdleTimePercentage 

and IdleTimePercentage  calculated as  IdleTime / UpTime

and on reset we set IdleTime to 0.

So the possible fix is to preserve IdleTime on reset.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to