use of com.navercorp.pinpoint.plugin.netty.NettyClientRequestWrapper in project pinpoint by naver.
the class HttpEncoderInterceptor method doInAfterTrace.
protected void doInAfterTrace(SpanEventRecorder recorder, Object target, Object[] args, Object result, Throwable throwable) {
recorder.recordApi(methodDescriptor);
recorder.recordException(throwable);
final ChannelHandlerContext channelHandlerContext = (ChannelHandlerContext) args[0];
final HttpMessage httpMessage = (HttpMessage) args[1];
this.clientRequestRecorder.record(recorder, new NettyClientRequestWrapper(httpMessage, channelHandlerContext), throwable);
}
Aggregations