www/DataStoreStatus.js: display netin/netout
This commit is contained in:
parent
8f0cec2642
commit
a608806f65
@ -29,7 +29,7 @@ fn get_node_stats(
|
||||
|
||||
crate::rrd::extract_data(
|
||||
"host",
|
||||
&["cpu", "iowait", "memtotal", "memused"],
|
||||
&["cpu", "iowait", "memtotal", "memused", "netin", "netout"],
|
||||
timeframe,
|
||||
cf,
|
||||
)
|
||||
|
@ -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
|
||||
},
|
||||
]
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user