jmark99 commented on a change in pull request #3918: NIFI-6931 Add status-history graph to track backpressure estimates URL: https://github.com/apache/nifi/pull/3918#discussion_r368052322
########## File path: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/status/history/ConnectionStatusDescriptor.java ########## @@ -79,4 +95,52 @@ public String getField() { public MetricDescriptor<ConnectionStatus> getDescriptor() { return descriptor; } + + private static final Logger LOG = LoggerFactory.getLogger(ConnectionStatusDescriptor.class); + + private static NiFiProperties nifiProperties; + + public static void setNifiProperties(NiFiProperties nifiProperties) { + ConnectionStatusDescriptor.nifiProperties = nifiProperties; + } + Review comment: It was labeled as 'final' originally, but I'm not sure if that is because it is thought that labels are always immutable or rather the case for these particular labels changing was not foreseen. I wanted a means for the user to know when viewing the graph that the reason it was at time 0 was not due to a queue overflow but rather that the analytic engine was not being utilized. I'm open to other means of getting that info across if you have any suggestions. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services