Skip to content

Commit

Permalink
Add more detailed LRS tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Mar 5, 2021
1 parent 1702014 commit b85c708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/src/xds-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,6 @@ export class XdsClient {
if (!this.lrsCall) {
return;
}
trace('Sending LRS stats');
const clusterStats: ClusterStats[] = [];
for (const [
{ clusterName, edsServiceName },
Expand Down Expand Up @@ -1129,6 +1128,7 @@ export class XdsClient {
}
}
}
trace('Sending LRS stats ' + JSON.stringify(clusterStats, undefined, 2));
this.lrsCall.write({
node: this.lrsNode!,
cluster_stats: clusterStats,
Expand Down

0 comments on commit b85c708

Please sign in to comment.