public abstract class ContextAwareHttpServerMetricsRecorder extends ContextAwareHttpMetricsRecorder implements HttpServerMetricsRecorder
ContextView aware class for collecting metrics on HTTP server level.| Constructor and Description | 
|---|
ContextAwareHttpServerMetricsRecorder()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
recordDataReceivedTime(ContextView contextView,
                      String uri,
                      String method,
                      Duration time)
Records the time that is spent in consuming incoming data. 
 | 
void | 
recordDataReceivedTime(String uri,
                      String method,
                      Duration time)
Records the time that is spent in consuming incoming data. 
 | 
abstract void | 
recordDataSentTime(ContextView contextView,
                  String uri,
                  String method,
                  String status,
                  Duration time)
Records the time that is spent in sending outgoing data. 
 | 
void | 
recordDataSentTime(String uri,
                  String method,
                  String status,
                  Duration time)
Records the time that is spent in sending outgoing data. 
 | 
abstract void | 
recordResponseTime(ContextView contextView,
                  String uri,
                  String method,
                  String status,
                  Duration time)
Records the total time for the request/response. 
 | 
void | 
recordResponseTime(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, waitrecordServerConnectionActive, recordServerConnectionInactive, recordStreamClosed, recordStreamOpenedincrementErrorsCount, recordDataReceived, recordDataSentincrementErrorsCount, incrementErrorsCount, recordConnectTime, recordConnectTime, recordDataReceived, recordDataReceived, recordDataSent, recordDataSent, recordResolveAddressTime, recordServerConnectionClosed, recordServerConnectionOpened, recordTlsHandshakeTime, recordTlsHandshakeTimepublic ContextAwareHttpServerMetricsRecorder()
public abstract void recordDataReceivedTime(ContextView contextView, String uri, String method, Duration time)
contextView - The current ContextView associated with the Mono/Fluxuri - The requested URImethod - The HTTP methodtime - The time in nanoseconds that is spent in consuming incoming datapublic abstract void recordDataSentTime(ContextView contextView, String uri, String method, String status, Duration time)
contextView - The current ContextView associated with the Mono/Fluxuri - The requested URImethod - The HTTP methodstatus - The HTTP statustime - The time in nanoseconds that is spent in sending outgoing datapublic abstract void recordResponseTime(ContextView contextView, String uri, String method, String status, Duration time)
contextView - The current ContextView associated with the Mono/Fluxuri - The requested URImethod - The HTTP methodstatus - The HTTP statustime - The total time in nanoseconds for the request/responsepublic void recordDataReceivedTime(String uri, String method, Duration time)
HttpServerMetricsRecorderrecordDataReceivedTime in interface HttpServerMetricsRecorderuri - the requested URImethod - the HTTP methodtime - the time in nanoseconds that is spent in consuming incoming datapublic void recordDataSentTime(String uri, String method, String status, Duration time)
HttpServerMetricsRecorderrecordDataSentTime in interface HttpServerMetricsRecorderuri - the requested URImethod - the HTTP methodstatus - the HTTP statustime - the time in nanoseconds that is spent in sending outgoing datapublic void recordResponseTime(String uri, String method, String status, Duration time)
HttpServerMetricsRecorderrecordResponseTime in interface HttpServerMetricsRecorderuri - the requested URImethod - the HTTP methodstatus - the HTTP statustime - the total time in nanoseconds for the request/response