<script type="text/javascript">
// enable alarms checking and notifications
var netdataShowAlarms = true;
+
+ // enable registry updates
+ var netdataRegistry = true;
// --------------------------------------------------------------------
// urlOptions
</script>
<!-- load the dashboard manager - it will do the rest -->
- <script type="text/javascript" src="dashboard.js?v45"></script>
+ <script type="text/javascript" src="dashboard.js?v46"></script>
</head>
<body data-spy="scroll" data-target="#sidebar">
<div id="loadOverlay" class="loadOverlay" style="background-color: #888; color: #888;">
'retroshare': {
title: 'RetroShare',
+ icon: '<i class="fa fa-share-alt" aria-hidden="true"></i>',
info: undefined
},
},
'system.processes': {
- info: 'System processes, read from <code>/proc/stat</code>. <b>Blocked</b> are processes that are willing to execute but they cannot, e.g. because they wait for disk activity.'
+ info: 'System processes, read from <code>/proc/stat</code>. <b>Running</b> are the processes in the CPU. <b>Blocked</b> are processes that are willing to enter the CPU, but they cannot, e.g. because they wait for disk activity.'
},
'system.active_processes': {
- info: 'All system active processes, read from <code>/proc/loadavg</code>.'
+ info: 'All system processes, read from <code>/proc/loadavg</code>.'
},
'system.ctxt': {
'netdata.response_time': {
info: 'The netdata API response time measures the time netdata needed to serve requests. This time includes everything, from the reception of the first byte of a request, to the dispatch of the last byte of its reply, therefore it includes all network latencies involved (i.e. a client over a slow network will influence these metrics).'
- }
+ },
// ------------------------------------------------------------------------
// RETROSHARE
'retroshare.peers': {
info: 'Shows the number of (connected) friends.',
+ mainheads: [
+ function(id) {
+ return '<div data-netdata="' + id + '"'
+ + ' data-dimensions="peers_connected"'
+ + ' data-append-options="friends"'
+ + ' data-chart-library="easypiechart"'
+ + ' data-title="connected friends"'
+ + ' data-units=""'
+ + ' data-width="8%"'
+ + ' data-before="0"'
+ + ' data-after="-CHART_DURATION"'
+ + ' data-points="CHART_DURATION"'
+ + ' role="application"></div>';
+ }
+ ]
},
'retroshare.dht': {
- info: 'Shows statistics about RetroShare\'s DHT. These values are estimate!'
+ info: 'Shows statistics about RetroShare\'s DHT. These values are estimated!'
}
};
if(len > 50) len = 50;
while(i < len) {
var time = new Date(data[i].when * 1000);
- log += '<tr><td>' + time.toLocaleDateString() + ' ' + time.toLocaleTimeString() + '</td><td>' + data[i].chart + '</td><td>' + data[i].name + '</td><td>' + data[i].status + '</td></tr>';
+ log += '<tr><td>'
+ + time.toLocaleDateString() + ' '
+ + time.toLocaleTimeString() + '</td><td>'
+ + data[i].chart.toString() + '</td><td>'
+ + data[i].name.toString() + ' = ' + ((data[i].value !== null)?Math.floor(data[i].value):'NaN').toString() + ' ' + data[i].units.toString() + '</td><td>'
+ + data[i].status.toString() + '</td></tr>';
i++;
}
log += "</table>";