changed wording + added doc + unit test

This commit is contained in:
yacine
2020-11-29 15:13:01 +01:00
parent 52fdbf030f
commit bffb4cf16e
4 changed files with 33 additions and 3 deletions

2
types/index.d.ts vendored
View File

@@ -28,7 +28,7 @@ declare namespace express_prom_bundle {
includePath?: boolean;
includeUp?: boolean;
filter?: (req: Request) => boolean;
bypass?: (req: Request) => boolean;
metricType?: 'summary' | 'histogram';
metricsPath?: string;