envoyproxy/envoy

Tracing: upstream_cluster attribute missing when backend has no healthy replicas

Open

#25 887 ouverte le 2 mars 2023

Voir sur GitHub
 (4 commentaires) (2 réactions) (0 assignés)C++ (5 373 forks)batch import
area/routerenhancementhelp wanted

Métriques du dépôt

Stars
 (27 997 stars)
Métriques de merge PR
 (Merge moyen 8j) (378 PRs mergées en 30 j)

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.

Guide contributeur