io.vertx.core.spi.metrics.TCPMetrics Java Examples
The following examples show how to use
io.vertx.core.spi.metrics.TCPMetrics.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: VertxNetClientMetrics.java From vertx-micrometer-metrics with Apache License 2.0 | 4 votes |
TCPMetrics forAddress(String localAddress) { return new Instance(localAddress); }
Example #2
Source File: VertxNetServerMetrics.java From vertx-micrometer-metrics with Apache License 2.0 | 4 votes |
TCPMetrics forAddress(SocketAddress localAddress) { String local = Labels.fromAddress(localAddress); return new Instance(local); }
Example #3
Source File: DefaultVertxMetrics.java From servicecomb-java-chassis with Apache License 2.0 | 4 votes |
@Override public TCPMetrics<?> createNetServerMetrics(NetServerOptions options, SocketAddress localAddress) { DefaultServerEndpointMetric endpointMetric = serverEndpointMetricMap .computeIfAbsent(localAddress.toString(), DefaultServerEndpointMetric::new); return new DefaultTcpServerMetrics(endpointMetric); }
Example #4
Source File: DefaultVertxMetrics.java From servicecomb-java-chassis with Apache License 2.0 | 4 votes |
@Override public TCPMetrics<?> createNetClientMetrics(NetClientOptions options) { return new DefaultTcpClientMetrics(clientEndpointMetricManager); }