-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update distributed-tracing.md #99
base: master
Are you sure you want to change the base?
Conversation
_docs/cn/distributed-tracing.md
Outdated
|
||
假设zipkin在虚拟机192.168.100.101的9411中运行。 | ||
|
||
dockerfile: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
对齐与67行对齐不一致。
_docs/cn/distributed-tracing.md
Outdated
EXPOSE 7781 | ||
ENTRYPOINT java $JAVA_OPTS -jar bmi-calculator-tracing.jar "-Ptracing" | ||
``` | ||
打包image文件: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Find code fense here for "打包image文件" when using View option with this file.
_docs/cn/distributed-tracing.md
Outdated
bmi-calculator-0.3.0-SNAPSHOT.jar dockerfile | ||
root@i-wzmhsx68:/home/ubuntu/docker/bmi-calculator-tracing# docker build -t="bmi-calculator-tracing" . | ||
``` | ||
运行docker容器: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as line 67th.
_docs/cn/distributed-tracing.md
Outdated
用同样的方法打包镜像和运行*体质指数页面* 微服务。重新编写dokerfile,编译jar文件以及打包和运行docker镜像文件。 | ||
(注意将4.1中的bmi-calculator替换为bmi-webapp)。 | ||
|
||
|
||
体质指数应用中已配置好了上述配置项,您只需执行以下几步即可: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this step 5?
_docs/cn/distributed-tracing.md
Outdated
用同样的方法打包镜像和运行*体质指数页面* 微服务。重新编写dokerfile,编译jar文件以及打包和运行docker镜像文件。 | ||
(注意将4.1中的bmi-calculator替换为bmi-webapp)。 | ||
|
||
|
||
体质指数应用中已配置好了上述配置项,您只需执行以下几步即可: | ||
|
||
1. 使用 Docker 运行 *Zipkin* 分布式追踪服务: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shoud we change these order format as the same as step 4.1?
_docs/cn/distributed-tracing.md
Outdated
|
||
dockerfile: | ||
|
||
```bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
代码缩进能否和下面的第五步中的保持一致?
_docs/cn/distributed-tracing.md
Outdated
@@ -48,6 +48,42 @@ last_modified_at: 2017-09-03T10:01:43-04:00 | |||
</dependency> | |||
``` | |||
|
|||
4. 在docker容器环境下运行 *体质指数计算器* 微服务和*体质指数界面* 微服务: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议在"在docker容器"前面加上"(可选)"来提示用户这是可选步骤。
@zhuhoudong , we can discuss relative topic in |
增加了一部分内容:在容器环境下如何搭建调用链跟踪。