public abstract class ContextAwareHttpClientMetricsRecorder extends ContextAwareHttpMetricsRecorder implements HttpClientMetricsRecorder
ContextView aware class for collecting metrics on HTTP client level| Constructor and Description | 
|---|
ContextAwareHttpClientMetricsRecorder()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
recordDataReceivedTime(ContextView contextView,
                      SocketAddress remoteAddress,
                      String uri,
                      String method,
                      String status,
                      Duration time)
Records the time that is spent in consuming incoming data 
 | 
void | 
recordDataReceivedTime(SocketAddress remoteAddress,
                      String uri,
                      String method,
                      String status,
                      Duration time)
Records the time that is spent in consuming incoming data 
 | 
abstract void | 
recordDataSentTime(ContextView contextView,
                  SocketAddress remoteAddress,
                  String uri,
                  String method,
                  Duration time)
Records the time that is spent in sending outgoing data 
 | 
void | 
recordDataSentTime(SocketAddress remoteAddress,
                  String uri,
                  String method,
                  Duration time)
Records the time that is spent in sending outgoing data 
 | 
abstract void | 
recordResponseTime(ContextView contextView,
                  SocketAddress remoteAddress,
                  String uri,
                  String method,
                  String status,
                  Duration time)
Records the total time for the request/response 
 | 
void | 
recordResponseTime(SocketAddress remoteAddress,
                  String uri,
                  String method,
                  String status,
                  Duration time)
Records the total time for the request/response 
 | 
incrementErrorsCount, incrementErrorsCount, recordDataReceived, recordDataReceived, recordDataSent, recordDataSentincrementErrorsCount, incrementErrorsCount, recordConnectTime, recordConnectTime, recordDataReceived, recordDataReceived, recordDataSent, recordDataSent, recordTlsHandshakeTime, recordTlsHandshakeTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitincrementErrorsCount, recordDataReceived, recordDataSentincrementErrorsCount, recordConnectTime, recordDataReceived, recordDataSent, recordResolveAddressTime, recordServerConnectionClosed, recordServerConnectionOpened, recordTlsHandshakeTimepublic ContextAwareHttpClientMetricsRecorder()
public abstract void recordDataReceivedTime(ContextView contextView, SocketAddress remoteAddress, String uri, String method, String status, Duration time)
contextView - The current ContextView associated with the Mono/FluxremoteAddress - The remote peeruri - The requested URImethod - The HTTP methodstatus - The HTTP statustime - The time in nanoseconds that is spent in consuming incoming datapublic abstract void recordDataSentTime(ContextView contextView, SocketAddress remoteAddress, String uri, String method, Duration time)
contextView - The current ContextView associated with the Mono/FluxremoteAddress - The remote peeruri - The requested URImethod - The HTTP methodtime - The time in nanoseconds that is spent in sending outgoing datapublic abstract void recordResponseTime(ContextView contextView, SocketAddress remoteAddress, String uri, String method, String status, Duration time)
contextView - The current ContextView associated with the Mono/FluxremoteAddress - The remote peeruri - The requested URImethod - The HTTP methodstatus - The HTTP statustime - The total time in nanoseconds for the request/responsepublic void recordDataReceivedTime(SocketAddress remoteAddress, String uri, String method, String status, Duration time)
HttpClientMetricsRecorderrecordDataReceivedTime in interface HttpClientMetricsRecorderremoteAddress - The remote peeruri - the requested URImethod - the HTTP methodstatus - the HTTP statustime - the time in nanoseconds that is spent in consuming incoming datapublic void recordDataSentTime(SocketAddress remoteAddress, String uri, String method, Duration time)
HttpClientMetricsRecorderrecordDataSentTime in interface HttpClientMetricsRecorderremoteAddress - The remote peeruri - the requested URImethod - the HTTP methodtime - the time in nanoseconds that is spent in sending outgoing datapublic void recordResponseTime(SocketAddress remoteAddress, String uri, String method, String status, Duration time)
HttpClientMetricsRecorderrecordResponseTime in interface HttpClientMetricsRecorderremoteAddress - The remote peeruri - the requested URImethod - the HTTP methodstatus - the HTTP statustime - the total time in nanoseconds for the request/response