Skip to content

Commit

Permalink
Merge pull request #2383 from murgatroid99/grpc-js_pick_start_log
Browse files Browse the repository at this point in the history
grpc-js: Trace before call to LB policy picker
  • Loading branch information
murgatroid99 authored Mar 7, 2023
2 parents 8a22f5f + c525025 commit e66909d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/grpc-js/src/load-balancing-call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export class LoadBalancingCall implements Call {
if (!this.metadata) {
throw new Error('doPick called before start');
}
this.trace('Pick called')
const pickResult = this.channel.doPick(this.metadata, this.callConfig.pickInformation);
const subchannelString = pickResult.subchannel ?
'(' + pickResult.subchannel.getChannelzRef().id + ') ' + pickResult.subchannel.getAddress() :
Expand Down

0 comments on commit e66909d

Please sign in to comment.