Class VertxPoolMetrics

  • All Implemented Interfaces:
    io.vertx.core.spi.metrics.Metrics, io.vertx.core.spi.metrics.PoolMetrics<EventTiming>

    public class VertxPoolMetrics
    extends Object
    implements io.vertx.core.spi.metrics.PoolMetrics<EventTiming>
    Adaptation of the Vert.x Pool Metrics implementation for Quarkus Micrometer.
    • Constructor Detail

      • VertxPoolMetrics

        VertxPoolMetrics​(io.micrometer.core.instrument.MeterRegistry registry,
                         String poolType,
                         String poolName,
                         int maxPoolSize)
    • Method Detail

      • submitted

        public EventTiming submitted()
        Specified by:
        submitted in interface io.vertx.core.spi.metrics.PoolMetrics<EventTiming>
      • rejected

        public void rejected​(EventTiming submitted)
        Specified by:
        rejected in interface io.vertx.core.spi.metrics.PoolMetrics<EventTiming>
      • end

        public void end​(EventTiming timer,
                        boolean succeeded)
        Specified by:
        end in interface io.vertx.core.spi.metrics.PoolMetrics<EventTiming>
      • close

        public void close()
        Specified by:
        close in interface io.vertx.core.spi.metrics.Metrics