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

18 lines
528 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
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;
}