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 |
|---|---|
void |
incrementErrorsCount(ContextView contextView,
SocketAddress remoteAddress,
SocketAddress proxyAddress,
String uri)
Increments the number of the errors that have occurred.
|
void |
incrementErrorsCount(SocketAddress remoteAddress,
SocketAddress proxyAddress,
String uri)
Increments the number of the errors that have occurred.
|
void |
recordDataReceived(ContextView contextView,
SocketAddress remoteAddress,
SocketAddress proxyAddress,
String uri,
long bytes)
Records the amount of the data that is received, in bytes.
|
void |
recordDataReceived(SocketAddress remoteAddress,
SocketAddress proxyAddress,
String uri,
long bytes)
Records the amount of the data that is received, in bytes.
|
void |
recordDataReceivedTime(ContextView contextView,
SocketAddress remoteAddress,
SocketAddress proxyAddress,
String uri,
String method,
String status,
Duration time)
Records the time that is spent in consuming incoming data.
|
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,
SocketAddress proxyAddress,
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.
|
void |
recordDataSent(ContextView contextView,
SocketAddress remoteAddress,
SocketAddress proxyAddress,
String uri,
long bytes)
Records the amount of the data that is sent, in bytes.
|
void |
recordDataSent(SocketAddress remoteAddress,
SocketAddress proxyAddress,
String uri,
long bytes)
Records the amount of the data that is sent, in bytes.
|
void |
recordDataSentTime(ContextView contextView,
SocketAddress remoteAddress,
SocketAddress proxyAddress,
String uri,
String method,
Duration time)
Records the time that is spent in sending outgoing 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,
SocketAddress proxyAddress,
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.
|
void |
recordResponseTime(ContextView contextView,
SocketAddress remoteAddress,
SocketAddress proxyAddress,
String uri,
String method,
String status,
Duration time)
Records the total time for the request/response.
|
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,
SocketAddress proxyAddress,
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, incrementErrorsCount, incrementErrorsCount, recordConnectTime, recordConnectTime, recordConnectTime, recordConnectTime, recordDataReceived, recordDataReceived, recordDataReceived, recordDataReceived, recordDataSent, recordDataSent, recordDataSent, recordDataSent, recordTlsHandshakeTime, recordTlsHandshakeTime, recordTlsHandshakeTime, recordTlsHandshakeTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitincrementErrorsCount, recordDataReceived, recordDataSentincrementErrorsCount, incrementErrorsCount, recordConnectTime, recordConnectTime, recordDataReceived, recordDataReceived, recordDataSent, recordDataSent, recordResolveAddressTime, recordServerConnectionClosed, recordServerConnectionOpened, recordTlsHandshakeTime, 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 void recordDataReceivedTime(ContextView contextView, SocketAddress remoteAddress, SocketAddress proxyAddress, String uri, String method, String status, Duration time)
contextView - The current ContextView associated with the Mono/FluxremoteAddress - The remote peerproxyAddress - the proxy addressuri - 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 void recordDataSentTime(ContextView contextView, SocketAddress remoteAddress, SocketAddress proxyAddress, String uri, String method, Duration time)
contextView - The current ContextView associated with the Mono/FluxremoteAddress - The remote peerproxyAddress - the proxy addressuri - 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 recordResponseTime(ContextView contextView, SocketAddress remoteAddress, SocketAddress proxyAddress, String uri, String method, String status, Duration time)
contextView - The current ContextView associated with the Mono/FluxremoteAddress - The remote peerproxyAddress - the proxy addressuri - The requested URImethod - The HTTP methodstatus - The HTTP statustime - The total time in nanoseconds for the request/responsepublic void incrementErrorsCount(ContextView contextView, SocketAddress remoteAddress, SocketAddress proxyAddress, String uri)
contextView - The current ContextView associated with the Mono/FluxremoteAddress - The remote peerproxyAddress - the proxy addressuri - The requested URIpublic void recordDataReceived(ContextView contextView, SocketAddress remoteAddress, SocketAddress proxyAddress, String uri, long bytes)
contextView - The current ContextView associated with the Mono/FluxremoteAddress - The remote peerproxyAddress - the proxy addressuri - The requested URIbytes - The amount of the data that is received, in bytespublic void recordDataSent(ContextView contextView, SocketAddress remoteAddress, SocketAddress proxyAddress, String uri, long bytes)
contextView - The current ContextView associated with the Mono/FluxremoteAddress - The remote peerproxyAddress - the proxy addressuri - The requested URIbytes - The amount of the data that is sent, in bytespublic 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 recordDataReceivedTime(SocketAddress remoteAddress, SocketAddress proxyAddress, String uri, String method, String status, Duration time)
HttpClientMetricsRecorderrecordDataReceivedTime in interface HttpClientMetricsRecorderremoteAddress - The remote peerproxyAddress - the proxy addressuri - 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 recordDataSentTime(SocketAddress remoteAddress, SocketAddress proxyAddress, String uri, String method, Duration time)
HttpClientMetricsRecorderrecordDataSentTime in interface HttpClientMetricsRecorderremoteAddress - The remote peerproxyAddress - the proxy addressuri - 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/responsepublic void recordResponseTime(SocketAddress remoteAddress, SocketAddress proxyAddress, String uri, String method, String status, Duration time)
HttpClientMetricsRecorderrecordResponseTime in interface HttpClientMetricsRecorderremoteAddress - The remote peerproxyAddress - the proxy addressuri - the requested URImethod - the HTTP methodstatus - the HTTP statustime - the total time in nanoseconds for the request/responsepublic void recordDataReceived(SocketAddress remoteAddress, SocketAddress proxyAddress, String uri, long bytes)
HttpClientMetricsRecorderrecordDataReceived in interface HttpClientMetricsRecorderremoteAddress - The remote peerproxyAddress - the proxy addressuri - the requested URIbytes - The amount of the data that is received, in bytespublic void recordDataSent(SocketAddress remoteAddress, SocketAddress proxyAddress, String uri, long bytes)
HttpClientMetricsRecorderrecordDataSent in interface HttpClientMetricsRecorderremoteAddress - The remote peerproxyAddress - the proxy addressuri - the requested URIbytes - The amount of the data that is sent, in bytespublic void incrementErrorsCount(SocketAddress remoteAddress, SocketAddress proxyAddress, String uri)
HttpClientMetricsRecorderincrementErrorsCount in interface HttpClientMetricsRecorderremoteAddress - The remote peerproxyAddress - the proxy addressuri - the requested URI