Translate help/faq/telemery into Chinese (#2269)

* Translate help/faq/telemery into Chinese;Fix space

* Fix ci failed
This commit is contained in:
DavadDi 2018-08-16 21:46:32 +08:00 committed by istio-bot
parent 034548e67a
commit ada8c96a66
8 changed files with 61 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
title: 遥测数据可以通过 REST 接口查看吗?
weight: 0
---
可以使用 [Prometheus](/zh/docs/tasks/telemetry/querying-metrics/) 收集有关 Istio 的遥测数据。然后使用 [Prometheuss HTTP API](https://prometheus.io/docs/prometheus/latest/querying/api/) 查询数据。

View File

@ -0,0 +1,20 @@
---
title: 如何禁用 Istio 发送追踪 span 至 Zipkin
weight: 100
---
如果已启用跟踪,则可以按如下方式禁用:
{{< text plain >}}
# Fill <istio namespace> with the namespace of your istio mesh.Ex: istio-system
TRACING_POD=`kubectl get po -n <istio namespace> | grep istio-tracing | awk {print $1}`
$ kubectl delete pod $TRACING_POD -n <istio namespace>
$ kubectl delete services tracing zipkin -n <istio namespace>
# Remove reference of zipkin url from mixer deployment
$ kubectl -n istio-system edit deployment istio-telemetry
# Now, manually remove instances of trace_zipkin_url from the file and save it.
{{< /text >}}
然后按照[分布式追踪任务的清理部分](/zh/docs/tasks/telemetry/distributed-tracing/#清理)的步骤进行操作。
如果完全不想使用追踪功能,可在 [`istio-demo.yaml`](/zh/docs/tasks/telemetry/distributed-tracing/#开始之前) 或 [`istio-demo-auth.yaml`](/zh/docs/tasks/telemetry/distributed-tracing/#开始之前) 中禁用追踪功能,或者在安装 Istio 时不启用它。

View File

@ -0,0 +1,8 @@
---
title: Istio 能将追踪信息发送到外部 ZipKin 实例吗?
weight: 110
---
要实现该功能,必须使用 Zipkin 实例的完全限定域名。例如:
`zipkin.mynamespace.svc.cluster.local`

View File

@ -0,0 +1,8 @@
---
title: Telemetry FAQ
linktitle: Telemetry
description: Telemetry Q & A.
weight: 45
type: faq
page_icon: /img/faq.svg
---

View File

@ -0,0 +1,6 @@
---
title: Zipkin 初始的 HTTP 标头是谁产生的?
weight: 90
---
Istio sidecar 代理Envoy生成了第一个[标头](https://www.envoyproxy.io/docs/envoy/latest/configuration/http_conn_man/headers#x-request-id)。

View File

@ -3,4 +3,4 @@ title: Prometheus 适配器可以用于非 Kubernetes 环境吗?
weight: 60
---
可以使用 docker-compose 来安装 Prometheus这与你[安装](/docs/setup/consul/quick-start/#deploy-your-application)应用程序十分类似。此外,如果没有 Kubernetes API 服务器,像 Mixer 这样的组件将会对规则、处理程序以及实例进行本地配置。
可以使用 docker-compose 来安装 Prometheus这与[安装](/zh/docs/setup/consul/quick-start/#部署应用)应用程序十分类似。此外,如果没有 Kubernetes API 服务器,像 Mixer 这样的组件将会对规则、处理程序以及实例进行本地配置。

View File

@ -0,0 +1,6 @@
---
title: Istio 支持追踪 vert.x 事件总线消息吗?
weight: 70
---
Istio 目前不支持 pub/sub 和事件总线协议。任何使用追踪技术的场景都是尽力而为的,可能会有消息丢失。

View File

@ -0,0 +1,6 @@
---
title: 在 Istio 使用 ZipKin 功能时,是否可以返回 x-request-id
weight: 120
---
除非复制标头,否则 Istio 也无法知道接受原始请求的应用程序何时给出响应消息。如果复制标头,则可以将其包含在响应标头中。