chore: fix ci problem
This commit is contained in:
parent
fcb8f22116
commit
554f902584
@ -1,12 +1,6 @@
|
|||||||
import { Request, RequestHandler, Response } from 'express';
|
import { Request, Response } from 'express';
|
||||||
import Prometheus from 'prom-client';
|
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 {
|
export interface ApiMetricsOpts {
|
||||||
metricsPath?: string;
|
metricsPath?: string;
|
||||||
defaultMetricsInterval?: number;
|
defaultMetricsInterval?: number;
|
||||||
|
Loading…
Reference in New Issue
Block a user