envoyproxy/envoy

Load reporting service missing information UpstreamEndpointStats and NodeID

Open

#35.288 aperta il 19 lug 2024

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/load reportinghelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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 cluster http_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

image

Thanks

Guida contributor