Update distributed-tracing.md#99
Open
zhuhoudong wants to merge 2 commits into
Open
Conversation
zenlint
reviewed
Sep 25, 2017
|
|
||
| 假设zipkin在虚拟机192.168.100.101的9411中运行。 | ||
|
|
||
| dockerfile: |
zenlint
reviewed
Sep 25, 2017
| EXPOSE 7781 | ||
| ENTRYPOINT java $JAVA_OPTS -jar bmi-calculator-tracing.jar "-Ptracing" | ||
| ``` | ||
| 打包image文件: |
Contributor
There was a problem hiding this comment.
Find code fense here for "打包image文件" when using View option with this file.
zenlint
suggested changes
Sep 25, 2017
| bmi-calculator-0.3.0-SNAPSHOT.jar dockerfile | ||
| root@i-wzmhsx68:/home/ubuntu/docker/bmi-calculator-tracing# docker build -t="bmi-calculator-tracing" . | ||
| ``` | ||
| 运行docker容器: |
| (注意将4.1中的bmi-calculator替换为bmi-webapp)。 | ||
|
|
||
|
|
||
| 体质指数应用中已配置好了上述配置项,您只需执行以下几步即可: |
|
|
||
| 体质指数应用中已配置好了上述配置项,您只需执行以下几步即可: | ||
|
|
||
| 1. 使用 Docker 运行 *Zipkin* 分布式追踪服务: |
Contributor
There was a problem hiding this comment.
Shoud we change these order format as the same as step 4.1?
|
|
||
| dockerfile: | ||
|
|
||
| ```bash |
| </dependency> | ||
| ``` | ||
|
|
||
| 4. 在docker容器环境下运行 *体质指数计算器* 微服务和*体质指数界面* 微服务: |
Contributor
There was a problem hiding this comment.
建议在"在docker容器"前面加上"(可选)"来提示用户这是可选步骤。
Contributor
|
@zhuhoudong , we can discuss relative topic in |
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.
增加了一部分内容:在容器环境下如何搭建调用链跟踪。