mirror of https://github.com/grpc/grpc-node.git
Add more detailed LRS tracing
This commit is contained in:
parent
fb8916cc6d
commit
08a359744d
|
@ -625,7 +625,6 @@ export class XdsClient {
|
|||
if (!this.lrsCall) {
|
||||
return;
|
||||
}
|
||||
trace('Sending LRS stats');
|
||||
const clusterStats: ClusterStats[] = [];
|
||||
for (const [
|
||||
{ clusterName, edsServiceName },
|
||||
|
@ -686,6 +685,7 @@ export class XdsClient {
|
|||
}
|
||||
}
|
||||
}
|
||||
trace('Sending LRS stats ' + JSON.stringify(clusterStats, undefined, 2));
|
||||
this.lrsCall.write({
|
||||
node: this.lrsNode!,
|
||||
cluster_stats: clusterStats,
|
||||
|
|
Loading…
Reference in New Issue