API/api.medcify.app/node_modules/@pm2/io/build/main/metrics/v8.d.ts

24 lines
647 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
import { MetricInterface } from '../features/metrics';
export declare class V8MetricsConfig {
new_space: boolean;
old_space: boolean;
map_space: boolean;
code_space: boolean;
large_object_space: boolean;
heap_total_size: boolean;
heap_used_size: boolean;
heap_used_percent: boolean;
}
export default class V8Metric implements MetricInterface {
private timer;
private TIME_INTERVAL;
private metricService;
private logger;
private metricStore;
private unitKB;
private metricsDefinitions;
init(config?: V8MetricsConfig | boolean): any;
destroy(): void;
private formatMiBytes;
}