xiangyanggong opened a new issue #2360:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2360
Java-Chassis版本:2.2.2
问题:开发指南中有的配置的默认值与源码中的不一致,如:
【开发指南中关于“应用性能监控”的配置如下】:
配置项 | 默认值 | 含义
servicecomb.metrics.publisher.defaultLog.enabled | **false** | ...
servicecomb.metrics.publisher.defaultLog.endpoints.client.detail.enabled |
**false** | ...
【源码中】
在servicecomb-java-chassis-2.2.2\solutions\solution-basic\src\main\resources\microservice.yaml中的配置如下:
servicecomb:
metrics:
window_time: 60000
invocation:
latencyDistribution: 0,1,10,100,1000
Consumer.invocation.slow:
enabled: true
msTime: 1000
Provider.invocation.slow:
enabled: true
msTime: 1000
publisher.defaultLog:
enabled: **true**
endpoints.client.detail.enabled: **true**
希望:文档与代码保持一致
--
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]