chore: fix ci problem

This commit is contained in:
moonrailgun 2024-10-22 01:16:23 +08:00
parent fcb8f22116
commit 554f902584

View File

@ -1,12 +1,6 @@
import { Request, RequestHandler, Response } from 'express';
import { Request, Response } from 'express';
import Prometheus from 'prom-client';
export class HttpMetricsCollector {
constructor(options?: CollectorOpts);
static init(options?: CollectorOpts): void;
static collect(res: Response | any): void;
}
export interface ApiMetricsOpts {
metricsPath?: string;
defaultMetricsInterval?: number;