mirror of https://github.com/grpc/grpc-node.git
Merge pull request #2252 from murgatroid99/grpc-js-xds_interop_stats_logging
grpc-js-xds: Log stats periodically in interop tests
This commit is contained in:
commit
9af9392fc0
|
@ -310,6 +310,9 @@ function sendConstantQps(client: TestServiceClient, qps: number, failOnFailedRpc
|
|||
makeSingleRequest(client, callType, failOnFailedRpcs, callStatsTracker);
|
||||
}
|
||||
}, 1000/qps);
|
||||
setInterval(() => {
|
||||
console.log(`Accumulated stats: ${JSON.stringify(accumulatedStats, undefined, 2)}`);
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
const callTypeEnumMap = {
|
||||
|
|
Loading…
Reference in New Issue