zh-translation:/faq/distributed-tracing/how-to-support-tracing.md (#5582)

* zh-translation:content/zh/faq/distributed-tracing/how-to-support-tracing.md

* Update how-to-support-tracing.md
This commit is contained in:
zzde 2019-11-15 17:01:46 +08:00 committed by Istio Automation
parent 503cd9f9e7
commit 63c32df3f6
1 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
---
title: What is required for distributed tracing with Istio?
title: 使用 Istio 进行分布式追踪需要什么?
weight: 10
---
Istio enables reporting of trace spans for workload-to-workload communications within a mesh. However, in order for various trace spans to be stitched together for a complete view of the traffic flow, applications must propagate the trace context between incoming and outgoing requests.
Istio 允许报告服务网格中工作负载到工作负载间通信的追踪 span。 然而,为了将各种追踪 span 整合在一起以获得完整的流量图,应用程序必须在传入和传出请求之间传播追踪上下文信息。
In particular, Istio relies on applications to [propagate the B3 trace headers](https://github.com/openzipkin/b3-propagation), as well as the Envoy-generated request ID. These headers include:
特别是Istio 依赖于应用程序传播 [B3 追踪 headers](https://github.com/openzipkin/b3-propagation) 以及由 Envoy 生成的请求 ID。 这些 header 包括:
- `x-request-id`
- `x-b3-traceid`
@ -15,8 +15,8 @@ In particular, Istio relies on applications to [propagate the B3 trace headers](
- `x-b3-flags`
- `b3`
If you are using LightStep, you will also need to forward the following headers:
如果使用 LightStep您还需要转发以下 header
- `x-ot-span-context`
Header propagation may be accomplished through client libraries, such as [Zipkin](https://zipkin.io/pages/tracers_instrumentation.html) or [Jaeger](https://github.com/jaegertracing/jaeger-client-java/tree/master/jaeger-core#b3-propagation). It may also be accomplished manually, as documented in the [Distributed Tracing Task](/docs/tasks/observability/distributed-tracing/overview#trace-context-propagation).
Header 传播可以通过客户端库完成,例如 [Zipkin](https://zipkin.io/pages/tracers_instrumentation.html) 或 [Jaeger](https://github.com/jaegertracing/jaeger-client-java/tree/master/jaeger-core#b3-propagation)。 当然,这也可以手动完成,正如[分布式追踪任务](/zh/docs/tasks/observability/distributed-tracing/overview#trace-context-propagation)中所描述的那样。