From 19446455567b6e8f2e07af435c674ca1b5815942 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 20 Jan 2026 14:44:53 +0000 Subject: [PATCH] fix(metrics): fix configureRegistry call signature Update configureRegistry call to match new signature that accepts only defaultLabels parameter instead of config object. --- src/Utils/prometheus-metrics.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Utils/prometheus-metrics.ts b/src/Utils/prometheus-metrics.ts index 1d618c4c..91871b6f 100644 --- a/src/Utils/prometheus-metrics.ts +++ b/src/Utils/prometheus-metrics.ts @@ -1296,10 +1296,7 @@ const metricsConfig = loadMetricsConfig() // Initialize prefix and defaultLabels for all metrics created after this point setMetricPrefix(metricsConfig.prefix) -configureRegistry({ - prefix: metricsConfig.prefix, - defaultLabels: metricsConfig.defaultLabels, -}) +configureRegistry(metricsConfig.defaultLabels) /** * Global registry for Baileys metrics