io.vertx.core.spi.metrics

## Interface MetricsProvider

- All Superinterfaces:
    Measured

      public interface MetricsProvider
      extends Measured

  Metrics provider is the base SPI used by metrics implementations to retrieve a `Metrics` object.

  It is meant to be implemented by `Measured` implementations but not exposed directly.
  Author:
    Julien Viet

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Metrics` | `getMetrics()` Returns the metrics implementation.

    - ### Methods inherited from interface io.vertx.core.metrics.Measured

      `isMetricsEnabled`

- - ### Method Detail

    - #### getMetrics

          Metrics getMetrics()

      Returns the metrics implementation.
      Returns:
        the metrics

Copyright © 2025 Eclipse. All rights reserved.