www/DataStoreStatus.js: display netin/netout

This commit is contained in:
Dietmar Maurer
2020-05-24 17:47:26 +02:00
parent 8f0cec2642
commit a608806f65
2 changed files with 11 additions and 3 deletions

View File

@ -25,8 +25,10 @@ Ext.define('pve-rrd-node', {
return value*100;
}
},
"memtotal",
"memused",
'netin',
'netout',
'memtotal',
'memused',
{ type: 'date', dateFormat: 'timestamp', name: 'time' }
]
});
@ -74,6 +76,12 @@ Ext.define('PBS.DataStoreStatus', {
fieldTitles: [gettext('Total'), gettext('RAM usage')],
store: rrdstore
},
{
xtype: 'proxmoxRRDChart',
title: gettext('Network traffic'),
fields: ['netin','netout'],
store: rrdstore
},
]
};