Skip to content

Commit

Permalink
FISH-8100: fixing count format for Prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
breakponchito committed Dec 7, 2023
1 parent 79f76a6 commit c823d75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private void exportSampling(MetricID metricID, Sampling sampling, LongSupplier c
}

appendValue(globalName(metricID, metadata, "_count"), tags, ((double) count.getAsLong()));
appendValue(globalName(metricID, metadata, "_sum"), tags, sum.get());
appendValue(globalName(metricID, metadata, "_sum"), tags, (sum.get()).doubleValue());
}

public void printCustomPercentile(Snapshot.PercentileValue[] pencentileValues, String summary, Tag[] tags, Metadata metadata) {
Expand Down

0 comments on commit c823d75

Please sign in to comment.