You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/01/17 17:07:56 UTC

[GitHub] [nifi] m-hogue commented on a change in pull request #3918: NIFI-6931 Add status-history graph to track backpressure estimates

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:
users@infra.apache.org


With regards,
Apache Git Services