vertx / io.vertx.rxjava.micrometer / MetricsService / getMetricsSnapshot

# getMetricsSnapshot

`open fun getMetricsSnapshot(): JsonObject`

Will return the metrics that correspond with the `measured` object, null if no metrics is available.

Return
the map of metrics where the key is the name of the metric (excluding the base name unless for the Vert.x object) and the value is the json data representing that metric

`open fun getMetricsSnapshot(baseName: String): JsonObject`

Will return the metrics that begins with the `baseName`, null if no metrics is available.

### Parameters

`baseName` -

Return
the map of metrics where the key is the name of the metric and the value is the json data representing that metric