API/api.medcify.app/node_modules/@pm2/io/build/main/metrics/eventLoopMetrics.d.ts
2022-09-26 11:41:44 +05:30

18 lines
528 B
TypeScript

import { MetricInterface } from '../features/metrics';
export declare class EventLoopMetricOption {
eventLoopActive: boolean;
eventLoopDelay: boolean;
}
export default class EventLoopHandlesRequestsMetric implements MetricInterface {
private metricService;
private logger;
private requestTimer;
private handleTimer;
private delayTimer;
private delayLoopInterval;
private runtimeStatsService;
private handle;
init(config?: EventLoopMetricOption | boolean): any;
destroy(): void;
}