HttpClientMetricsRecorder for Reactor Netty built-in integration with Micrometer.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final MicrometerHttpClientMetricsRecorder |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final io. | |
| public void | recordDataReceivedTime(SocketAddress
The remote peer remoteAddress, String the requested URI uri, String the HTTP method method, String the HTTP status status, Duration the time in nanoseconds that is spent in consuming incoming data time)Implements reactor. |
| public void | recordDataSentTime(SocketAddress
The remote peer remoteAddress, String the requested URI uri, String the HTTP method method, Duration the time in nanoseconds that is spent in sending outgoing data time)Implements reactor. |
| public void | recordResponseTime(SocketAddress
The remote peer remoteAddress, 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. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final MicrometerHttpClientMetricsRecorder INSTANCE | |
| MicrometerHttpClientMetricsRecorder | back to summary |
|---|---|
| private MicrometerHttpClientMetricsRecorder() | |
| getResponseTimeTimer | back to summary |
|---|---|
pack-priv final io.
| |
| recordDataReceivedTime | back to summary |
|---|---|
| public void recordDataReceivedTime(SocketAddress remoteAddress, String uri, String method, String status, Duration time) Implements reactor. Doc from reactor. Records the time that is spent in consuming incoming data. | |
| recordDataSentTime | back to summary |
|---|---|
| public void recordDataSentTime(SocketAddress remoteAddress, String uri, String method, Duration time) Implements reactor. Doc from reactor. Records the time that is spent in sending outgoing data.
| |
| recordResponseTime | back to summary |
|---|---|
| public void recordResponseTime(SocketAddress remoteAddress, String uri, String method, String status, Duration time) Implements reactor. Doc from reactor. Records the total time for the request/response. | |