You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/09/15 02:14:34 UTC
[GitHub] [servicecomb-java-chassis] liubao68 commented on a change in pull request #1953: [SCB-2082] add separated switches for metricsEndpoint and healthEndpoint
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:
users@infra.apache.org