Add new file base system stats and MCI codes

This commit is contained in:
Bryan Ashby 2017-09-09 11:48:43 -06:00
parent 1c2926fbe9
commit 3980c8acae
5 changed files with 91 additions and 4 deletions

View file

@ -234,6 +234,17 @@ function initialize(cb) {
}
);
},
function initFileAreaStats(callback) {
const getAreaStats = require('./file_base_area.js').getAreaStats;
getAreaStats( (err, stats) => {
if(!err) {
const StatLog = require('./stat_log.js');
StatLog.setNonPeristentSystemStat('file_base_area_stats', stats);
}
return callback(null);
});
},
function initMCI(callback) {
return require('./predefined_mci.js').init(callback);
},