Skip to content

Commit

Permalink
Call the right method
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 committed Jan 19, 2024
1 parent 160bede commit a818871
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a818871

Please sign in to comment.