vdiravka commented on a change in pull request #1345: DRILL-6494: Drill Plugins 
Handler
URL: https://github.com/apache/drill/pull/1345#discussion_r198884749
 
 

 ##########
 File path: common/src/main/java/org/apache/drill/exec/metrics/DrillMetrics.java
 ##########
 @@ -36,11 +36,11 @@
   private static final org.slf4j.Logger logger = 
org.slf4j.LoggerFactory.getLogger(DrillMetrics.class);
 
   public static final boolean METRICS_JMX_OUTPUT_ENABLED =
-      SystemPropertyUtil.getBoolean("drill.metrics.jmx.enabled", true);
+      SystemPropertyUtil.getBoolean("drill.exec.metrics.jmx.enabled", true);
 
 Review comment:
   The issues comes from `drill-override-example.conf`:
   
https://github.com/apache/drill/blob/master/distribution/src/resources/drill-override-example.conf#L22
   
https://github.com/apache/drill/blob/master/distribution/src/resources/drill-override-example.conf#L66
   Since drill.apache.org tells the options without `exec` 
[link](https://drill.apache.org/docs/monitoring-metrics/#disabling-drill-metrics)
 I reverted the constants names and changed `drill-override-example.conf`
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to