Skip to content

Commit

Permalink
Merge pull request #2252 from murgatroid99/grpc-js-xds_interop_stats_…
Browse files Browse the repository at this point in the history
…logging

grpc-js-xds: Log stats periodically in interop tests
  • Loading branch information
murgatroid99 committed Oct 21, 2022
2 parents 6764dcc + bcf4ce2 commit 9af9392
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/grpc-js-xds/interop/xds-interop-client.ts
Expand Up @@ -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 = {
Expand Down

0 comments on commit 9af9392

Please sign in to comment.