Package io.vertx.core.spi.metrics

## Interface Metrics

- All Known Subinterfaces:
    `ClientMetrics<M,​Req,​Resp>`, `DatagramSocketMetrics`, `EventBusMetrics<H>`, `HttpClientMetrics<R,​W,​S>`, `HttpServerMetrics<R,​W,​S>`, `NetworkMetrics<S>`, `PoolMetrics<Q,​T>`, `TCPMetrics<S>`, `VertxMetrics`

      public interface Metrics

  The metrics interface is implemented by metrics providers that wants to provide monitoring of Vert.x core.
  Author:
    Nick Scavelli

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static boolean` | `METRICS_ENABLED` |

  - ### Method Summary

    All Methods Instance Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `default void` | `close()` | Used to close out the metrics, for example when an http server/client has been closed.

- - ### Field Detail

    - #### METRICS_ENABLED

          static final boolean METRICS_ENABLED

  - ### Method Detail

    - #### close

          default void close()

      Used to close out the metrics, for example when an http server/client has been closed.

      No specific thread and context can be expected when this method is called.