Skip to content

Commit

Permalink
Fix naming of _total metric
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Oct 5, 2023
1 parent 9d689d0 commit c06a117
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ List<MetricFamilySamples> getCompactionStats() {

Collector.MetricFamilySamples.Sample totalSample =
new Collector.MetricFamilySamples.Sample(
protoCompleted.getMetricName(),
protoCompleted.getLabelNames(),
protoTotal.getMetricName(),
protoTotal.getLabelNames(),
labelValues,
Double.parseDouble(c.get("total")));

Expand Down

0 comments on commit c06a117

Please sign in to comment.