vertx / io.vertx.kotlin.core.metrics / metricsOptionsOf

# metricsOptionsOf

`fun metricsOptionsOf(enabled: Boolean? = null): MetricsOptions`

A function providing a DSL for building io.vertx.core.metrics.MetricsOptions objects.

Vert.x metrics base configuration, this class can be extended by provider implementations to configure those specific implementations.

### Parameters

`enabled` - Set whether metrics will be enabled on the Vert.x instance.