ContextView aware class for collecting metrics on HTTP server level.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | recordDataReceivedTime(ContextView
The current contextView, String ContextView associated with the Mono/FluxThe requested URI uri, String The HTTP method method, Duration The time in nanoseconds that is spent in consuming incoming data time)Records the time that is spent in consuming incoming data. |
| public void | recordDataReceivedTime(String
the requested URI uri, String the HTTP method method, Duration the time in nanoseconds that is spent in consuming incoming data time)Implements reactor. |
| public abstract void | recordDataSentTime(ContextView
The current contextView, String ContextView associated with the Mono/FluxThe requested URI uri, String The HTTP method method, String The HTTP status status, Duration The time in nanoseconds that is spent in sending outgoing data time)Records the time that is spent in sending outgoing data. |
| public void | recordDataSentTime(String
the requested URI uri, String the HTTP method method, String the HTTP status status, Duration the time in nanoseconds that is spent in sending outgoing data time)Implements reactor. |
| public abstract void | recordResponseTime(ContextView
The current contextView, String ContextView associated with the Mono/FluxThe requested URI uri, String The HTTP method method, String The HTTP status status, Duration The total time in nanoseconds for the request/response time)Records the total time for the request/response. |
| public void | recordResponseTime(String
the requested URI uri, String the HTTP method method, String the HTTP status status, Duration the total time in nanoseconds for the request/response time)Implements reactor. |
| ContextAwareHttpServerMetricsRecorder | back to summary |
|---|---|
| public ContextAwareHttpServerMetricsRecorder() | |
| recordDataReceivedTime | back to summary |
|---|---|
| public abstract void recordDataReceivedTime(ContextView contextView, String uri, String method, Duration time) Records the time that is spent in consuming incoming data.
| |
| recordDataReceivedTime | back to summary |
|---|---|
| public void recordDataReceivedTime(String uri, String method, Duration time) Implements reactor. Doc from reactor. Records the time that is spent in consuming incoming data. | |
| recordDataSentTime | back to summary |
|---|---|
| public abstract void recordDataSentTime(ContextView contextView, String uri, String method, String status, Duration time) Records the time that is spent in sending outgoing data.
| |
| recordDataSentTime | back to summary |
|---|---|
| public void recordDataSentTime(String uri, String method, String status, Duration time) Implements reactor. Doc from reactor. Records the time that is spent in sending outgoing data. | |
| recordResponseTime | back to summary |
|---|---|
| public abstract void recordResponseTime(ContextView contextView, String uri, String method, String status, Duration time) Records the total time for the request/response.
| |
| recordResponseTime | back to summary |
|---|---|
| public void recordResponseTime(String uri, String method, String status, Duration time) Implements reactor. Doc from reactor. Records the total time for the request/response. | |