istio.io/content/zh/about/faq/distributed-tracing/how-envoy-based-tracing-wor...

16 lines
790 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 基于 Envoy 的跟踪如何工作?
weight: 11
---
对于基于 Envoy 的跟踪集成EnvoySidecar 代理)代表所代理的应用程序将跟踪信息直接发送到跟踪后端。
Envoy
- 在请求代理时为请求生成请求 ID 和跟踪标头(例如 `X-B3-TraceId`
- 根据请求和响应元数据(即响应时间)为每个请求生成跟踪范围
- 将生成的跟踪范围发送到跟踪后端
- 将跟踪头转发到代理的应用程序
Istio 支持基于 Envoy 的 [LightStep](/zh/docs/tasks/observability/distributed-tracing/lightstep/) 和 [Zipkin](/zh/docs/tasks/observability/distributed-tracing/zipkin/) 的集成,以及所有与 Zipkin API 兼容的后端,包括 [Jaeger](/zh/docs/tasks/observability/distributed-tracing/jaeger/)。