@n8n/n8n-benchmark
Version:
Cli for running benchmark tests for n8n
14 lines (13 loc) • 363 B
TypeScript
export declare class AppMetricsPoller {
private readonly metricsUrl;
private readonly pollIntervalMs;
private intervalId;
private metricsData;
private isRunning;
private isStopped;
constructor(metricsUrl: string, pollIntervalMs?: number);
start(): void;
stop(): void;
getMetricsData(): string[];
private pollMetrics;
}