envoyproxy/envoy

Tracing: upstream_cluster attribute missing when backend has no healthy replicas

开放

#25,887 创建于 2023年3月2日

 (4 条评论) (2 个反应) (0 位负责人)C++ (5,373 个派生)batch import
area/routerenhancementhelp wanted

仓库指标

星标
 (27,997 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南