vertx / io.vertx.reactivex.ext.dropwizard / MetricsService

# MetricsService

`open class MetricsService`

The metrics service mainly allows to return a snapshot of measured objects. NOTE: This class has been automatically generated from the io.vertx.ext.dropwizard.MetricsService non RX-ified interface using Vert.x codegen.

### Constructors

<init> | `MetricsService(delegate: MetricsService)`

### Properties

__TYPE_ARG | `static val __TYPE_ARG: TypeArg<MetricsService>`

### Functions

create | `open static fun create(vertx: Vertx): MetricsService` Creates a metric service for a given io.vertx.reactivex.core.Vertx instance.
equals | `open fun equals(other: Any?): Boolean`
getBaseName | `open fun getBaseName(measured: Measured): String`
getDelegate | `open fun getDelegate(): MetricsService`
getMetricsSnapshot | `open fun getMetricsSnapshot(measured: Measured): JsonObject` Will return the metrics that correspond with the `measured` object, null if no metrics is available. Note: in the case of scaled servers, the JsonObject returns an aggregation of the metrics as the dropwizard backend reports to a single server. `open fun getMetricsSnapshot(baseName: String): JsonObject` Will return the metrics that begins with the `baseName`, null if no metrics is available. Note: in the case of scaled servers, the JsonObject returns an aggregation of the metrics as the dropwizard backend reports to a single server.
hashCode | `open fun hashCode(): Int`
metricsNames | `open fun metricsNames(): MutableSet<String>`
newInstance | `open static fun newInstance(arg: MetricsService): MetricsService`
toString | `open fun toString(): String`