the overview charts now show used swap and used ram; fixes #549
Costa Tsaousis (ktsaou) committed
Nov 11, 2016 at 09:16 UTC
bcdcc1c3d0df7e344e4cc1cbbcf01f2c46079bde
1 file changed
+4
-4
web/index.html
+4
-4
@@ -1115,10 +1115,10 @@
1115
1116
if(typeof charts['system.swap'] !== 'undefined')
1117
head += '<div style="margin-right: 10px;" data-netdata="system.swap"'
1118
- + ' data-dimensions="free"'
1118
+ + ' data-dimensions="used"'
1119
+ ' data-append-options="percentage"'
1120
+ ' data-chart-library="easypiechart"'
1121
- + ' data-title="Free Swap"'
1121
+ + ' data-title="Used Swap"'
1122
+ ' data-units="%"'
1123
+ ' data-easypiechart-max-value="100"'
1124
+ ' data-width="8%"'
@@ -1209,10 +1209,10 @@
1209
1210
if(typeof charts['system.ram'] !== 'undefined')
1211
head += '<div style="margin-right: 10px;" data-netdata="system.ram"'
1212
- + ' data-dimensions="cached|free"'
1212
+ + ' data-dimensions="used|buffers"'
1213
+ ' data-append-options="percentage"'
1214
+ ' data-chart-library="easypiechart"'
1215
- + ' data-title="Available RAM"'
1215
+ + ' data-title="Used RAM"'
1216
+ ' data-units="%"'
1217
+ ' data-easypiechart-max-value="100"'
1218
+ ' data-width="8%"'