Skip to content

Commit 9af9392

Browse files
authored
Merge pull request #2252 from murgatroid99/grpc-js-xds_interop_stats_logging
grpc-js-xds: Log stats periodically in interop tests
2 parents 6764dcc + bcf4ce2 commit 9af9392

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/grpc-js-xds/interop/xds-interop-client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,9 @@ function sendConstantQps(client: TestServiceClient, qps: number, failOnFailedRpc
310310
makeSingleRequest(client, callType, failOnFailedRpcs, callStatsTracker);
311311
}
312312
}, 1000/qps);
313+
setInterval(() => {
314+
console.log(`Accumulated stats: ${JSON.stringify(accumulatedStats, undefined, 2)}`);
315+
}, 1000);
313316
}
314317

315318
const callTypeEnumMap = {

0 commit comments

Comments
 (0)