mirror of https://github.com/grpc/grpc-node.git
Merge pull request #1933 from murgatroid99/grpc-js_channel_option_tracing_1.4.x
grpc-js: Add tracing of channel options in channel and subchannel constructors (1.4.x)
This commit is contained in:
commit
d1aac29e6d
|
@ -311,7 +311,7 @@ export class ChannelImplementation implements Channel {
|
|||
new MaxMessageSizeFilterFactory(this.options),
|
||||
new CompressionFilterFactory(this),
|
||||
]);
|
||||
this.trace('Constructed channel');
|
||||
this.trace('Channel constructed with options ' + JSON.stringify(options, undefined, 2));
|
||||
}
|
||||
|
||||
private getChannelzInfo(): ChannelInfo {
|
||||
|
|
|
@ -229,7 +229,7 @@ export class Subchannel {
|
|||
this.channelzRef = registerChannelzSubchannel(this.subchannelAddressString, () => this.getChannelzInfo());
|
||||
this.channelzTrace = new ChannelzTrace();
|
||||
this.channelzTrace.addTrace('CT_INFO', 'Subchannel created');
|
||||
this.trace('Subchannel constructed');
|
||||
this.trace('Subchannel constructed with options ' + JSON.stringify(options, undefined, 2));
|
||||
}
|
||||
|
||||
private getChannelzInfo(): SubchannelInfo {
|
||||
|
|
Loading…
Reference in New Issue