envoyproxy/envoy

Tracing: upstream_cluster attribute missing when backend has no healthy replicas

Open

#25,887 opened on Mar 2, 2023

View on GitHub
 (4 comments) (2 reactions) (0 assignees)C++ (5,373 forks)batch import
area/routerenhancementhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

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.

Contributor guide