markap14 commented on a change in pull request #4983:
URL: https://github.com/apache/nifi/pull/4983#discussion_r610014118



##########
File path: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/components/monitor/LongRunningTaskMonitor.java
##########
@@ -73,7 +75,8 @@ public void run() {
             }
         }
 
-        getLogger().info("Active threads: {}; Long running threads: {}", 
activeThreadCount, longRunningThreadCount);
+        final long nanos = System.nanoTime() - start;
+        getLogger().info("Active threads: {}; Long running threads: {}; time 
to check: {} nanos", activeThreadCount, longRunningThreadCount, 
NumberFormat.getInstance().format(nanos));

Review comment:
       D'oh, thanks!




-- 
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]


Reply via email to