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) {
|
if (!this.lrsCall) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
trace('Sending LRS stats');
|
|
||||||
const clusterStats: ClusterStats[] = [];
|
const clusterStats: ClusterStats[] = [];
|
||||||
for (const [
|
for (const [
|
||||||
{ clusterName, edsServiceName },
|
{ clusterName, edsServiceName },
|
||||||
|
@ -686,6 +685,7 @@ export class XdsClient {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
trace('Sending LRS stats ' + JSON.stringify(clusterStats, undefined, 2));
|
||||||
this.lrsCall.write({
|
this.lrsCall.write({
|
||||||
node: this.lrsNode!,
|
node: this.lrsNode!,
|
||||||
cluster_stats: clusterStats,
|
cluster_stats: clusterStats,
|
||||||
|
|
Loading…
Reference in New Issue