You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cluster healthcheck uses wrong interval due to metric filtering #8771
Given an Envoy v1.11.1 node with cluster metrics excluded via StatsMatcher and cluster health checking enabled, when sending traffic to the cluster healthcheck is always run with no_traffic_interval 60s default interval.
The cause is the same as with #8473 and #8630, metrics are being used for application functionality.
In this case upstream_cx_total is the metric on which the dependency exists. Therefore the workaround is to whitelist it:
Document and add validation check to disallow excluding core stats with stats matcher. This removes some flexibility from the stats matching, but there's probably not that many stats in this category.
We could avoid relying directly on stats in methods like ClusterManagerImpl::warmingClusterCount(). This means we need to do double accounting to track things like warming cluster count.
The stats code could avoid rejecting core stats and filter only at stats output time. I'm not sure how hard this would be to do, @jmarantz thoughts?
Activity
ivanpondal commentedon Nov 20, 2019
Working on our xDS control plane, we found blacklisting
active_clustersandwarming_clustersprevents Envoy from requesting new cluster updates.mattklein123 commentedon Jan 30, 2020
@wgallagher will take a look at #8771 (comment) once he finishes the big xDS refactor he is currently working on.
Fix the link and update to issue envoyproxy#8771. Add a note about op…
dfjones commentedon Jan 31, 2020
In #9856 I show that this issue affects Envoy 1.13.0 and can still cause xDS deadlock.
antoniovicente commentedon Nov 10, 2020
cc @htuch @jmarantz
htuch commentedon Nov 12, 2020
There are multiple approaches to fix this:
ClusterManagerImpl::warmingClusterCount(). This means we need to do double accounting to track things like warming cluster count.jmarantz commentedon May 18, 2022
xref #14610
fix(controller): bound the gateway stats the Envoy sink exports (#3765)