22 lines
639 B
TypeScript
22 lines
639 B
TypeScript
// node native
|
|
import * as v8 from 'v8';
|
|
import * as os from 'os';
|
|
import * as fs from 'fs';
|
|
import * as http from 'http';
|
|
|
|
export { v8, os, fs, http };
|
|
|
|
// pushrocks scope
|
|
import * as smartdelay from '@push.rocks/smartdelay';
|
|
import * as smartlog from '@push.rocks/smartlog';
|
|
|
|
export { smartdelay, smartlog };
|
|
|
|
// own implementations (replacing pidtree, pidusage, prom-client)
|
|
import * as pidtree from './smartmetrics.pidtree.js';
|
|
import * as pidusage from './smartmetrics.pidusage.js';
|
|
import * as prom from './smartmetrics.prom.js';
|
|
import * as sysusage from './smartmetrics.sysusage.js';
|
|
|
|
export { pidtree, pidusage, prom, sysusage };
|