ChannelHandler for collecting metrics on protocol level.
This class is based on ChannelMetricsHandler, but it utilizes Micrometer's Observation.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final AttributeKey | |
| pack-priv final MicrometerChannelMetricsRecorder |
| Access | Constructor and Description |
|---|---|
| pack-priv | MicrometerChannelMetricsHandler(MicrometerChannelMetricsRecorder recorder, SocketAddress remoteAddress, boolean onServer)
|
| Modifier and Type | Method and Description |
|---|---|
| public ChannelHandler | |
| public MicrometerChannelMetricsRecorder | |
| public ChannelHandler | tlsMetricsHandler()
Implements abstract reactor. |
| CONTEXT_VIEW | back to summary |
|---|---|
| pack-priv static final AttributeKey<ContextView> CONTEXT_VIEW | |
| recorder | back to summary |
|---|---|
| pack-priv final MicrometerChannelMetricsRecorder recorder | |
| MicrometerChannelMetricsHandler | back to summary |
|---|---|
| pack-priv MicrometerChannelMetricsHandler(MicrometerChannelMetricsRecorder recorder, SocketAddress remoteAddress, boolean onServer) | |
| connectMetricsHandler | back to summary |
|---|---|
| public ChannelHandler connectMetricsHandler() Implements abstract reactor.
| |
| recorder | back to summary |
|---|---|
| public MicrometerChannelMetricsRecorder recorder() Implements abstract reactor.
| |
| tlsMetricsHandler | back to summary |
|---|---|
| public ChannelHandler tlsMetricsHandler() Implements abstract reactor.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv final MicrometerChannelMetricsRecorder | |
| pack-priv String | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| CONTEXTUAL_NAME | back to summary |
|---|---|
| pack-priv static final String CONTEXTUAL_NAME | |
| netPeerName | back to summary |
|---|---|
| pack-priv String netPeerName | |
| netPeerPort | back to summary |
|---|---|
| pack-priv String netPeerPort | |
| recorder | back to summary |
|---|---|
| pack-priv final MicrometerChannelMetricsRecorder recorder | |
| status | back to summary |
|---|---|
| pack-priv String status | |
| TYPE | back to summary |
|---|---|
| pack-priv static final String TYPE | |
| ConnectMetricsHandler | back to summary |
|---|---|
| pack-priv ConnectMetricsHandler(MicrometerChannelMetricsRecorder recorder) | |
| connect | back to summary |
|---|---|
| public Future Overrides default io. Doc from io. Called once a connect operation is made.
| |
| get | back to summary |
|---|---|
| public Observation. Implements java. Doc from java. Gets a result.
| |
| getContextualName | back to summary |
|---|---|
| public String getContextualName() Overrides io. Implements io. Doc from io. Returns the contextual name. The name that makes sense within the current context (e.g. name derived from HTTP request). | |
| getHighCardinalityKeyValues | back to summary |
|---|---|
| public KeyValues getHighCardinalityKeyValues() Overrides io. Implements io. Doc from io. Returns high cardinality key values. | |
| getLowCardinalityKeyValues | back to summary |
|---|---|
| public KeyValues getLowCardinalityKeyValues() Overrides io. Implements io. Doc from io. Returns low cardinality key values. | |
| getTimer | back to summary |
|---|---|
| public io. Implements reactor. Doc from reactor. Obtain the timer associated to this reactor netty context.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv Observation | |
| pack-priv final MicrometerChannelMetricsRecorder | |
| pack-priv String | |
| pack-priv final String | |
| pack-priv static final String | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| CONTEXTUAL_NAME | back to summary |
|---|---|
| pack-priv static final String CONTEXTUAL_NAME | |
| netPeerName | back to summary |
|---|---|
| pack-priv String netPeerName | |
| netPeerPort | back to summary |
|---|---|
| pack-priv String netPeerPort | |
| observation | back to summary |
|---|---|
| pack-priv Observation observation | |
| recorder | back to summary |
|---|---|
| pack-priv final MicrometerChannelMetricsRecorder recorder | |
| status | back to summary |
|---|---|
| pack-priv String status | |
| type | back to summary |
|---|---|
| pack-priv final String type | |
| TYPE_CLIENT | back to summary |
|---|---|
| pack-priv static final String TYPE_CLIENT | |
| TYPE_SERVER | back to summary |
|---|---|
| pack-priv static final String TYPE_SERVER | |
| TlsMetricsHandler | back to summary |
|---|---|
| pack-priv TlsMetricsHandler(MicrometerChannelMetricsRecorder recorder, boolean onServer) | |
| channelActive | back to summary |
|---|---|
| public void channelActive(ChannelHandlerContext ctx) Overrides default io. Doc from io. The
| |
| get | back to summary |
|---|---|
| public Observation. Implements java. Doc from java. Gets a result.
| |
| getContextualName | back to summary |
|---|---|
| public String getContextualName() Overrides io. Implements io. Doc from io. Returns the contextual name. The name that makes sense within the current context (e.g. name derived from HTTP request). | |
| getHighCardinalityKeyValues | back to summary |
|---|---|
| public KeyValues getHighCardinalityKeyValues() Overrides io. Implements io. Doc from io. Returns high cardinality key values. | |
| getLowCardinalityKeyValues | back to summary |
|---|---|
| public KeyValues getLowCardinalityKeyValues() Overrides io. Implements io. Doc from io. Returns low cardinality key values. | |
| getTimer | back to summary |
|---|---|
| public io. Implements reactor. Doc from reactor. Obtain the timer associated to this reactor netty context.
| |