From 204c21313dd4d231f4cfff7968558bf6133a7321 Mon Sep 17 00:00:00 2001 From: Gau Liang Date: Wed, 11 Dec 2019 09:57:43 +0800 Subject: [PATCH] zh-translation:content/zh/boilerplates/* (#6031) * zh-translation:content/en/boilerplates/* * zh-translation: completed * Resolve markdown lint errors. * Update example.md --- content/zh/boilerplates/example.md | 4 ++-- content/zh/boilerplates/index.md | 2 ++ content/zh/boilerplates/trace-generation.md | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/content/zh/boilerplates/example.md b/content/zh/boilerplates/example.md index d8d863afa5..37887cf495 100644 --- a/content/zh/boilerplates/example.md +++ b/content/zh/boilerplates/example.md @@ -1,7 +1,7 @@ --- --- -这是 *markdown* 文本样板。 +这是一些 **markdown** 文本的样板。 {{< text plain >}} -嵌套的文本块样本。 +嵌套文本块样本的例子。 {{< /text >}} diff --git a/content/zh/boilerplates/index.md b/content/zh/boilerplates/index.md index ca03031f1e..cbe5fa40d7 100644 --- a/content/zh/boilerplates/index.md +++ b/content/zh/boilerplates/index.md @@ -1,3 +1,5 @@ --- headless: true --- + +这个文件告诉 Hugo 引擎,在生成页面时,当前目录树下的所有文件都不应该在站点中被渲染为普通页面。 \ No newline at end of file diff --git a/content/zh/boilerplates/trace-generation.md b/content/zh/boilerplates/trace-generation.md index 0f0ffde332..1366a04c05 100644 --- a/content/zh/boilerplates/trace-generation.md +++ b/content/zh/boilerplates/trace-generation.md @@ -1,8 +1,8 @@ --- --- -To see trace data, you must send requests to your service. The number of requests depends on Istio's sampling rate. -You set this rate when you install Istio. The default sampling rate is 1%. You need to send at least 100 requests before the first trace is visible. -To send a 100 requests to the `productpage` service, use the following command: +要查看追踪数据,必须向服务发送请求。请求的数量取决于 Istio 的采样率。 +采样率在安装 Istio 时设置,默认采样速率为 1%。在第一个跟踪可见之前,您需要发送至少100个请求。 +使用以下命令向 `productpage` 服务发送 100 个请求: {{< text bash >}} $ for i in `seq 1 100`; do curl -s -o /dev/null http://$GATEWAY_URL/productpage; done