HttpMetricsRecorder implementation for integration with Micrometer.
| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentMap | |
| protected final ConcurrentMap | |
| private final ConcurrentMap | |
| protected final ConcurrentMap | |
| private final ConcurrentMap | |
| protected final ConcurrentMap |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | incrementErrorsCount(SocketAddress
The remote peer remoteAddress, String the requested URI uri)Implements reactor. |
| public void | recordDataReceived(SocketAddress
The remote peer remoteAddress, String the requested URI uri, long The amount of the data that is received, in bytes bytes)Implements reactor. |
| public void | recordDataSent(SocketAddress
The remote peer remoteAddress, String the requested URI uri, long The amount of the data that is sent, in bytes bytes)Implements reactor. |
| dataReceivedCache | back to summary |
|---|---|
| private final ConcurrentMap<MeterKey, io. Hides reactor. | |
| dataReceivedTimeCache | back to summary |
|---|---|
| protected final ConcurrentMap<MeterKey, io. | |
| dataSentCache | back to summary |
|---|---|
| private final ConcurrentMap<MeterKey, io. Hides reactor. | |
| dataSentTimeCache | back to summary |
|---|---|
| protected final ConcurrentMap<MeterKey, io. | |
| errorsCache | back to summary |
|---|---|
| private final ConcurrentMap<MeterKey, io. Hides reactor. | |
| responseTimeCache | back to summary |
|---|---|
| protected final ConcurrentMap<MeterKey, io. | |
| MicrometerHttpMetricsRecorder | back to summary |
|---|---|
| protected MicrometerHttpMetricsRecorder(String name, String protocol) | |
| incrementErrorsCount | back to summary |
|---|---|
| public void incrementErrorsCount(SocketAddress remoteAddress, String uri) Implements reactor. Doc from reactor. Increments the number of the errors that are occurred
| |
| recordDataReceived | back to summary |
|---|---|
| public void recordDataReceived(SocketAddress remoteAddress, String uri, long bytes) Implements reactor. Doc from reactor. Records the amount of the data that is received, in bytes
| |
| recordDataSent | back to summary |
|---|---|
| public void recordDataSent(SocketAddress remoteAddress, String uri, long bytes) Implements reactor. Doc from reactor. Records the amount of the data that is sent, in bytes
| |