liubao68 commented on a change in pull request #1953:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1953#discussion_r488340805



##########
File path: 
metrics/metrics-core/src/main/java/org/apache/servicecomb/metrics/core/MetricsBootListener.java
##########
@@ -43,13 +42,10 @@ public SlowInvocationLogger getSlowInvocationLogger() {
 
   @Override
   public void onBeforeProducerProvider(BootEvent event) {
-    if 
(!DynamicPropertyFactory.getInstance().getBooleanProperty("servicecomb.metrics.endpoint.enabled",
 true).get()) {
+    if 
(!DynamicPropertyFactory.getInstance().getBooleanProperty("servicecomb.metrics.endpoint.enabled",
 false).get()) {

Review comment:
       Maybe keep default value to true is better? 
   




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