Load reporting service missing information UpstreamEndpointStats and NodeID
#35,288 创建于 2024年7月19日
仓库指标
- Star
- (27,997 star)
- PR 合并指标
- (平均合并 8天) (30 天内合并 378 个 PR)
描述
The load reporting service example here is not working as expected according to the documentation.
There are many discrepancies between the result show in doc and the result running in sandbox. Following are the details:
-
UpstreamEndpointStats Missing One of the most useful information from load reporting service is UpstreamEndpointStats. According to the example code at lrs_server.go line 63, we enabled this and Envoy should return the data. However, the data is not provided based on my test. (Conducted multiple tests on this and all failed.)
-
ClusterName and NodeID Missing As the example documentation shows, we should have information on ClusterName and NodeID.
lrs_server_1 | 2020/02/12 17:09:07 Got stats from clusterhttp_servicenode0022a319e1e2- cluster_name:"local_service" upstream_locality_stats:<locality:<> total_successful_requests:21 total_issued_requests:21 > load_report_interval:<seconds:1 nanos:998411000 >Following are the result based on test:- Node ID missing:
lrs_server-1 | 2024/07/19 23:16:08 Adding new new node to cache '' - Cluster information missing
- Node ID missing:
Thanks