diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-04-21 22:56:49 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-04-22 00:54:18 +0300 |
commit | 61d08b1418b6c99a7adb4d0faa6e8f189ec0b173 (patch) | |
tree | b1aa0e006f5ce1ff679232bc67242dd3486ff28b /web | |
parent | fe97f0996de5a4f8c4c416871cba279ab81be297 (diff) |
improved idlejitter plugin; now it calculates min, max and average
Diffstat (limited to 'web')
-rw-r--r-- | web/dashboard.js | 13 | ||||
-rw-r--r-- | web/dashboard_info.js | 1 | ||||
-rw-r--r-- | web/index.html | 4 |
3 files changed, 5 insertions, 13 deletions
diff --git a/web/dashboard.js b/web/dashboard.js index cf3e80b1c5..288035b45a 100644 --- a/web/dashboard.js +++ b/web/dashboard.js @@ -2721,16 +2721,9 @@ var NETDATA = window.NETDATA || {}; } else { c = c.split(' '); - var added = 0; - - while(added < 20) { - len = c.length; - while(len--) { - added++; - this.colors_available.unshift(c[len]); - // this.log('adding color: ' + c[len]); - } - } + len = c.length; + while(len--) + this.colors_available.unshift(c[len]); } } diff --git a/web/dashboard_info.js b/web/dashboard_info.js index a9278cbb6a..b8a16beb2e 100644 --- a/web/dashboard_info.js +++ b/web/dashboard_info.js @@ -426,7 +426,6 @@ netdataDashboard.context = { }, 'system.idlejitter': { - colors: '#5555AA', info: 'Idle jitter is calculated by netdata. A thread is spawned that requests to sleep for a few microseconds. When the system wakes it up, it measures how many microseconds have passed. The difference between the requested and the actual duration of the sleep, is the <b>idle jitter</b>. This number is useful in real-time environments, where CPU jitter can affect the quality of the service (like VoIP media gateways).' }, diff --git a/web/index.html b/web/index.html index b8ba600e63..44a76bb413 100644 --- a/web/index.html +++ b/web/index.html @@ -2895,7 +2895,7 @@ }); NETDATA.requiredJs.push({ - url: NETDATA.serverDefault + 'dashboard_info.js?v20170325-1', + url: NETDATA.serverDefault + 'dashboard_info.js?v20170421-1', async: false, isAlreadyLoaded: function() { return false; } }); @@ -3523,4 +3523,4 @@ </div> </body> </html> -<script type="text/javascript" src="dashboard.js?v20170419-6"></script> +<script type="text/javascript" src="dashboard.js?v20170421-1"></script> |