m-hogue 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_r368040618
 
 

 ##########
 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:
   This could be my ignorance, but are labels intended to be immutable? Is 
modifying them a bad thing?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to