mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
grpc-js-xds: Log stats periodically in interop tests
This commit is contained in:
parent
aaa568fc01
commit
bcf4ce2b40
@ -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…
x
Reference in New Issue
Block a user