vertx / io.vertx.rxjava.micrometer / MetricsService

# MetricsService

`open class MetricsService`

The metrics service mainly allows to return a snapshot of measured objects. This service is derived and adapted from `MetricsService` in the vertx-dropwizard-metrics module. NOTE: This class has been automatically generated from the io.vertx.micrometer.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(measured: Measured): MetricsService` Creates a metric service for a given object.
equals | `open fun equals(other: Any?): Boolean`
getBaseName | `open fun getBaseName(): String`
getDelegate | `open fun getDelegate(): MetricsService`
getMetricsSnapshot | `open fun getMetricsSnapshot(): JsonObject` Will return the metrics that correspond with the `measured` object, null if no metrics is available. `open fun getMetricsSnapshot(baseName: String): JsonObject` Will return the metrics that begins with the `baseName`, null if no metrics is available.
hashCode | `open fun hashCode(): Int`
metricsNames | `open fun metricsNames(): MutableSet<String>`
newInstance | `open static fun newInstance(arg: MetricsService): MetricsService`
toString | `open fun toString(): String`