updated metrics usage#165
Open
eric-lee-ltk wants to merge 2 commits into
Open
Conversation
WillemJiang
reviewed
Dec 20, 2017
|
|
||
| {% include toc %} | ||
| 微服务框架从0.4.1版本开始支持监控功能Metrics,请注意这个功能还处于开发(Preview)阶段,请不要部署到生产环境,并且我们未来会做较大的调整,更多讨论会持续发布在[Google Group](https://groups.google.com/forum/#!forum/servicecomb-developers)中。 | ||
| 微服务框架从0.4.1版本开始支持监控功能Metrics,请注意这个功能还处于开发(Preview)阶段,并且我们未来会做较大的调整,更多讨论会持续发布在[Google Group](https://groups.google.com/forum/#!forum/servicecomb-developers)中。 |
Contributor
There was a problem hiding this comment.
The version should be 0.5.0
WillemJiang
reviewed
Dec 20, 2017
| 我们提供了一个配置好的Log4j2配置文件作为参考,如果微服务项目中使用的是Log4j2作为日志输出实现,则可以直接使用,将其中的内容合并到项目日志配置中即可: | ||
| [log4j2.xml](/assets/files/log4j2.xml) | ||
|
|
||
| 如果使用的是Log4j1,则可以使用下面这个参考配置: |
WillemJiang
reviewed
Dec 20, 2017
|
|
||
| ## 附件 | ||
| 我们提供了一个配置好的Log4j2配置文件作为参考,如果微服务项目中使用的是Log4j2作为日志输出实现,则可以直接使用,将其中的内容合并到项目日志配置中即可: | ||
| [log4j2.xml](/assets/files/log4j2.xml) |
Contributor
There was a problem hiding this comment.
Please show some simple example instead of whole file here.
WillemJiang
reviewed
Dec 20, 2017
| @@ -0,0 +1,273 @@ | |||
| log4j.logger.averageServiceExecutionTime=ERROR, averageServiceExecutionTimeLogger | |||
| log4j.additivity.averageServiceExecutionTime=false | |||
| log4j.appender.averageServiceExecutionTimeLogger=com.huawei.paas.cse.tracing.span.SpanFileAppender | |||
Contributor
There was a problem hiding this comment.
Please move it away, as it's a private feature.
Signed-off-by: zhengyangyong <yangyong.zheng@huawei.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.