feat: add upMetricName params to allow for up metric name customization

This commit is contained in:
Félix MARQUET
2025-04-25 06:47:26 +00:00
parent f9a0a7622a
commit db8710d5d0
4 changed files with 5 additions and 2 deletions

1
types/index.d.ts vendored
View File

@@ -38,6 +38,7 @@ declare namespace express_prom_bundle {
metricsPath?: string;
httpDurationMetricName?: string;
upMetricName?: string;
promClient?: { collectDefaultMetrics?: DefaultMetricsCollectorConfiguration<RegistryContentType> };
promRegistry?: Registry;
normalizePath?: NormalizePathEntry[] | NormalizePathFn;