From 554f9025847defe0b05492cf07a5dc8acc6c3685 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Tue, 22 Oct 2024 01:16:23 +0800 Subject: [PATCH] chore: fix ci problem --- src/server/middleware/prometheus/types.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/server/middleware/prometheus/types.ts b/src/server/middleware/prometheus/types.ts index 2cf4f91..27a6bec 100644 --- a/src/server/middleware/prometheus/types.ts +++ b/src/server/middleware/prometheus/types.ts @@ -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;