public interface HttpMetricsRecorder extends ChannelMetricsRecorder
Modifier and Type | Method and Description |
---|---|
void |
incrementErrorsCount(SocketAddress remoteAddress,
String uri)
Increments the number of the errors that are occurred.
|
void |
recordDataReceived(SocketAddress remoteAddress,
String uri,
long bytes)
Records the amount of the data that is received, in bytes.
|
void |
recordDataSent(SocketAddress remoteAddress,
String uri,
long bytes)
Records the amount of the data that is sent, in bytes.
|
incrementErrorsCount, incrementErrorsCount, recordConnectTime, recordConnectTime, recordDataReceived, recordDataReceived, recordDataSent, recordDataSent, recordResolveAddressTime, recordServerConnectionClosed, recordServerConnectionOpened, recordTlsHandshakeTime, recordTlsHandshakeTime
void recordDataReceived(SocketAddress remoteAddress, String uri, long bytes)
remoteAddress
- The remote peeruri
- the requested URIbytes
- The amount of the data that is received, in bytesvoid recordDataSent(SocketAddress remoteAddress, String uri, long bytes)
remoteAddress
- The remote peeruri
- the requested URIbytes
- The amount of the data that is sent, in bytesvoid incrementErrorsCount(SocketAddress remoteAddress, String uri)
remoteAddress
- The remote peeruri
- the requested URI