Files
smartmetrics/ts/smartmetrics.plugins.ts

22 lines
639 B
TypeScript
Raw Normal View History

2021-08-12 23:19:39 +02:00
// node native
2023-07-02 22:17:27 +02:00
import * as v8 from 'v8';
2021-08-12 23:19:39 +02:00
import * as os from 'os';
2023-07-02 22:17:27 +02:00
import * as fs from 'fs';
import * as http from 'http';
2021-08-12 23:19:39 +02:00
export { v8, os, fs, http };
2021-08-12 23:19:39 +02:00
// pushrocks scope
2023-08-08 17:54:27 +02:00
import * as smartdelay from '@push.rocks/smartdelay';
import * as smartlog from '@push.rocks/smartlog';
2021-08-12 23:19:39 +02:00
2022-07-27 12:00:38 +02:00
export { smartdelay, smartlog };
2021-08-12 23:19:39 +02:00
2026-02-19 09:51:34 +00:00
// 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';
2021-08-12 23:19:39 +02:00
export { pidtree, pidusage, prom, sysusage };