From a81887128a3840a8edb3150d3688c675c66ad155 Mon Sep 17 00:00:00 2001 From: Fabio Di Fabio Date: Thu, 18 Jan 2024 18:56:28 +0100 Subject: [PATCH] Call the right method Signed-off-by: Fabio Di Fabio --- .../besu/metrics/prometheus/PrometheusMetricsSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/core/src/main/java/org/hyperledger/besu/metrics/prometheus/PrometheusMetricsSystem.java b/metrics/core/src/main/java/org/hyperledger/besu/metrics/prometheus/PrometheusMetricsSystem.java index bab2c5c7d3f..11942775a63 100644 --- a/metrics/core/src/main/java/org/hyperledger/besu/metrics/prometheus/PrometheusMetricsSystem.java +++ b/metrics/core/src/main/java/org/hyperledger/besu/metrics/prometheus/PrometheusMetricsSystem.java @@ -310,7 +310,7 @@ public String convertToPrometheusCounterName(final MetricCategory category, fina if (name.endsWith("_total")) { totalSuffixedCounters.add(name); } - return convertFromPrometheusName(category, name); + return convertToPrometheusName(category, name); } private String convertFromPrometheusName(final MetricCategory category, final String metricName) {