envoyproxy/envoy

Tracing: upstream_cluster attribute missing when backend has no healthy replicas

オープン

#25,887 opened on 2023/03/02

 (4 件のコメント) (2 件のリアクション) (0 人の担当者)C++ (5,373 件のフォーク)batch import
area/routerenhancementhelp wanted

Repository metrics

Stars
 (27,997 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Title: Tracing: upstream_cluster attribute missing when backend has no healthy replicas

Description:

Given an envoy cluster of "foo_cluster" with some number of backends that is addressed via a k8s service name "foo-service".

If "foo_cluster" doesn't have any healthy backends (e.g. they are missing entirely, or maybe crash looping), spans generated by envoy on traffic that matches "foo_cluster" are missing the "upstream_cluster" attribute.

It would be helpful if "upstream_cluster" was always populated.

コントリビューターガイド