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;