io.vertx.core.spi

## Interface VertxMetricsFactory

-     public interface VertxMetricsFactory

  A factory for the plugable metrics SPI.
  Author:
    Nick Scavelli

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `VertxMetrics` | `metrics(Vertx vertx, VertxOptions options)` Create a new `VertxMetrics` object. No specific thread and context can be expected when this method is called.
    `default MetricsOptions` | `newOptions()` Create an empty metrics options.

- - ### Method Detail

    - #### metrics

          VertxMetrics metrics(Vertx vertx,
                               VertxOptions options)

      Create a new `VertxMetrics` object.

      No specific thread and context can be expected when this method is called.
      Parameters:
        `vertx` - the vertx instance
        `options` - the metrics configuration option
      Returns:
        the metrics implementation

    - #### newOptions

          default MetricsOptions newOptions()

      Create an empty metrics options. Providers can override this method to provide a custom metrics options subclass that exposes custom configuration. It is used by the `Starter` class when creating new options when building a CLI vert.x
      Returns:
        new metrics options

Copyright © 2016. All rights reserved.