vertx / io.vertx.core.spi / VertxMetricsFactory

VertxMetricsFactory

interface VertxMetricsFactory

A factory for the plugable metrics SPI.

Author
Nick Scavelli

Functions

metrics

abstract fun metrics(vertx: Vertx, options: VertxOptions): VertxMetrics

Create a new io.vertx.core.spi.metrics.VertxMetrics object. No specific thread and context can be expected when this method is called.

newOptions

open fun newOptions(): MetricsOptions

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 io.vertx.core.Starter class when creating new options when building a CLI vert.x