ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-1932) Wrong value of BusyTimePercentage metric after ignite.cluster().resetMetrics()
Date Tue, 17 Nov 2015 10:25:10 GMT
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)

Mime
View raw message