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