ChannelMetricsRecorder implementation for integration with Micrometer.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ConcurrentMap | |
| pack-priv final ConcurrentMap | |
| pack-priv final ConcurrentMap | |
| pack-priv final ConcurrentMap | |
| pack-priv final ConcurrentMap | |
| pack-priv final String | |
| pack-priv final String | |
| pack-priv final ConcurrentMap | |
| pack-priv final ConcurrentMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected static <M extends io. | |
| pack-priv final io. | |
| public final io. | |
| public final io. | |
| pack-priv LongAdder | |
| public void | incrementErrorsCount(SocketAddress
The remote peer remoteAddress)Implements reactor. |
| public String | |
| public String | |
| public void | recordConnectTime(SocketAddress
The remote peer remoteAddress, Duration the time in nanoseconds that is spent for connecting to the remote address time, String the status of the operation status)Implements reactor. |
| public void | recordDataReceived(SocketAddress
The remote peer remoteAddress, long The amount of the data that is received, in bytes bytes)Implements reactor. |
| public void | recordDataSent(SocketAddress
The remote peer remoteAddress, long The amount of the data that is sent, in bytes bytes)Implements reactor. |
| public void | recordResolveAddressTime(SocketAddress
The remote peer remoteAddress, Duration the time in nanoseconds that is spent for resolving to the remote address time, String the status of the operation status)Implements reactor. |
| public void | recordServerConnectionClosed(SocketAddress
the server local address serverAddress)Overrides default reactor. |
| public void | recordServerConnectionOpened(SocketAddress
the server local address serverAddress)Overrides default reactor. |
| public void | recordTlsHandshakeTime(SocketAddress
The remote peer remoteAddress, Duration the time in nanoseconds that is spent for TLS handshake time, String the status of the operation status)Implements reactor. |
| addressResolverTimeCache | back to summary |
|---|---|
| pack-priv final ConcurrentMap<MeterKey, io. | |
| connectTimeCache | back to summary |
|---|---|
| pack-priv final ConcurrentMap<MeterKey, io. | |
| dataReceivedCache | back to summary |
|---|---|
| pack-priv final ConcurrentMap<String, io. | |
| dataSentCache | back to summary |
|---|---|
| pack-priv final ConcurrentMap<String, io. | |
| errorsCache | back to summary |
|---|---|
| pack-priv final ConcurrentMap<String, io. | |
| name | back to summary |
|---|---|
| pack-priv final String name | |
| protocol | back to summary |
|---|---|
| pack-priv final String protocol | |
| tlsHandshakeTimeCache | back to summary |
|---|---|
| pack-priv final ConcurrentMap<MeterKey, io. | |
| totalConnectionsCache | back to summary |
|---|---|
| pack-priv final ConcurrentMap<String, LongAdder> totalConnectionsCache | |
| MicrometerChannelMetricsRecorder | back to summary |
|---|---|
| public MicrometerChannelMetricsRecorder(String name, String protocol) | |
| filter | back to summary |
|---|---|
protected static <M extends io.
| |
| getConnectTimer | back to summary |
|---|---|
pack-priv final io.
| |
| getResolveAddressTimer | back to summary |
|---|---|
public final io.
| |
| getTlsHandshakeTimer | back to summary |
|---|---|
public final io.
| |
| getTotalConnectionsAdder | back to summary |
|---|---|
pack-priv LongAdder getTotalConnectionsAdder(SocketAddress serverAddress)
| |
| incrementErrorsCount | back to summary |
|---|---|
| public void incrementErrorsCount(SocketAddress remoteAddress) Implements reactor. Doc from reactor. Increments the number of the errors that are occurred.
| |
| name | back to summary |
|---|---|
| public String name() | |
| protocol | back to summary |
|---|---|
| public String protocol() | |
| recordConnectTime | back to summary |
|---|---|
| public void recordConnectTime(SocketAddress remoteAddress, Duration time, String status) Implements reactor. Doc from reactor. Records the time that is spent for connecting to the remote address. Relevant only when on the client
| |
| recordDataReceived | back to summary |
|---|---|
| public void recordDataReceived(SocketAddress remoteAddress, 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, long bytes) Implements reactor. Doc from reactor. Records the amount of the data that is sent, in bytes.
| |
| recordResolveAddressTime | back to summary |
|---|---|
| public void recordResolveAddressTime(SocketAddress remoteAddress, Duration time, String status) Implements reactor. Doc from reactor. Records the time that is spent for resolving the remote address. Relevant only when on the client.
| |
| recordServerConnectionClosed | back to summary |
|---|---|
| public void recordServerConnectionClosed(SocketAddress serverAddress) Overrides default reactor. Doc from reactor. Records a just disconnected server connection.
| |
| recordServerConnectionOpened | back to summary |
|---|---|
| public void recordServerConnectionOpened(SocketAddress serverAddress) Overrides default reactor. Doc from reactor. Records a just accepted server connection.
| |
| recordTlsHandshakeTime | back to summary |
|---|---|
| public void recordTlsHandshakeTime(SocketAddress remoteAddress, Duration time, String status) Implements reactor. Doc from reactor. Records the time that is spent for TLS handshake.
| |