[jira] [Created] (IGNITE-1932) Wrong value of BusyTimePercentage metric after ignite.cluster().resetMetrics()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-1932) Wrong value of BusyTimePercentage metric after ignite.cluster().resetMetrics()

Anton Vinogradov (Jira)
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)