istio之envoy常見術語及狀態碼


基本術語

  • Downstream(下游):下游主機連接到 Envoy,發送請求並接收響應,即發送請求的主機。
  • Upstream(上游):上游主機接收來自 Envoy 的連接和請求,並返回響應,即接受請求的主機。
  • Listener(監聽器):監聽器是命名網地址(例如,端口、unix domain socket 等),下游客戶端可以連接這些監聽器。Envoy 暴露一個或者多個監聽器給下游主機連接。
  • Cluster(集群):集群是指 Envoy 連接的一組邏輯相同的上游主機。Envoy 通過服務發現來發現集群的成員。可以選擇通過主動健康檢查來確定集群成員的健康狀態。Envoy 通過負載均衡策略決定將請求路由到集群的哪個成員。

 

client ---> nginx(upstream)--->后端服務

對應envoy:

downstream(下游) ---> envoy ----->upstream(上游)

 

istio訪問日志常見標識碼

https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log#config-access-log-format-response-flags

HTTP and TCP

HTTP only

  • DC: Downstream connection termination.

  • LH: Local service failed health check request in addition to 503 response code.

  • UT: Upstream request timeout in addition to 504 response code.

  • LR: Connection local reset in addition to 503 response code.

  • UR: Upstream remote reset in addition to 503 response code.

  • UC: Upstream connection termination in addition to 503 response code.

  • DI: The request processing was delayed for a period specified via fault injection.

  • FI: The request was aborted with a response code specified via fault injection.

  • RL: The request was ratelimited locally by the HTTP rate limit filter in addition to 429 response code.

  • UAEX: The request was denied by the external authorization service.

  • RLSE: The request was rejected because there was an error in rate limit service.

  • IH: The request was rejected because it set an invalid value for a strictly-checked header in addition to 400 response code.

  • SI: Stream idle timeout in addition to 408 response code.

  • DPE: The downstream request had an HTTP protocol error.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM