public interface HttpServerMetricsRecorder extends HttpMetricsRecorder
Modifier and Type | Method and Description |
---|---|
void |
recordDataReceivedTime(String uri,
String method,
Duration time)
Records the time that is spent in consuming incoming data
|
void |
recordDataSentTime(String uri,
String method,
String status,
Duration time)
Records the time that is spent in sending outgoing data
|
void |
recordResponseTime(String uri,
String method,
String status,
Duration time)
Records the total time for the request/response
|
incrementErrorsCount, recordDataReceived, recordDataSent
incrementErrorsCount, recordConnectTime, recordDataReceived, recordDataSent, recordResolveAddressTime, recordTlsHandshakeTime
void recordDataReceivedTime(String uri, String method, Duration time)
uri
- the requested URImethod
- the HTTP methodtime
- the time in nanoseconds that is spent in consuming incoming datavoid recordDataSentTime(String uri, String method, String status, Duration time)
uri
- the requested URImethod
- the HTTP methodstatus
- the HTTP statustime
- the time in nanoseconds that is spent in sending outgoing data