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. 
 | 
default void | 
recordServerConnectionActive(SocketAddress localAddress)
Record a new active in-use http connection. 
 | 
default void | 
recordServerConnectionInactive(SocketAddress localAddress)
Record an inactive http connection. 
 | 
default void | 
recordStreamClosed(SocketAddress localAddress)
Record a closed HTTP/2 stream. 
 | 
default void | 
recordStreamOpened(SocketAddress localAddress)
Record an opened HTTP/2 stream. 
 | 
incrementErrorsCount, recordDataReceived, recordDataSentincrementErrorsCount, recordConnectTime, recordDataReceived, recordDataSent, recordResolveAddressTime, recordServerConnectionClosed, recordServerConnectionOpened, recordTlsHandshakeTimevoid 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 datavoid recordResponseTime(String uri, String method, String status, Duration time)
uri - the requested URImethod - the HTTP methodstatus - the HTTP statustime - the total time in nanoseconds for the request/responsedefault void recordServerConnectionActive(SocketAddress localAddress)
localAddress - the local server addressdefault void recordServerConnectionInactive(SocketAddress localAddress)
localAddress - the local server addressdefault void recordStreamOpened(SocketAddress localAddress)
localAddress - the local server addressdefault void recordStreamClosed(SocketAddress localAddress)
localAddress - the local server address