diff --git a/nifi-framework-bundle/nifi-framework/nifi-framework-status-history-shared/src/main/java/org/apache/nifi/controller/status/history/NodeStatusDescriptor.java b/nifi-framework-bundle/nifi-framework/nifi-framework-status-history-shared/src/main/java/org/apache/nifi/controller/status/history/NodeStatusDescriptor.java index b6bd14be8824..dd43870e1707 100644 --- a/nifi-framework-bundle/nifi-framework/nifi-framework-status-history-shared/src/main/java/org/apache/nifi/controller/status/history/NodeStatusDescriptor.java +++ b/nifi-framework-bundle/nifi-framework/nifi-framework-status-history-shared/src/main/java/org/apache/nifi/controller/status/history/NodeStatusDescriptor.java @@ -79,7 +79,7 @@ public Long reduce(final List values) { @Override public Long reduce(final List values) { return (long) values.stream() - .map(snapshot -> snapshot.getStatusMetric(HEAP_UTILIZATION.getDescriptor())) + .map(snapshot -> snapshot.getStatusMetric(PROCESSOR_LOAD_AVERAGE.getDescriptor())) .filter(Objects::nonNull) .mapToLong(value -> value) .average()