capitalizing Avergae to work with Stat enum

This commit is contained in:
Mark Wolters 2024-01-10 12:18:01 -04:00
parent ed24a67916
commit 2642d4da54

View File

@ -59,7 +59,7 @@ public class RelevancyMeasures implements NBLabeledElement {
for (RelevancyFunction function : f) {
this.functions.add(function);
function.prependLabels(this);
DoubleSummaryGauge gauge = parent.create().summaryGauge(function.getUniqueName(), List.of("average"), MetricCategory.Accuracy, DoubleSummaryGauge.Stat.Average.toString());
DoubleSummaryGauge gauge = parent.create().summaryGauge(function.getUniqueName(), List.of("Average"), MetricCategory.Accuracy, DoubleSummaryGauge.Stat.Average.toString());
this.gauges.add(gauge);
}
return this;