伊斯蒂奥。谁生成初始 Zipkin HTTP headers?

Istio. Who generates the initial Zipkin HTTP headers?

文档中解释说,您的服务必须重新发送一组 headers 才能使 pilot/Zipkin 关联信息。

但是谁生成了第一个 headers 并设置了它的值? Istio Ingress 控制器?

如何配置它,enable/disable?

谢谢。

Istio sidecar 代理 (Envoy) 生成第一个 headers。根据 https://www.envoyproxy.io/docs/envoy/latest/configuration/http_conn_man/headers#x-request-id

Envoy will generate an x-request-id header for all external origin requests (the header is sanitized). It will also generate an x-request-id header for internal requests that do not already have one.