Merge pull request #16
fix(metrics): fix configureRegistry call signature
This commit is contained in:
@@ -1296,10 +1296,7 @@ const metricsConfig = loadMetricsConfig()
|
|||||||
|
|
||||||
// Initialize prefix and defaultLabels for all metrics created after this point
|
// Initialize prefix and defaultLabels for all metrics created after this point
|
||||||
setMetricPrefix(metricsConfig.prefix)
|
setMetricPrefix(metricsConfig.prefix)
|
||||||
configureRegistry({
|
configureRegistry(metricsConfig.defaultLabels)
|
||||||
prefix: metricsConfig.prefix,
|
|
||||||
defaultLabels: metricsConfig.defaultLabels,
|
|
||||||
})
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Global registry for Baileys metrics
|
* Global registry for Baileys metrics
|
||||||
|
|||||||
Reference in New Issue
Block a user